diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2022-12-26 12:12:02 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-26 12:12:02 -0300 |
| commit | 37caf77b01de536b2b48c9bf07db09c570d0ebb0 (patch) | |
| tree | 1825db36dfcdc17386bdfa3a4efdb5b468ca8200 | |
| parent | e79c84aecc2f9455380e14724315858272d825d7 (diff) | |
| parent | 0091582eb2eb3b9e4fe56dbd02f483694764778a (diff) | |
Merge pull request #119 from mikedilger/nip35
| -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. | ||