upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorutxo <github@utxo.one>2024-03-21 10:18:42 -0400
committerutxo <github@utxo.one>2024-03-21 10:18:42 -0400
commit965eb45b30b6000da976addcf3163858abadcf07 (patch)
treec9fa7dcdd8ec7d60351c2887d55b63f0c65373eb
parent46a6bf331ae823dad079a9740f37d57e58b92358 (diff)
remove prettier formatting
-rw-r--r--05.md15
1 files changed, 7 insertions, 8 deletions
diff --git a/05.md b/05.md
index a4b804c..405078a 100644
--- a/05.md
+++ b/05.md
@@ -1,6 +1,8 @@
1# NIP-05 1NIP-05
2======
2 3
3## Mapping Nostr keys to DNS-based internet identifiers 4Mapping Nostr keys to DNS-based internet identifiers
5----------------------------------------------------
4 6
5`final` `optional` 7`final` `optional`
6 8
@@ -31,7 +33,7 @@ It will make a GET request to `https://example.com/.well-known/nostr.json?name=b
31 "bob": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9" 33 "bob": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9"
32 } 34 }
33} 35}
34``` 36````
35 37
36or with the **recommended** `"relays"` attribute: 38or with the **recommended** `"relays"` attribute:
37 39
@@ -41,13 +43,10 @@ or with the **recommended** `"relays"` attribute:
41 "bob": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9" 43 "bob": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9"
42 }, 44 },
43 "relays": { 45 "relays": {
44 "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [ 46 "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [ "wss://relay.example.com", "wss://relay2.example.com" ]
45 "wss://relay.example.com",
46 "wss://relay2.example.com"
47 ]
48 } 47 }
49} 48}
50``` 49````
51 50
52If 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.
53 52