mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 00:25:50 -05:00
Define how to encode a non-parameterized replaceable event as a naddr
This commit is contained in:
parent
76f5857f88
commit
208dee2102
4
19.md
4
19.md
|
@ -35,7 +35,7 @@ These are the possible bech32 prefixes with `TLV`:
|
|||
- `nprofile`: a nostr profile
|
||||
- `nevent`: a nostr event
|
||||
- `nrelay`: a nostr relay
|
||||
- `naddr`: a nostr _parameterized replaceable event_ coordinate
|
||||
- `naddr`: a nostr _replaceable event_ coordinate
|
||||
|
||||
These possible standardized `TLV` types are indicated here:
|
||||
|
||||
|
@ -44,7 +44,7 @@ These possible standardized `TLV` types are indicated here:
|
|||
- for `nprofile` it will be the 32 bytes of the profile public key
|
||||
- for `nevent` it will be the 32 bytes of the event id
|
||||
- for `nrelay`, this is the relay URL
|
||||
- for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced
|
||||
- for `naddr`, it is the identifier (the `"d"` tag) of the event being referenced. For non-parameterized replaceable events, use an empty string.
|
||||
- `1`: `relay`
|
||||
- for `nprofile`, `nevent` and `naddr`, _optionally_, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii
|
||||
- this may be included multiple times
|
||||
|
|
Loading…
Reference in New Issue
Block a user