Skip to content

Commit

Permalink
nip19: deprecate nrelay
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Jul 25, 2024
1 parent 6021b07 commit ecee40d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 19.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,15 @@ These are the possible bech32 prefixes with `TLV`:

- `nprofile`: a nostr profile
- `nevent`: a nostr event
- `nrelay`: a nostr relay
- `naddr`: a nostr _replaceable event_ coordinate
- `nrelay`: a nostr relay (deprecated)

These possible standardized `TLV` types are indicated here:

- `0`: `special`
- depends on the bech32 prefix:
- 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 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
Expand Down

0 comments on commit ecee40d

Please sign in to comment.