diff options
| -rw-r--r-- | 35.md | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -34,8 +34,10 @@ This NIP proposes an optional additional key like this: | |||
| 34 | }, | 34 | }, |
| 35 | "relays": { | 35 | "relays": { |
| 36 | "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [ "wss://relay.example.com", "wss://relay2.example.com" ] | 36 | "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [ "wss://relay.example.com", "wss://relay2.example.com" ] |
| 37 | }, | 37 | } |
| 38 | } | 38 | } |
| 39 | ```` | 39 | ```` |
| 40 | 40 | ||
| 41 | The `relays` key contains an object with public keys as properties and arrays of relays as values. | 41 | The `relays` key contains an object with public keys as properties and arrays of relays as values. |
| 42 | |||
| 43 | 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. | ||