upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhodlbod <jstaab@protonmail.com>2024-03-21 07:42:56 -0700
committerGitHub <noreply@github.com>2024-03-21 07:42:56 -0700
commitcf0e6e1567662a80ff8f4ed1500909b843d5162f (patch)
treec9fa7dcdd8ec7d60351c2887d55b63f0c65373eb
parentde71f998289a829ac4b2c0b0e601b02a2bf755b6 (diff)
parent965eb45b30b6000da976addcf3163858abadcf07 (diff)
Merge pull request #1132 from utxo-one/dev-nip05relay
Recommend setting relays in NIP05
-rw-r--r--05.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/05.md b/05.md
index 6437550..405078a 100644
--- a/05.md
+++ b/05.md
@@ -35,7 +35,7 @@ It will make a GET request to `https://example.com/.well-known/nostr.json?name=b
35} 35}
36```` 36````
37 37
38or with the **optional** `"relays"` attribute: 38or with the **recommended** `"relays"` attribute:
39 39
40```json 40```json
41{ 41{
@@ -50,7 +50,7 @@ or with the **optional** `"relays"` attribute:
50 50
51If the pubkey matches the one given in `"names"` (as in the example above) that means the association is right and the `"nip05"` identifier is valid and can be displayed. 51If the pubkey matches the one given in `"names"` (as in the example above) that means the association is right and the `"nip05"` identifier is valid and can be displayed.
52 52
53The optional `"relays"` attribute may contain an object with public keys as properties and arrays of relay URLs as values. When present, that can be used to help clients learn in which relays the specific user may be found. Web servers which serve `/.well-known/nostr.json` files dynamically based on the query string SHOULD also serve the relays data for any name they serve in the same reply when that is available. 53The recommended `"relays"` attribute may contain an object with public keys as properties and arrays of relay URLs as values. When present, that can be used to help clients learn in which relays the specific user may be found. Web servers which serve `/.well-known/nostr.json` files dynamically based on the query string SHOULD also serve the relays data for any name they serve in the same reply when that is available.
54 54
55## Finding users from their NIP-05 identifier 55## Finding users from their NIP-05 identifier
56 56