mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Merge pull request #119 from mikedilger/nip35
This commit is contained in:
commit
37caf77b01
4
35.md
4
35.md
|
@ -34,8 +34,10 @@ This NIP proposes an optional additional key like this:
|
|||
},
|
||||
"relays": {
|
||||
"b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [ "wss://relay.example.com", "wss://relay2.example.com" ]
|
||||
},
|
||||
}
|
||||
}
|
||||
````
|
||||
|
||||
The `relays` key contains an object with public keys as properties and arrays of relays as values.
|
||||
|
||||
Web servers which serve nostr.json files dynamically responding to the query string SHOULD also serve the relays data for any name they serve in the same reply.
|
||||
|
|
Loading…
Reference in New Issue
Block a user