Browse Source

Merge pull request #119 from mikedilger/nip35

master
fiatjaf 2 years ago
committed by GitHub
parent
commit
37caf77b01
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 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…
Cancel
Save