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:
authorfiatjaf <fiatjaf@gmail.com>2023-02-13 08:47:23 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-02-13 08:47:23 -0300
commitb4493aa56abdea4b05780651e7af06ea13bbfafa (patch)
tree1317e55dac8d3353cf1a5cba0947c826890953bf /19.md
parenta85067ec68f73ad72780dd2fba445bcaa1f5cba3 (diff)
rename coordinates: nitem->naddr, "i"->"a"
Diffstat (limited to '19.md')
-rw-r--r--19.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/19.md b/19.md
index 2caf8bd..ab3b578 100644
--- a/19.md
+++ b/19.md
@@ -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
40These possible standardized `TLV` types are indicated here: 40These 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