Compare commits

...

27 Commits
patron ... nreq

Author SHA1 Message Date
Semisol
faefbcd68e Merge branch 'master' into nreq 2023-11-16 20:48:57 +01:00
fiatjaf
37f6cbb775 remove all NIP authors. 2023-11-16 10:24:53 -03:00
fiatjaf
2e1c4b0c69 NIP-19: add nreq. 2023-11-15 21:12:08 -03:00
fiatjaf_
f1433e0f0c add relay sets kind to nip-51 (#786) 2023-11-14 18:38:48 -03:00
Pablo Fernandez
77b9973cb3 Merge pull request #867 from gazhayes/patch-3
Problem: nostrocket problem tracker event kind not included in list
2023-11-14 10:09:43 +02:00
gsovereignty
b06375d164 Merge branch 'master' into patch-3 2023-11-14 09:13:20 +08:00
Jon Staab
b6c7a25510 Clarify NIP 32 2023-11-12 13:46:01 -03:00
Pablo Fernandez
8e2f3aa60a Merge pull request #860 from starbackr-dev/patch-2
Adding encryption NIP-90 Data Vending Machine
2023-11-11 18:27:13 +02:00
fiatjaf
cbdca1e964 nip-84: remove all the "range" stuff, we can add later if the need arises. 2023-11-10 13:16:35 -03:00
fiatjaf
b303240a2b format kinds table. 2023-11-10 13:11:11 -03:00
Asai Toshiya
e7777c3031 Add DVM kinds to list 2023-11-10 13:10:28 -03:00
Asai Toshiya
2e652f03d5 Update TOC 2023-11-10 12:31:45 -03:00
Jon Staab
c945d8bd9d Remove label annotations from NIP 32 2023-11-10 07:02:43 -03:00
fiatjaf
05cad663f8 improve nip-24.
closes https://github.com/nostr-protocol/nips/pull/828
2023-11-10 07:00:41 -03:00
Vitor Pamplona
4beaae1084 Merge pull request #871 from akiomik/patch-3
Fix typo in 65.md
2023-11-09 16:03:18 -05:00
Akiomi Kamakura
2392dfc9a8 Fix typo in 65.md 2023-11-10 05:45:29 +09:00
gsovereignty
c5930de107 Problem: nostrocket problem tracker event kind not included in list
Mostly just letting people know that this event kind is now in use by Nostrocket.
2023-11-08 13:46:50 +08:00
fiatjaf
d85f9269ca 84: fix markers example. 2023-11-07 09:19:11 -03:00
Pablo Fernandez
b128ad98ad NIP-84: Highlights (#501)
Co-authored-by: Alejandro <alejandro@strike.me>
Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
Co-authored-by: fiatjaf_ <fiatjaf@gmail.com>
2023-11-07 09:16:43 -03:00
starbuilder
7e3b7cd90c Update 90.md
updated based on comments
2023-11-06 17:22:50 -05:00
starbuilder
56dbb7722c Update 90.md
changed and added [`encrypted`] to both 5xxx and 6xxx events
2023-11-06 16:31:37 -05:00
fiatjaf
108b7f16f9 clarify that the OK array must have 4 items. 2023-11-06 13:18:11 -03:00
jiftechnify
6b566e897c make the usage of punctuations uniform 2023-11-06 13:16:42 -03:00
jiftechnify
749c9b0a2d clearly define the term "READ/WRITE relay" 2023-11-06 13:16:42 -03:00
starbuilder
c2020929fb Update 90.md
updated based on Pablo's feedback.
2023-11-06 10:56:24 -05:00
starbuilder
9f4a4cf9d2 Update 90.md
changed `prompt` to 'text`
2023-10-15 14:59:13 -04:00
starbuilder
142cb8d655 Update 90.md
Added optional Encryption to params and payload if the user require the input and output to be a secret.
2023-10-15 10:44:07 -04:00
58 changed files with 314 additions and 176 deletions

4
01.md
View File

@@ -4,7 +4,7 @@ NIP-01
Basic protocol flow description Basic protocol flow description
------------------------------- -------------------------------
`draft` `mandatory` `author:fiatjaf` `author:distbit` `author:scsibug` `author:kukks` `author:jb55` `author:semisol` `author:cameri` `author:Giszmo` `draft` `mandatory`
This NIP defines the basic protocol that should be implemented by everybody. New NIPs may add new optional (or mandatory) fields and messages and features to the structures and flows described here. This NIP defines the basic protocol that should be implemented by everybody. New NIPs may add new optional (or mandatory) fields and messages and features to the structures and flows described here.
@@ -150,7 +150,7 @@ Relays can send 4 types of messages, which must also be JSON arrays, according t
This NIP defines no rules for how `NOTICE` messages should be sent or treated. This NIP defines no rules for how `NOTICE` messages should be sent or treated.
- `EVENT` messages MUST be sent only with a subscription ID related to a subscription previously initiated by the client (using the `REQ` message above). - `EVENT` messages MUST be sent only with a subscription ID related to a subscription previously initiated by the client (using the `REQ` message above).
- `OK` messages MUST be sent in response to `EVENT` messages received from clients, they must have the 3rd parameter set to `true` when an event has been accepted by the relay, `false` otherwise. The 4th parameter MAY be empty when the 3rd is `true`, otherwise it MUST be a string containing a machine-readable single-word prefix followed by a `:` and then a human-readable message. The standardized machine-readable prefixes are: `duplicate`, `pow`, `blocked`, `rate-limited`, `invalid`, and `error` for when none of that fits. Some examples: - `OK` messages MUST be sent in response to `EVENT` messages received from clients, they must have the 3rd parameter set to `true` when an event has been accepted by the relay, `false` otherwise. The 4th parameter MUST always be present, but MAY be an empty string when the 3rd is `true`, otherwise it MUST be a string formed by a machine-readable single-word prefix followed by a `:` and then a human-readable message. The standardized machine-readable prefixes are: `duplicate`, `pow`, `blocked`, `rate-limited`, `invalid`, and `error` for when none of that fits. Some examples:
* `["OK", "b1a649ebe8...", true, ""]` * `["OK", "b1a649ebe8...", true, ""]`
* `["OK", "b1a649ebe8...", true, "pow: difficulty 25>=24"]` * `["OK", "b1a649ebe8...", true, "pow: difficulty 25>=24"]`

2
02.md
View File

@@ -4,7 +4,7 @@ NIP-02
Contact List and Petnames Contact List and Petnames
------------------------- -------------------------
`final` `optional` `author:fiatjaf` `author:arcbtc` `final` `optional`
A special event with kind `3`, meaning "contact list" is defined as having a list of `p` tags, one for each of the followed/known profiles one is following. A special event with kind `3`, meaning "contact list" is defined as having a list of `p` tags, one for each of the followed/known profiles one is following.

2
03.md
View File

@@ -4,7 +4,7 @@ NIP-03
OpenTimestamps Attestations for Events OpenTimestamps Attestations for Events
-------------------------------------- --------------------------------------
`draft` `optional` `author:fiatjaf` `author:constant` `draft` `optional`
This NIP defines an event with `kind:1040` that can contain an [OpenTimestamps](https://opentimestamps.org/) proof for any other event: This NIP defines an event with `kind:1040` that can contain an [OpenTimestamps](https://opentimestamps.org/) proof for any other event:

2
04.md
View File

@@ -4,7 +4,7 @@ NIP-04
Encrypted Direct Message Encrypted Direct Message
------------------------ ------------------------
`final` `optional` `author:arcbtc` `final` `optional`
A special event with kind `4`, meaning "encrypted direct message". It is supposed to have the following attributes: A special event with kind `4`, meaning "encrypted direct message". It is supposed to have the following attributes:

2
05.md
View File

@@ -4,7 +4,7 @@ NIP-05
Mapping Nostr keys to DNS-based internet identifiers Mapping Nostr keys to DNS-based internet identifiers
---------------------------------------------------- ----------------------------------------------------
`final` `optional` `author:fiatjaf` `author:mikedilger` `final` `optional`
On events of kind `0` (`metadata`) one can specify the key `"nip05"` with an [internet identifier](https://datatracker.ietf.org/doc/html/rfc5322#section-3.4.1) (an email-like address) as the value. Although there is a link to a very liberal "internet identifier" specification above, NIP-05 assumes the `<local-part>` part will be restricted to the characters `a-z0-9-_.`, case-insensitive. On events of kind `0` (`metadata`) one can specify the key `"nip05"` with an [internet identifier](https://datatracker.ietf.org/doc/html/rfc5322#section-3.4.1) (an email-like address) as the value. Although there is a link to a very liberal "internet identifier" specification above, NIP-05 assumes the `<local-part>` part will be restricted to the characters `a-z0-9-_.`, case-insensitive.

2
06.md
View File

@@ -4,7 +4,7 @@ NIP-06
Basic key derivation from mnemonic seed phrase Basic key derivation from mnemonic seed phrase
---------------------------------------------- ----------------------------------------------
`draft` `optional` `author:fiatjaf` `draft` `optional`
[BIP39](https://bips.xyz/39) is used to generate mnemonic seed words and derive a binary seed from them. [BIP39](https://bips.xyz/39) is used to generate mnemonic seed words and derive a binary seed from them.

2
07.md
View File

@@ -4,7 +4,7 @@ NIP-07
`window.nostr` capability for web browsers `window.nostr` capability for web browsers
------------------------------------------ ------------------------------------------
`draft` `optional` `author:fiatjaf` `draft` `optional`
The `window.nostr` object may be made available by web browsers or extensions and websites or web-apps may make use of it after checking its availability. The `window.nostr` object may be made available by web browsers or extensions and websites or web-apps may make use of it after checking its availability.

2
08.md
View File

@@ -6,7 +6,7 @@ NIP-08
Handling Mentions Handling Mentions
----------------- -----------------
`final` `unrecommended` `optional` `author:fiatjaf` `author:scsibug` `final` `unrecommended` `optional`
This document standardizes the treatment given by clients of inline mentions of other events and pubkeys inside the content of `text_note`s. This document standardizes the treatment given by clients of inline mentions of other events and pubkeys inside the content of `text_note`s.

2
09.md
View File

@@ -4,7 +4,7 @@ NIP-09
Event Deletion Event Deletion
-------------- --------------
`draft` `optional` `author:scsibug` `draft` `optional`
A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted. A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted.

2
10.md
View File

@@ -5,7 +5,7 @@ NIP-10
On "e" and "p" tags in Text Events (kind 1). On "e" and "p" tags in Text Events (kind 1).
-------------------------------------------- --------------------------------------------
`draft` `optional` `author:unclebobmartin` `draft` `optional`
## Abstract ## Abstract
This NIP describes how to use "e" and "p" tags in text events, especially those that are replies to other text events. It helps clients thread the replies into a tree rooted at the original event. This NIP describes how to use "e" and "p" tags in text events, especially those that are replies to other text events. It helps clients thread the replies into a tree rooted at the original event.

2
11.md
View File

@@ -4,7 +4,7 @@ NIP-11
Relay Information Document Relay Information Document
--------------------------- ---------------------------
`draft` `optional` `author:scsibug` `author:doc-hex` `author:cameri` `draft` `optional`
Relays may provide server metadata to clients to inform them of capabilities, administrative contacts, and various server attributes. This is made available as a JSON document over HTTP, on the same URI as the relay's websocket. Relays may provide server metadata to clients to inform them of capabilities, administrative contacts, and various server attributes. This is made available as a JSON document over HTTP, on the same URI as the relay's websocket.

2
12.md
View File

@@ -4,6 +4,6 @@ NIP-12
Generic Tag Queries Generic Tag Queries
------------------- -------------------
`final` `mandatory` `author:scsibug` `author:fiatjaf` `final` `mandatory`
Moved to [NIP-01](01.md). Moved to [NIP-01](01.md).

2
13.md
View File

@@ -4,7 +4,7 @@ NIP-13
Proof of Work Proof of Work
------------- -------------
`draft` `optional` `author:jb55` `author:cameri` `draft` `optional`
This NIP defines a way to generate and interpret Proof of Work for nostr notes. Proof of Work (PoW) is a way to add a proof of computational work to a note. This is a bearer proof that all relays and clients can universally validate with a small amount of code. This proof can be used as a means of spam deterrence. This NIP defines a way to generate and interpret Proof of Work for nostr notes. Proof of Work (PoW) is a way to add a proof of computational work to a note. This is a bearer proof that all relays and clients can universally validate with a small amount of code. This proof can be used as a means of spam deterrence.

2
14.md
View File

@@ -4,7 +4,7 @@ NIP-14
Subject tag in Text events Subject tag in Text events
-------------------------- --------------------------
`draft` `optional` `author:unclebobmartin` `draft` `optional`
This NIP defines the use of the "subject" tag in text (kind: 1) events. This NIP defines the use of the "subject" tag in text (kind: 1) events.
(implemented in more-speech) (implemented in more-speech)

2
15.md
View File

@@ -4,7 +4,7 @@ NIP-15
Nostr Marketplace (for resilient marketplaces) Nostr Marketplace (for resilient marketplaces)
----------------------------------- -----------------------------------
`draft` `optional` `author:fiatjaf` `author:benarc` `author:motorina0` `author:talvasconcelos` `draft` `optional`
> Based on https://github.com/lnbits/Diagon-Alley > Based on https://github.com/lnbits/Diagon-Alley

2
16.md
View File

@@ -4,6 +4,6 @@ NIP-16
Event Treatment Event Treatment
--------------- ---------------
`final` `mandatory` `author:Semisol` `final` `mandatory`
Moved to [NIP-01](01.md). Moved to [NIP-01](01.md).

2
18.md
View File

@@ -4,7 +4,7 @@ NIP-18
Reposts Reposts
------- -------
`draft` `optional` `author:jb55` `author:fiatjaf` `author:arthurfranca` `draft` `optional`
A repost is a `kind 6` event that is used to signal to followers A repost is a `kind 6` event that is used to signal to followers
that a `kind 1` text note is worth reading. that a `kind 1` text note is worth reading.

21
19.md
View File

@@ -4,7 +4,7 @@ NIP-19
bech32-encoded entities bech32-encoded entities
----------------------- -----------------------
`draft` `optional` `author:jb55` `author:fiatjaf` `author:Semisol` `draft` `optional`
This NIP standardizes bech32-formatted strings that can be used to display keys, ids and other information in clients. These formats are not meant to be used anywhere in the core protocol, they are only meant for displaying to users, copy-pasting, sharing, rendering QR codes and inputting data. This NIP standardizes bech32-formatted strings that can be used to display keys, ids and other information in clients. These formats are not meant to be used anywhere in the core protocol, they are only meant for displaying to users, copy-pasting, sharing, rendering QR codes and inputting data.
@@ -33,9 +33,10 @@ For these events, the contents are a binary-encoded list of `TLV` (type-length-v
These are the possible bech32 prefixes with `TLV`: These are the possible bech32 prefixes with `TLV`:
- `nprofile`: a nostr profile - `nprofile`: a nostr profile
- `nevent`: a nostr event - `nevent`: a nostr event pointer
- `nrelay`: a nostr relay - `nrelay`: a nostr relay
- `naddr`: a nostr _replaceable event_ coordinate - `naddr`: a nostr _replaceable event_ coordinate
- `nreq`: a nostr filter
These possible standardized `TLV` types are indicated here: These possible standardized `TLV` types are indicated here:
@@ -46,14 +47,28 @@ These possible standardized `TLV` types are indicated here:
- for `nrelay`, this is the relay URL - for `nrelay`, this is the relay URL
- for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For non-parameterized replaceable events, use an empty string. - for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For non-parameterized replaceable events, use an empty string.
- `1`: `relay` - `1`: `relay`
- for `nprofile`, `nevent` and `naddr`, _optionally_, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii - for `nprofile`, `nevent`, `naddr`, `nreq`, _optionally_, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii
- this may be included multiple times - this may be included multiple times
- `2`: `author` - `2`: `author`
- for `naddr`, the 32 bytes of the pubkey of the event - for `naddr`, the 32 bytes of the pubkey of the event
- for `nevent`, _optionally_, the 32 bytes of the pubkey of the event - for `nevent`, _optionally_, the 32 bytes of the pubkey of the event
- for `nreq`, _optionally_, 32 bytes of one entry in the `"authors"` field, can be specified multiple times
- `3`: `kind` - `3`: `kind`
- for `naddr`, the 32-bit unsigned integer of the kind, big-endian - for `naddr`, the 32-bit unsigned integer of the kind, big-endian
- for `nevent`, _optionally_, the 32-bit unsigned integer of the kind, big-endian - for `nevent`, _optionally_, the 32-bit unsigned integer of the kind, big-endian
- for `nreq`, _optionally_, 32-bit unsigned integer representing one entry in the `"kinds"` field, can be specified multiple times
- `4`: `id`
- for `nreq`, _optionally_, 32 bytes of one entry in the `"authors"` field, can be specified multiple times
- `5`: `tag`
- for `nreq`, _optionally_, the UTF-8 encoded single-letter of the tag to be searched (the `*` in a `"#*"` field) followed by one entry in this `#*` field, can be specified multiple times
- `6`: `limit`
- for `nreq`, _optionally_, 32-bit unsigned integer representing the `"limit"` field
- `7`: `since`
- for `nreq`, _optionally_, 32-bit unsigned integer representing the `"since"` field
- `8`: `until`
- for `nreq`, _optionally_, 32-bit unsigned integer representing the `"until"` field
- `9`: `search`
- for `nreq`, _optionally_, the UTF-8 encoded string of the `"search"` field
## Examples ## Examples

2
20.md
View File

@@ -4,6 +4,6 @@ NIP-20
Command Results Command Results
--------------- ---------------
`final` `mandatory` `author:jb55` `final` `mandatory`
Moved to [NIP-01](01.md). Moved to [NIP-01](01.md).

2
21.md
View File

@@ -4,7 +4,7 @@ NIP-21
`nostr:` URI scheme `nostr:` URI scheme
------------------- -------------------
`draft` `optional` `author:fiatjaf` `draft` `optional`
This NIP standardizes the usage of a common URI scheme for maximum interoperability and openness in the network. This NIP standardizes the usage of a common URI scheme for maximum interoperability and openness in the network.

2
22.md
View File

@@ -4,7 +4,7 @@ NIP-22
Event `created_at` Limits Event `created_at` Limits
------------------------- -------------------------
`draft` `optional` `author:jeffthibault` `author:Giszmo` `draft` `optional`
Relays may define both upper and lower limits within which they will consider an event's `created_at` to be acceptable. Both the upper and lower limits MUST be unix timestamps in seconds as defined in [NIP-01](01.md). Relays may define both upper and lower limits within which they will consider an event's `created_at` to be acceptable. Both the upper and lower limits MUST be unix timestamps in seconds as defined in [NIP-01](01.md).

2
23.md
View File

@@ -4,7 +4,7 @@ NIP-23
Long-form Content Long-form Content
----------------- -----------------
`draft` `optional` `author:fiatjaf` `draft` `optional`
This NIP defines `kind:30023` (a _parameterized replaceable event_) for long-form text content, generally referred to as "articles" or "blog posts". `kind:30024` has the same structure as `kind:30023` and is used to save long form drafts. This NIP defines `kind:30023` (a _parameterized replaceable event_) for long-form text content, generally referred to as "articles" or "blog posts". `kind:30024` has the same structure as `kind:30023` and is used to save long form drafts.

4
24.md
View File

@@ -4,7 +4,7 @@ NIP-24
Extra metadata fields and tags Extra metadata fields and tags
------------------------------ ------------------------------
`draft` `optional` `author:fiatjaf` `draft` `optional`
This NIP defines extra optional fields added to events. This NIP defines extra optional fields added to events.
@@ -13,7 +13,7 @@ kind 0
These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events: These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events:
- `display_name`: a bigger name with richer characters than `name`. Implementations should fallback to `name` when this is not available. - `display_name`: an alternative, bigger name with richer characters than `name`. `name` should always be set regardless of the presence of `display_name` in the metadata.
- `website`: a web URL related in any way to the event author. - `website`: a web URL related in any way to the event author.
- `banner`: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen. - `banner`: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen.

2
25.md
View File

@@ -5,7 +5,7 @@ NIP-25
Reactions Reactions
--------- ---------
`draft` `optional` `author:jb55` `draft` `optional`
A reaction is a `kind 7` event that is used to react to other events. A reaction is a `kind 7` event that is used to react to other events.

2
26.md
View File

@@ -4,7 +4,7 @@ NIP-26
Delegated Event Signing Delegated Event Signing
----- -----
`draft` `optional` `author:markharding` `author:minds` `draft` `optional`
This NIP defines how events can be delegated so that they can be signed by other keypairs. This NIP defines how events can be delegated so that they can be signed by other keypairs.

2
27.md
View File

@@ -4,7 +4,7 @@ NIP-27
Text Note References Text Note References
-------------------- --------------------
`draft` `optional` `author:arthurfranca` `author:hodlbod` `author:fiatjaf` `draft` `optional`
This document standardizes the treatment given by clients of inline references of other events and profiles inside the `.content` of any event that has readable text in its `.content` (such as kinds 1 and 30023). This document standardizes the treatment given by clients of inline references of other events and profiles inside the `.content` of any event that has readable text in its `.content` (such as kinds 1 and 30023).

2
28.md
View File

@@ -5,7 +5,7 @@ NIP-28
Public Chat Public Chat
----------- -----------
`draft` `optional` `author:ChristopherDavid` `author:fiatjaf` `author:jb55` `author:Cameri` `draft` `optional`
This NIP defines new event kinds for public chat channels, channel messages, and basic client-side moderation. This NIP defines new event kinds for public chat channels, channel messages, and basic client-side moderation.

2
30.md
View File

@@ -4,7 +4,7 @@ NIP-30
Custom Emoji Custom Emoji
------------ ------------
`draft` `optional` `author:alexgleason` `draft` `optional`
Custom emoji may be added to **kind 0** and **kind 1** events by including one or more `"emoji"` tags, in the form: Custom emoji may be added to **kind 0** and **kind 1** events by including one or more `"emoji"` tags, in the form:

2
31.md
View File

@@ -4,7 +4,7 @@ NIP-31
Dealing with unknown event kinds Dealing with unknown event kinds
-------------------------------- --------------------------------
`draft` `optional` `author:pablof7z` `author:fiatjaf` `draft` `optional`
When creating a new custom event kind that is part of a custom protocol and isn't meant to be read as text (like `kind:1`), clients should use an `alt` tag to write a short human-readable plaintext summary of what that event is about. When creating a new custom event kind that is part of a custom protocol and isn't meant to be read as text (like `kind:1`), clients should use an `alt` tag to write a short human-readable plaintext summary of what that event is about.

124
32.md
View File

@@ -4,9 +4,32 @@ NIP-32
Labeling Labeling
--------- ---------
`draft` `optional` `author:staab` `author:gruruya` `author:s3x-jay` `draft` `optional`
A label is a `kind 1985` event that is used to label other entities. This supports a number of use cases, from distributed moderation and content recommendations to reviews and ratings. A label is a `kind 1985` event that is used to label other entities. This supports a number of use cases,
including distributed moderation, collection management, license assignment, and content classification.
This NIP introduces two new tags:
- `L` denotes a label namespace
- `l` denotes a label
Label Namespace Tag
----
An `L` tag can be any string, but publishers SHOULD ensure they are unambiguous by using a well-defined namespace
(such as an ISO standard) or reverse domain name notation.
`L` tags are REQUIRED in order to support searching by namespace rather than by a specific tag. The special `ugc`
("user generated content") namespace MAY be used when the label content is provided by an end user.
`L` tags starting with `#` indicate that the label target should be associated with the label's value.
This is a way of attaching standard nostr tags to events, pubkeys, relays, urls, etc.
Label Tag
----
An `l` tag's value can be any string. `l` tags MUST include a `mark` matching an `L` tag value in the same event.
Label Target Label Target
---- ----
@@ -16,47 +39,18 @@ labeled: `e`, `p`, `a`, `r`, or `t` tags. This allows for labeling of events, pe
or topics respectively. As with NIP-01, a relay hint SHOULD be included when using `e` and or topics respectively. As with NIP-01, a relay hint SHOULD be included when using `e` and
`p` tags. `p` tags.
Label Tag
----
This NIP introduces a new tag `l` which denotes a label, and a new `L` tag which denotes a label namespace.
A label MUST include a mark matching an `L` tag. `L` tags refer to a tag type within nostr, or a nomenclature
external to nostr defined either formally or by convention. Any string can be a namespace, but publishers SHOULD
ensure they are unambiguous by using a well-defined namespace (such as an ISO standard) or reverse domain name notation.
Namespaces starting with `#` indicate that the label target should be associated with the label's value.
This is a way of attaching standard nostr tags to events, pubkeys, relays, urls, etc.
Some examples:
- `["l", "footstr", "#t"]` - the publisher thinks the given entity should have the `footstr` topic applied.
- `["l", "<pubkey>", "#p"]` - the publisher thinks the given entity is related to `<pubkey>`
- `["l", "IT-MI", "ISO-3166-2"]` - Milano, Italy using ISO 3166-2.
- `["l", "VI-hum", "com.example.ontology"]` - Violence toward a human being as defined by ontology.example.com.
`L` tags containing the label namespaces MUST be included in order to support searching by
namespace rather than by a specific tag. The special `ugc` ("user generated content") namespace
MAY be used when the label content is provided by an end user.
`l` and `L` tags MAY be added to other event kinds to support self-reporting. For events
with a kind other than 1985, labels refer to the event itself.
Label Annotations
-----
A label tag MAY include a 4th positional element detailing extra metadata about the label in question. This string
should be a json-encoded object. Any key MAY be used, but the following are recommended:
- `quality` may have a value of 0 to 1. This allows for an absolute, granular scale that can be represented in any way (5 stars, color scale, etc).
- `confidence` may have a value of 0 to 1. This indicates the certainty which the author has about their rating.
- `context` may be an array of urls (including NIP-21 urls) indicating other context that should be considered when interpreting labels.
Content Content
------- -------
Labels should be short, meaningful strings. Longer discussions, such as for a review, or an Labels should be short, meaningful strings. Longer discussions, such as for a review, or an
explanation of why something was labeled the way it was, should go in the event's `content` field. explanation of why something was labeled the way it was, should go in the event's `content` field.
Self-Reporting
-------
`l` and `L` tags MAY be added to other event kinds to support self-reporting. For events
with a kind other than 1985, labels refer to the event itself.
Example events Example events
-------------- --------------
@@ -70,38 +64,61 @@ A suggestion that multiple pubkeys be associated with the `permies` topic.
["l", "permies", "#t"], ["l", "permies", "#t"],
["p", <pubkey1>, <relay_url>], ["p", <pubkey1>, <relay_url>],
["p", <pubkey2>, <relay_url>] ["p", <pubkey2>, <relay_url>]
], ]
"content": "",
...
} }
``` ```
A review of a relay. A report flagging violence toward a human being as defined by ontology.example.com.
```json ```json
{ {
"kind": 1985, "kind": 1985,
"tags": [ "tags": [
["L", "com.example.ontology"], ["L", "com.example.ontology"],
["l", "relay/review", "com.example.ontology", "{\"quality\": 0.1}"], ["l", "VI-hum", "com.example.ontology"],
["r", <relay_url>] ["p", <pubkey1>, <relay_url>],
], ["p", <pubkey2>, <relay_url>]
"content": "This relay is full of mean people.", ]
...
} }
``` ```
Publishers can self-label by adding `l` tags to their own non-1985 events. A moderation suggestion for a chat event.
```json
{
"kind": 1985,
"tags": [
["L", "nip28.moderation"],
["l", "approve", "nip28.moderation"],
["e", <kind40_event_id>, <relay_url>]
],
}
```
Assignment of a license to an event.
```json
{
"kind": 1985,
"tags": [
["L", "license"],
["l", "MIT", "license"],
["e", <event_id>, <relay_url>]
],
}
```
Publishers can self-label by adding `l` tags to their own non-1985 events. In this case, the kind 1 event's author
is labeling their note as being related to Milan, Italy using ISO 3166-2.
```json ```json
{ {
"kind": 1, "kind": 1,
"tags": [ "tags": [
["L", "com.example.ontology"], ["L", "ISO-3166-2"],
["l", "IL-frd", "com.example.ontology"] ["l", "IT-MI", "ISO-3166-2"]
], ],
"content": "Send me 100 sats and I'll send you 200 back", "content": "It's beautiful here in Milan!",
...
} }
``` ```
@@ -124,3 +141,8 @@ Vocabularies MAY choose to fully qualify all labels within a namespace (for exam
formal vocabularies that should not be confused with another namespace when querying formal vocabularies that should not be confused with another namespace when querying
without an `L` tag. For these vocabularies, all labels SHOULD include the namespace without an `L` tag. For these vocabularies, all labels SHOULD include the namespace
(rather than mixing qualified and unqualified labels). (rather than mixing qualified and unqualified labels).
A good heuristic for whether a use case fits this NIP is whether labels would ever be unique.
For example, many events might be labeled with a particular place, topic, or pubkey, but labels
with specific values like "John Doe" or "3.18743" are not labels, they are values, and should
be handled in some other way.

2
33.md
View File

@@ -4,6 +4,6 @@ NIP-33
Parameterized Replaceable Events Parameterized Replaceable Events
-------------------------------- --------------------------------
`final` `mandatory` `author:Semisol` `author:Kukks` `author:Cameri` `author:Giszmo` `final` `mandatory`
Moved to [NIP-01](01.md). Moved to [NIP-01](01.md).

2
36.md
View File

@@ -4,7 +4,7 @@ NIP-36
Sensitive Content / Content Warning Sensitive Content / Content Warning
----------------------------------- -----------------------------------
`draft` `optional` `author:fernandolguevara` `draft` `optional`
The `content-warning` tag enables users to specify if the event's content needs to be approved by readers to be shown. The `content-warning` tag enables users to specify if the event's content needs to be approved by readers to be shown.
Clients can hide the content until the user acts on it. Clients can hide the content until the user acts on it.

2
38.md
View File

@@ -5,7 +5,7 @@ NIP-38
User Statuses User Statuses
-------------- --------------
`draft` `optional` `author:jb55` `draft` `optional`
## Abstract ## Abstract

2
39.md
View File

@@ -4,7 +4,7 @@ NIP-39
External Identities in Profiles External Identities in Profiles
------------------------------- -------------------------------
`draft` `optional` `author:pseudozach` `author:Semisol` `draft` `optional`
## Abstract ## Abstract

2
40.md
View File

@@ -4,7 +4,7 @@ NIP-40
Expiration Timestamp Expiration Timestamp
----------------------------------- -----------------------------------
`draft` `optional` `author:0xtlt` `draft` `optional`
The `expiration` tag enables users to specify a unix timestamp at which the message SHOULD be considered expired (by relays and clients) and SHOULD be deleted by relays. The `expiration` tag enables users to specify a unix timestamp at which the message SHOULD be considered expired (by relays and clients) and SHOULD be deleted by relays.

2
42.md
View File

@@ -4,7 +4,7 @@ NIP-42
Authentication of clients to relays Authentication of clients to relays
----------------------------------- -----------------------------------
`draft` `optional` `author:Semisol` `author:fiatjaf` `draft` `optional`
This NIP defines a way for clients to authenticate to relays by signing an ephemeral event. This NIP defines a way for clients to authenticate to relays by signing an ephemeral event.

2
45.md
View File

@@ -4,7 +4,7 @@ NIP-45
Event Counts Event Counts
-------------- --------------
`draft` `optional` `author:staab` `draft` `optional`
Relays may support the verb `COUNT`, which provides a mechanism for obtaining event counts. Relays may support the verb `COUNT`, which provides a mechanism for obtaining event counts.

2
46.md
View File

@@ -4,7 +4,7 @@ NIP-46
Nostr Connect Nostr Connect
------------------------ ------------------------
`draft` `optional` `author:tiero` `author:giowe` `author:vforvalerio87` `draft` `optional`
## Rationale ## Rationale

2
47.md
View File

@@ -4,7 +4,7 @@ NIP-47
Nostr Wallet Connect Nostr Wallet Connect
-------------------- --------------------
`draft` `optional` `author:kiwiidb` `author:bumi` `author:semisol` `author:vitorpamplona` `draft` `optional`
## Rationale ## Rationale

2
48.md
View File

@@ -4,7 +4,7 @@ NIP-48
Proxy Tags Proxy Tags
---------- ----------
`draft` `optional` `author:alexgleason` `draft` `optional`
Nostr events bridged from other protocols such as ActivityPub can link back to the source object by including a `"proxy"` tag, in the form: Nostr events bridged from other protocols such as ActivityPub can link back to the source object by including a `"proxy"` tag, in the form:

2
50.md
View File

@@ -4,7 +4,7 @@ NIP-50
Search Capability Search Capability
----------------- -----------------
`draft` `optional` `author:brugeman` `author:mikedilger` `author:fiatjaf` `draft` `optional`
## Abstract ## Abstract

7
51.md
View File

@@ -4,7 +4,7 @@ NIP-51
Lists Lists
----- -----
`draft` `optional` `author:fiatjaf` `author:arcbtc` `author:monlovesmango` `author:eskema` `author:gzuuus` `draft` `optional`
A "list" event is defined as having a list of public and/or private tags. Public tags will be listed in the event `tags`. Private tags will be encrypted in the event `content`. Encryption for private tags will use [NIP-04 - Encrypted Direct Message](04.md) encryption, using the list author's private and public key for the shared secret. A distinct event kind should be used for each list type created. A "list" event is defined as having a list of public and/or private tags. Public tags will be listed in the event `tags`. Private tags will be encrypted in the event `content`. Encryption for private tags will use [NIP-04 - Encrypted Direct Message](04.md) encryption, using the list author's private and public key for the shared secret. A distinct event kind should be used for each list type created.
@@ -129,6 +129,7 @@ Then the user would create a 'Categorized Bookmarks' list event like below:
| 10001 | Pin | | 10001 | Pin |
| 30000 | Categorized People | | 30000 | Categorized People |
| 30001 | Categorized Bookmarks | | 30001 | Categorized Bookmarks |
| 30002 | Categorized Relay Sets |
### Mute List ### Mute List
@@ -146,3 +147,7 @@ An event with kind `30000` is defined as a parameterized replaceable list event
### Categorized Bookmarks List ### Categorized Bookmarks List
An event of kind `30001` is defined as a parameterized replaceable list event for categorizing bookmarks. The 'd' parameter for this event holds the category name of the list. The bookmark lists may contain metadata tags such as 'title', 'image', 'summary' as defined in [NIP-23 - Long-form Content](23.md). Any standardized tag can be included in a Categorized Bookmark List. An event of kind `30001` is defined as a parameterized replaceable list event for categorizing bookmarks. The 'd' parameter for this event holds the category name of the list. The bookmark lists may contain metadata tags such as 'title', 'image', 'summary' as defined in [NIP-23 - Long-form Content](23.md). Any standardized tag can be included in a Categorized Bookmark List.
### Categorized Relay Set
An event of kind `30002` is defined as a parameterized replaceable list event for categorizing relays. The 'd' parameter for this event holds the category name of the list. The relays lists may contain metadata tags such as 'title', 'image', 'summary' as defined in [NIP-23 - Long-form Content](23.md). These sets can be used by clients in order to determine which relays to query in different scenarios.

2
52.md
View File

@@ -4,7 +4,7 @@ NIP-52
Calendar Events Calendar Events
--------------- ---------------
`draft` `optional` `author:tyiu` `draft` `optional`
This specification defines calendar events representing an occurrence at a specific moment or between moments. These calendar events are _parameterized replaceable_ and deletable per [NIP-09](09.md). This specification defines calendar events representing an occurrence at a specific moment or between moments. These calendar events are _parameterized replaceable_ and deletable per [NIP-09](09.md).

2
53.md
View File

@@ -4,7 +4,7 @@ NIP-53
Live Activities Live Activities
--------------- ---------------
`draft` `optional` `author:vitorpamplona` `author:v0l` `draft` `optional`
## Abstract ## Abstract

2
56.md
View File

@@ -5,7 +5,7 @@ NIP-56
Reporting Reporting
--------- ---------
`draft` `optional` `author:jb55` `draft` `optional`
A report is a `kind 1984` note that is used to report other notes for spam, A report is a `kind 1984` note that is used to report other notes for spam,
illegal and explicit content. illegal and explicit content.

2
57.md
View File

@@ -4,7 +4,7 @@ NIP-57
Lightning Zaps Lightning Zaps
-------------- --------------
`draft` `optional` `author:jb55` `author:kieran` `draft` `optional`
This NIP defines two new event types for recording lightning payments between users. `9734` is a `zap request`, representing a payer's request to a recipient's lightning wallet for an invoice. `9735` is a `zap receipt`, representing the confirmation by the recipient's lightning wallet that the invoice issued in response to a `zap request` has been paid. This NIP defines two new event types for recording lightning payments between users. `9734` is a `zap request`, representing a payer's request to a recipient's lightning wallet for an invoice. `9735` is a `zap receipt`, representing the confirmation by the recipient's lightning wallet that the invoice issued in response to a `zap request` has been paid.

2
58.md
View File

@@ -4,7 +4,7 @@ NIP-58
Badges Badges
------ ------
`draft` `optional` `author:cameri` `draft` `optional`
Three special events are used to define, award and display badges in Three special events are used to define, award and display badges in
user profiles: user profiles:

17
65.md
View File

@@ -4,11 +4,11 @@ NIP-65
Relay List Metadata Relay List Metadata
------------------- -------------------
`draft` `optional` `author:mikedilger` `author:vitorpamplona` `draft` `optional`
Defines a replaceable event using `kind:10002` to advertise preferred relays for discovering a user's content and receiving fresh content from others. Defines a replaceable event using `kind:10002` to advertise preferred relays for discovering a user's content and receiving fresh content from others.
The event MUST include a list of `r` tags with relay URIs and a `read` or `write` marker. If the marker is omitted, the relay is used for both purposes. The event MUST include a list of `r` tags with relay URIs and a `read` or `write` marker. Relays marked as `read` / `write` are called READ / WRITE relays, respectively. If the marker is omitted, the relay is used for both purposes.
The `.content` is not used. The `.content` is not used.
@@ -23,26 +23,27 @@ The `.content` is not used.
], ],
"content": "", "content": "",
...other fields ...other fields
}
``` ```
This NIP doesn't fully replace relay lists that are designed to configure a client's usage of relays (such as `kind:3` style relay lists). Clients MAY use other relay lists in situations where a `kind:10002` relay list cannot be found. This NIP doesn't fully replace relay lists that are designed to configure a client's usage of relays (such as `kind:3` style relay lists). Clients MAY use other relay lists in situations where a `kind:10002` relay list cannot be found.
## When to Use Read and Write ## When to Use Read and Write Relays
When seeking events **from** a user, Clients SHOULD use the WRITE relays of the user's `kind:10002` When seeking events **from** a user, Clients SHOULD use the WRITE relays of the user's `kind:10002`.
When seeking events **about** a user, where the user was tagged, Clients SHOULD use the READ relays of the user's `kind:10002` When seeking events **about** a user, where the user was tagged, Clients SHOULD use the READ relays of the user's `kind:10002`.
When broadcasting an event, Clients SHOULD: When broadcasting an event, Clients SHOULD:
- Broadcast the event to the WRITE relays of the author - Broadcast the event to the WRITE relays of the author
- Broadcast the event all READ relays of each tagged user. - Broadcast the event all READ relays of each tagged user
## Motivation ## Motivation
The old model of using a fixed relay list per user centralizes in large relay operators: The old model of using a fixed relay list per user centralizes in large relay operators:
- Most users submit their posts to the same highly popular relays, aiming to achieve greater visibility among a broader audience. - Most users submit their posts to the same highly popular relays, aiming to achieve greater visibility among a broader audience
- Many users are pulling events from a large number of relays in order to get more data at the expense of duplication - Many users are pulling events from a large number of relays in order to get more data at the expense of duplication
- Events are being copied between relays, oftentimes to many different relays - Events are being copied between relays, oftentimes to many different relays
@@ -52,7 +53,7 @@ This NIP allows Clients to connect directly with the most up-to-date relay set f
1. Clients SHOULD guide users to keep `kind:10002` lists small (2-4 relays). 1. Clients SHOULD guide users to keep `kind:10002` lists small (2-4 relays).
2. Clients SHOULD spread an author's `kind:10002` events to as many relays as viable. 2. Clients SHOULD spread an author's `kind:10002` event to as many relays as viable.
3. `kind:10002` events should primarily be used to advertise the user's preferred relays to others. A user's own client may use other heuristics for selecting relays for fetching data. 3. `kind:10002` events should primarily be used to advertise the user's preferred relays to others. A user's own client may use other heuristics for selecting relays for fetching data.

2
72.md
View File

@@ -4,7 +4,7 @@ NIP-72
Moderated Communities (Reddit Style) Moderated Communities (Reddit Style)
------------------------------------ ------------------------------------
`draft` `optional` `author:vitorpamplona` `author:arthurfranca` `draft` `optional`
The goal of this NIP is to create moderator-approved public communities around a topic. It defines the replaceable event `kind:34550` to define the community and the current list of moderators/administrators. Users that want to post into the community, simply tag any Nostr event with the community's `a` tag. Moderators issue an approval event `kind:4550` that links the community with the new post. The goal of this NIP is to create moderator-approved public communities around a topic. It defines the replaceable event `kind:34550` to define the community and the current list of moderators/administrators. Users that want to post into the community, simply tag any Nostr event with the community's `a` tag. Moderators issue an approval event `kind:4550` that links the community with the new post.

2
75.md
View File

@@ -2,7 +2,7 @@
## Zap Goals ## Zap Goals
`draft` `optional` `author:verbiricha` `draft` `optional`
This NIP defines an event for creating fundraising goals. Users can contribute funds towards the goal by zapping the goal event. This NIP defines an event for creating fundraising goals. Users can contribute funds towards the goal by zapping the goal event.

2
78.md
View File

@@ -4,7 +4,7 @@ NIP-78
Arbitrary custom app data Arbitrary custom app data
------------------------- -------------------------
`draft` `optional` `author:sandwich` `author:fiatjaf` `draft` `optional`
The goal of this NIP is to enable [remoteStorage](https://remotestorage.io/)-like capabilities for custom applications that do not care about interoperability. The goal of this NIP is to enable [remoteStorage](https://remotestorage.io/)-like capabilities for custom applications that do not care about interoperability.

37
84.md Normal file
View File

@@ -0,0 +1,37 @@
NIP-84
======
Highlights
----------
`draft` `optional`
This NIP defines `kind:9802`, a "highlight" event, to signal content a user finds valuable.
## Format
The `.content` of these events is the highlighted portion of the text.
`.content` might be empty for highlights of non-text based media (e.g. NIP-94 audio/video).
### References
Events SHOULD tag the source of the highlight, whether nostr-native or not.
`a` or `e` tags should be used for nostr events and `r` tags for URLs.
When tagging a URL, clients generating these events SHOULD do a best effort of cleaning the URL from trackers
or obvious non-useful information from the query string.
### Attribution
Clients MAY include one or more `p` tags, tagging the original authors of the material being highlighted; this is particularly
useful when highlighting non-nostr content for which the client might be able to get a nostr pubkey somehow
(e.g. prompting the user or reading a `<meta name="nostr:nprofile1..." />` tag on the document). A role MAY be included as the
last value of the tag.
```json
[ "p", "<pubkey-hex>", "<relay-url>", "author" ],
[ "p", "<pubkey-hex>", "<relay-url>", "author" ],
[ "p", "<pubkey-hex>", "<relay-url>", "editor" ],
```
### Context
Clients MAY include a `context` tag, useful when the highlight is a subset of a paragraph and displaying the
surrounding content might be beneficial to give context to the higlight.

2
89.md
View File

@@ -4,7 +4,7 @@ NIP-89
Recommended Application Handlers Recommended Application Handlers
-------------------------------- --------------------------------
`draft` `optional` `author:pablof7z` `draft` `optional`
This NIP describes `kind:31989` and `kind:31990`: a way to discover applications that can handle unknown event-kinds. This NIP describes `kind:31989` and `kind:31990`: a way to discover applications that can handle unknown event-kinds.

56
90.md
View File

@@ -4,7 +4,7 @@ NIP-90
Data Vending Machine Data Vending Machine
-------------------- --------------------
`draft` `optional` `author:pablof7z` `author:dontbelievethehype` `draft` `optional`
This NIP defines the interaction between customers and Service Providers for performing on-demand computation. This NIP defines the interaction between customers and Service Providers for performing on-demand computation.
@@ -67,6 +67,37 @@ All tags are optional.
* `relays`: List of relays where Service Providers SHOULD publish responses to * `relays`: List of relays where Service Providers SHOULD publish responses to
* `p`: Service Providers the customer is interested in. Other SPs MIGHT still choose to process the job * `p`: Service Providers the customer is interested in. Other SPs MIGHT still choose to process the job
## Encrypted Params
If the user wants to keep the input parameters a secret, they can encrypt the `i` and `param` tags with the service provider's 'p' tag and add it to the content field. Add a tag `encrypted` as tags. Encryption for private tags will use [NIP-04 - Encrypted Direct Message encryption](https://github.com/nostr-protocol/nips/blob/master/04.md), using the user's private and service provider's public key for the shared secret
```json
[
[ "i", "what is the capital of France? ", "text" ],
[ "param", "model", "LLaMA-2" ],
[ "param", "max_tokens", "512" ],
[ "param", "temperature", "0.5" ],
[ "param", "top-k", "50" ],
[ "param", "top-p", "0.7" ],
[ "param", "frequency_penalty", "1" ]
]
```
This param data will be encrypted and added to the `content` field and `p` tag should be present
```
"content": "BE2Y4xvS6HIY7TozIgbEl3sAHkdZoXyLRRkZv4fLPh3R7LtviLKAJM5qpkC7D6VtMbgIt4iNcMpLtpo...",
"tags": [
["p", "04f74530a6ede6b24731b976b8e78fb449ea61f40ff10e3d869a3030c4edc91f"],
["encrypted"]
]
```
## Job result (`kind:6000-6999`) ## Job result (`kind:6000-6999`)
Service providers publish job results, providing the output of the job result. They should tag the original job request event id as well as the customer's pubkey. Service providers publish job results, providing the output of the job result. They should tag the original job request event id as well as the customer's pubkey.
@@ -90,6 +121,27 @@ Service providers publish job results, providing the output of the job result. T
* `amount`: millisats that the Service Provider is requesting to be paid. An optional third value can be a bolt11 invoice. * `amount`: millisats that the Service Provider is requesting to be paid. An optional third value can be a bolt11 invoice.
* `i`: The original input(s) specified in the request. * `i`: The original input(s) specified in the request.
## Encrypted Output
If the request has encrypted params, then output should be encrypted and placed in `content` field. If the output is encrypted, then avoid including `i` tag with input-data as clear text.
Add a tag encrypted to mark the output content as `encrypted`
```json
{
"pubkey": "<service-provider pubkey>",
"content": "<encrypted payload>",
"kind": 6xxx,
"tags": [
[ "request", "<job-request>" ],
[ "e", "<job-request-id>", "<relay-hint>" ],
[ "p", "<customer's-pubkey>" ],
[ "amount", "requested-payment-amount", "<optional-bolt11>" ],
["encrypted"]
]
}
```
## Job feedback ## Job feedback
Service providers can give feedback about a job back to the customer. Service providers can give feedback about a job back to the customer.
@@ -110,6 +162,8 @@ Service providers can give feedback about a job back to the customer.
* `amount` tag: as defined in the [Job Result](#job-result) section. * `amount` tag: as defined in the [Job Result](#job-result) section.
* `status` tag: Service Providers SHOULD indicate what this feedback status refers to. [Appendix 1](#appendix-1-job-feedback-status) defines status. Extra human-readable information can be added as an extra argument. * `status` tag: Service Providers SHOULD indicate what this feedback status refers to. [Appendix 1](#appendix-1-job-feedback-status) defines status. Extra human-readable information can be added as an extra argument.
* NOTE: If the input params requires input to be encryped, then `content` field will have encrypted payload with `p` tag as key.
### Job feedback status ### Job feedback status
| status | description | | status | description |

2
94.md
View File

@@ -4,7 +4,7 @@ NIP-94
File Metadata File Metadata
------------- -------------
`draft` `optional` `author:frbitten` `author:kieran` `author:lovvtide` `author:fiatjaf` `author:staab` `draft` `optional`
The purpose of this NIP is to allow an organization and classification of shared files. So that relays can filter and organize in any way that is of interest. With that, multiple types of filesharing clients can be created. NIP-94 support is not expected to be implemented by "social" clients that deal with kind:1 notes or by longform clients that deal with kind:30023 articles. The purpose of this NIP is to allow an organization and classification of shared files. So that relays can filter and organize in any way that is of interest. With that, multiple types of filesharing clients can be created. NIP-94 support is not expected to be implemented by "social" clients that deal with kind:1 notes or by longform clients that deal with kind:30023 articles.

2
98.md
View File

@@ -4,7 +4,7 @@ NIP-98
HTTP Auth HTTP Auth
------------------------- -------------------------
`draft` `optional` `author:kieran` `author:melvincarvalho` `draft` `optional`
This NIP defines an ephemeral event used to authorize requests to HTTP servers using nostr events. This NIP defines an ephemeral event used to authorize requests to HTTP servers using nostr events.

2
99.md
View File

@@ -2,7 +2,7 @@
## Classified Listings ## Classified Listings
`draft` `optional` `author:erskingardner` `draft` `optional`
This NIP defines `kind:30402`: a parameterized replaceable event to describe classified listings that list any arbitrary product, service, or other thing for sale or offer and includes enough structured metadata to make them useful. This NIP defines `kind:30402`: a parameterized replaceable event to describe classified listings that list any arbitrary product, service, or other thing for sale or offer and includes enough structured metadata to make them useful.

View File

@@ -7,12 +7,12 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
- [List](#list) - [List](#list)
- [Event Kinds](#event-kinds) - [Event Kinds](#event-kinds)
- [Event Kind Ranges](#event-kind-ranges)
- [Message Types](#message-types) - [Message Types](#message-types)
- [Client to Relay](#client-to-relay) - [Client to Relay](#client-to-relay)
- [Relay to Client](#relay-to-client) - [Relay to Client](#relay-to-client)
- [Standardized Tags](#standardized-tags) - [Standardized Tags](#standardized-tags)
- [Criteria for acceptance of NIPs](#criteria-for-acceptance-of-nips) - [Criteria for acceptance of NIPs](#criteria-for-acceptance-of-nips)
- [Mailing Lists](#mailing-lists)
- [License](#license) - [License](#license)
--- ---
@@ -66,6 +66,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
- [NIP-72: Moderated Communities](72.md) - [NIP-72: Moderated Communities](72.md)
- [NIP-75: Zap Goals](75.md) - [NIP-75: Zap Goals](75.md)
- [NIP-78: Application-specific data](78.md) - [NIP-78: Application-specific data](78.md)
- [NIP-84: Highlights](84.md)
- [NIP-89: Recommended Application Handlers](89.md) - [NIP-89: Recommended Application Handlers](89.md)
- [NIP-90: Data Vending Machines](90.md) - [NIP-90: Data Vending Machines](90.md)
- [NIP-94: File Metadata](94.md) - [NIP-94: File Metadata](94.md)
@@ -73,9 +74,8 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
- [NIP-99: Classified Listings](99.md) - [NIP-99: Classified Listings](99.md)
## Event Kinds ## Event Kinds
| kind | description | NIP | | kind | description | NIP |
| ------- | -------------------------- | ----------- | | ------------- | -------------------------- | ----------- |
| `0` | Metadata | [1](01.md) | | `0` | Metadata | [1](01.md) |
| `1` | Short Text Note | [1](01.md) | | `1` | Short Text Note | [1](01.md) |
| `2` | Recommend Relay | | | `2` | Recommend Relay | |
@@ -94,13 +94,17 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
| `1063` | File Metadata | [94](94.md) | | `1063` | File Metadata | [94](94.md) |
| `1311` | Live Chat Message | [53](53.md) | | `1311` | Live Chat Message | [53](53.md) |
| `1040` | OpenTimestamps | [03](03.md) | | `1040` | OpenTimestamps | [03](03.md) |
| `1971` | Problem Tracker | [1971](https://github.com/nostrocket/NIPS/blob/main/Problems.md) |
| `1984` | Reporting | [56](56.md) | | `1984` | Reporting | [56](56.md) |
| `1985` | Label | [32](32.md) | | `1985` | Label | [32](32.md) |
| `4550` | Community Post Approval | [72](72.md) | | `4550` | Community Post Approval | [72](72.md) |
| `5000`-`5999` | Job Request | [90](90.md) |
| `6000`-`6999` | Job Result | [90](90.md) |
| `7000` | Job Feedback | [90](90.md) | | `7000` | Job Feedback | [90](90.md) |
| `9041` | Zap Goal | [75](75.md) | | `9041` | Zap Goal | [75](75.md) |
| `9734` | Zap Request | [57](57.md) | | `9734` | Zap Request | [57](57.md) |
| `9735` | Zap | [57](57.md) | | `9735` | Zap | [57](57.md) |
| `9802` | Highlights | [84](84.md) |
| `10000` | Mute List | [51](51.md) | | `10000` | Mute List | [51](51.md) |
| `10001` | Pin List | [51](51.md) | | `10001` | Pin List | [51](51.md) |
| `10002` | Relay List Metadata | [65](65.md) | | `10002` | Relay List Metadata | [65](65.md) |