upleb.uk

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

summaryrefslogtreecommitdiff
path: root/19.md
diff options
context:
space:
mode:
Diffstat (limited to '19.md')
-rw-r--r--19.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/19.md b/19.md
index 3ea8e11..aaffc4b 100644
--- a/19.md
+++ b/19.md
@@ -36,6 +36,7 @@ These are the possible bech32 prefixes with `TLV`:
36 - `nevent`: a nostr event 36 - `nevent`: a nostr event
37 - `naddr`: a nostr _replaceable event_ coordinate 37 - `naddr`: a nostr _replaceable event_ coordinate
38 - `nrelay`: a nostr relay (deprecated) 38 - `nrelay`: a nostr relay (deprecated)
39 - `nchat`: a nostr chat conversation
39 40
40These possible standardized `TLV` types are indicated here: 41These possible standardized `TLV` types are indicated here:
41 42
@@ -44,6 +45,7 @@ These possible standardized `TLV` types are indicated here:
44 - for `nprofile` it will be the 32 bytes of the profile public key 45 - 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 46 - for `nevent` it will be the 32 bytes of the event id
46 - for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For normal replaceable events use an empty string. 47 - for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For normal replaceable events use an empty string.
48 - for `nchat`, see chat nip for details.
47- `1`: `relay` 49- `1`: `relay`
48 - 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 - 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 - this may be included multiple times 51 - this may be included multiple times
@@ -53,6 +55,7 @@ These possible standardized `TLV` types are indicated here:
53- `3`: `kind` 55- `3`: `kind`
54 - for `naddr`, the 32-bit unsigned integer of the kind, big-endian 56 - for `naddr`, the 32-bit unsigned integer of the kind, big-endian
55 - for `nevent`, _optionally_, the 32-bit unsigned integer of the kind, big-endian 57 - for `nevent`, _optionally_, the 32-bit unsigned integer of the kind, big-endian
58 - for `nchat`, the NIP number of the chat.
56 59
57## Examples 60## Examples
58 61