mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-12-23 15:08:51 +00:00
add relay tag
This commit is contained in:
2
01.md
2
01.md
@@ -4,7 +4,7 @@ NIP-01
|
|||||||
Basic protocol flow description
|
Basic protocol flow description
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
`draft` `mandatory`
|
`draft` `mandatory` `relay`
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
|||||||
2
04.md
2
04.md
@@ -6,7 +6,7 @@ NIP-04
|
|||||||
Encrypted Direct Message
|
Encrypted Direct Message
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
`final` `unrecommended` `optional`
|
`final` `unrecommended` `optional` `relay`
|
||||||
|
|
||||||
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
09.md
2
09.md
@@ -4,7 +4,7 @@ NIP-09
|
|||||||
Event Deletion Request
|
Event Deletion Request
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
A special event with kind `5`, meaning "deletion request" is defined as having a list of one or more `e` or `a` tags, each referencing an event the author is requesting to be deleted. Deletion requests SHOULD include a `k` tag for the kind of each event being requested for deletion.
|
A special event with kind `5`, meaning "deletion request" is defined as having a list of one or more `e` or `a` tags, each referencing an event the author is requesting to be deleted. Deletion requests SHOULD include a `k` tag for the kind of each event being requested for deletion.
|
||||||
|
|
||||||
|
|||||||
2
11.md
2
11.md
@@ -4,7 +4,7 @@ NIP-11
|
|||||||
Relay Information Document
|
Relay Information Document
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
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
13.md
2
13.md
@@ -4,7 +4,7 @@ NIP-13
|
|||||||
Proof of Work
|
Proof of Work
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
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
17.md
2
17.md
@@ -4,7 +4,7 @@ NIP-17
|
|||||||
Private Direct Messages
|
Private Direct Messages
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
This NIP defines an encrypted chat scheme which uses [NIP-44](44.md) encryption and [NIP-59](59.md) seals and gift wraps.
|
This NIP defines an encrypted chat scheme which uses [NIP-44](44.md) encryption and [NIP-59](59.md) seals and gift wraps.
|
||||||
|
|
||||||
|
|||||||
2
26.md
2
26.md
@@ -6,7 +6,7 @@ NIP-26
|
|||||||
Delegated Event Signing
|
Delegated Event Signing
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
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
29.md
2
29.md
@@ -4,7 +4,7 @@ NIP-29
|
|||||||
Relay-based Groups
|
Relay-based Groups
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
This NIP defines a standard for groups that are only writable by a closed set of users. They can be public for reading by external users or not.
|
This NIP defines a standard for groups that are only writable by a closed set of users. They can be public for reading by external users or not.
|
||||||
|
|
||||||
|
|||||||
2
40.md
2
40.md
@@ -4,7 +4,7 @@ NIP-40
|
|||||||
Expiration Timestamp
|
Expiration Timestamp
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
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
2
42.md
@@ -4,7 +4,7 @@ NIP-42
|
|||||||
Authentication of clients to relays
|
Authentication of clients to relays
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
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
43.md
2
43.md
@@ -4,7 +4,7 @@ NIP-43
|
|||||||
Relay Access Metadata and Requests
|
Relay Access Metadata and Requests
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
This NIP defines a way for relays to advertise membership lists, and for clients to request admission to relays on behalf of users.
|
This NIP defines a way for relays to advertise membership lists, and for clients to request admission to relays on behalf of users.
|
||||||
|
|
||||||
|
|||||||
2
45.md
2
45.md
@@ -4,7 +4,7 @@ NIP-45
|
|||||||
Event Counts
|
Event Counts
|
||||||
------------
|
------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
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
2
46.md
@@ -41,7 +41,7 @@ There are two ways to initiate a connection:
|
|||||||
|
|
||||||
_remote-signer_ provides connection token in the form:
|
_remote-signer_ provides connection token in the form:
|
||||||
|
|
||||||
```
|
`relay`
|
||||||
bunker://<remote-signer-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value>
|
bunker://<remote-signer-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
2
50.md
2
50.md
@@ -4,7 +4,7 @@ NIP-50
|
|||||||
Search Capability
|
Search Capability
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
## Abstract
|
## Abstract
|
||||||
|
|
||||||
|
|||||||
2
59.md
2
59.md
@@ -4,7 +4,7 @@ NIP-59
|
|||||||
Gift Wrap
|
Gift Wrap
|
||||||
---------
|
---------
|
||||||
|
|
||||||
`optional`
|
`optional` `relay`
|
||||||
|
|
||||||
This NIP defines a protocol for encapsulating any nostr event. This makes it possible to obscure most metadata
|
This NIP defines a protocol for encapsulating any nostr event. This makes it possible to obscure most metadata
|
||||||
for a given event, perform collaborative signing, and more.
|
for a given event, perform collaborative signing, and more.
|
||||||
|
|||||||
2
62.md
2
62.md
@@ -4,7 +4,7 @@ NIP-62
|
|||||||
Request to Vanish
|
Request to Vanish
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
This NIP offers a Nostr-native way to request a complete reset of a key's fingerprint on the web. This procedure is legally binding in some jurisdictions, and thus, supporters of this NIP should truly delete events from their database.
|
This NIP offers a Nostr-native way to request a complete reset of a key's fingerprint on the web. This procedure is legally binding in some jurisdictions, and thus, supporters of this NIP should truly delete events from their database.
|
||||||
|
|
||||||
|
|||||||
2
66.md
2
66.md
@@ -4,7 +4,7 @@ NIP-66
|
|||||||
Relay Discovery and Liveness Monitoring
|
Relay Discovery and Liveness Monitoring
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
This NIP defines events for relay discovery and the announcement of relay monitors.
|
This NIP defines events for relay discovery and the announcement of relay monitors.
|
||||||
|
|
||||||
|
|||||||
2
70.md
2
70.md
@@ -4,7 +4,7 @@ NIP-70
|
|||||||
Protected Events
|
Protected Events
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
When the `"-"` tag is present, that means the event is "protected".
|
When the `"-"` tag is present, that means the event is "protected".
|
||||||
|
|
||||||
|
|||||||
2
77.md
2
77.md
@@ -4,7 +4,7 @@ NIP-77
|
|||||||
Negentropy Syncing
|
Negentropy Syncing
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional` `relay`
|
||||||
|
|
||||||
This document describes a protocol extension for syncing events. It works for both client-relay and relay-relay scenarios. If both sides of the sync have events in common, then this protocol will use less bandwidth than transferring the full set of events (or even just their IDs).
|
This document describes a protocol extension for syncing events. It works for both client-relay and relay-relay scenarios. If both sides of the sync have events in common, then this protocol will use less bandwidth than transferring the full set of events (or even just their IDs).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user