diff options
Diffstat (limited to '19.md')
| -rw-r--r-- | 19.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -4,7 +4,7 @@ NIP-19 | |||
| 4 | bech32-encoded entities | 4 | bech32-encoded entities |
| 5 | ----------------------- | 5 | ----------------------- |
| 6 | 6 | ||
| 7 | `draft` `optional` `author:jb55` `author:fiatjaf` `author:Semisol` | 7 | `draft` `optional` |
| 8 | 8 | ||
| 9 | This NIP standardizes bech32-formatted strings that can be used to display keys, ids and other information in clients. These formats are not meant to be used anywhere in the core protocol, they are only meant for displaying to users, copy-pasting, sharing, rendering QR codes and inputting data. | 9 | This NIP standardizes bech32-formatted strings that can be used to display keys, ids and other information in clients. These formats are not meant to be used anywhere in the core protocol, they are only meant for displaying to users, copy-pasting, sharing, rendering QR codes and inputting data. |
| 10 | 10 | ||
| @@ -35,7 +35,7 @@ These are the possible bech32 prefixes with `TLV`: | |||
| 35 | - `nprofile`: a nostr profile | 35 | - `nprofile`: a nostr profile |
| 36 | - `nevent`: a nostr event | 36 | - `nevent`: a nostr event |
| 37 | - `nrelay`: a nostr relay | 37 | - `nrelay`: a nostr relay |
| 38 | - `naddr`: a nostr parameterized replaceable event coordinate (NIP-33) | 38 | - `naddr`: a nostr _replaceable event_ coordinate |
| 39 | 39 | ||
| 40 | These possible standardized `TLV` types are indicated here: | 40 | These possible standardized `TLV` types are indicated here: |
| 41 | 41 | ||
| @@ -44,7 +44,7 @@ These possible standardized `TLV` types are indicated here: | |||
| 44 | - for `nprofile` it will be the 32 bytes of the profile public key | 44 | - for `nprofile` it will be the 32 bytes of the profile public key |
| 45 | - for `nevent` it will be the 32 bytes of the event id | 45 | - for `nevent` it will be the 32 bytes of the event id |
| 46 | - for `nrelay`, this is the relay URL | 46 | - for `nrelay`, this is the relay URL |
| 47 | - for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced | 47 | - for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For non-parameterized replaceable events, use an empty string. |
| 48 | - `1`: `relay` | 48 | - `1`: `relay` |
| 49 | - for `nprofile`, `nevent` and `naddr`, _optionally_, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii | 49 | - for `nprofile`, `nevent` and `naddr`, _optionally_, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii |
| 50 | - this may be included multiple times | 50 | - this may be included multiple times |