Compare commits

...

5 Commits

Author SHA1 Message Date
Vitor Pamplona
ffb5bc65e6
Merge 318b8ea585 into b79e46d33c 2024-11-11 15:08:09 +01:00
Vitor Pamplona
318b8ea585 Merge remote-tracking branch 'upstream/master' into embed-events
# Conflicts:
#	19.md
2024-09-24 09:52:49 -04:00
Vitor Pamplona
d33727da81 Moves embeds outside the TLV 2024-02-27 11:05:04 -05:00
Vitor Pamplona
713bea60c2 Trying to go with compression on 2024-02-23 19:10:58 -05:00
Vitor Pamplona
c8f03b6de4 Embedding events into other event's texts. 2024-02-23 09:54:12 -05:00

3
19.md
View File

@ -19,6 +19,7 @@ These are the possible bech32 prefixes:
- `npub`: public keys
- `nsec`: private keys
- `note`: note ids
- `nembed`: JSON-stringified, GZIP-compressed event
Example: the hex public key `3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d` translates to `npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6`.
@ -33,7 +34,7 @@ For these events, the contents are a binary-encoded list of `TLV` (type-length-v
These are the possible bech32 prefixes with `TLV`:
- `nprofile`: a nostr profile
- `nevent`: a nostr event
- `nevent`: a nostr event id
- `naddr`: a nostr _replaceable event_ coordinate
- `nrelay`: a nostr relay (deprecated)