remove prettier formatting

This commit is contained in:
utxo 2024-03-21 10:18:42 -04:00
parent 46a6bf331a
commit 965eb45b30

15
05.md
View File

@ -1,6 +1,8 @@
# NIP-05
NIP-05
======
## Mapping Nostr keys to DNS-based internet identifiers
Mapping Nostr keys to DNS-based internet identifiers
----------------------------------------------------
`final` `optional`
@ -31,7 +33,7 @@ It will make a GET request to `https://example.com/.well-known/nostr.json?name=b
"bob": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9"
}
}
```
````
or with the **recommended** `"relays"` attribute:
@ -41,13 +43,10 @@ or with the **recommended** `"relays"` attribute:
"bob": "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9"
},
"relays": {
"b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [
"wss://relay.example.com",
"wss://relay2.example.com"
]
"b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [ "wss://relay.example.com", "wss://relay2.example.com" ]
}
}
```
````
If 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.