nips/18.md

26 lines
833 B
Markdown
Raw Normal View History

2023-03-25 14:58:31 +00:00
NIP-18
======
Reposts
-------
2023-03-29 21:45:12 +00:00
`draft` `optional` `author:jb55` `author:fiatjaf` `author:arthurfranca`
2023-03-25 14:58:31 +00:00
A repost is a `kind 6` note that is used to signal to followers
that another event is worth reading.
The `content` of a repost event the stringified JSON of the reposted note
for quick look up. It MAY also be empty, but that is not recommended.
2023-03-25 14:58:31 +00:00
The repost event MUST include an `e` tag with the `id` of the note that is
2023-03-29 21:45:12 +00:00
being reposted. That tag MUST include a relay URL as its third entry
2023-03-25 14:58:31 +00:00
to indicate where it can be fetched.
The repost SHOULD include a `p` tag with the `pubkey` of the event being
reposted.
2023-03-29 21:45:12 +00:00
## Quote Reposts
Quote reposts are `kind 1` events with an embedded `e` tag (see [NIP-08](08.md) and [NIP-27](27.md)).
Because a quote repost includes an `e` tag, it may show up along replies to the reposted note.