diff options
Diffstat (limited to '19.md')
| -rw-r--r-- | 19.md | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -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 | - `nitem`: a nostr parameterized replaceable event coordinate (NIP-33) | 38 | - `naddr`: a nostr parameterized replaceable event coordinate (NIP-33) |
| 39 | 39 | ||
| 40 | These possible standardized `TLV` types are indicated here: | 40 | These possible standardized `TLV` types are indicated here: |
| 41 | 41 | ||
| @@ -44,14 +44,14 @@ 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 `nitem`, 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 |
| 48 | - `1`: `relay` | 48 | - `1`: `relay` |
| 49 | - for `nprofile`, `nevent` and `nitem`, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii | 49 | - for `nprofile`, `nevent` and `naddr`, 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 |
| 51 | - `2`: `author` | 51 | - `2`: `author` |
| 52 | - for `nitem`, the 32 bytes of the pubkey of the event | 52 | - for `naddr`, the 32 bytes of the pubkey of the event |
| 53 | - `3`: `kind` | 53 | - `3`: `kind` |
| 54 | - for `nitem`, the 32-bit unsigned integer of the kind, big-endian | 54 | - for `naddr`, the 32-bit unsigned integer of the kind, big-endian |
| 55 | 55 | ||
| 56 | 56 | ||
| 57 | ## Examples | 57 | ## Examples |