diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-01-02 16:15:42 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-02 16:15:42 -0300 |
| commit | 39aec23a1d79067e6449d4af16f89aae37d62ca6 (patch) | |
| tree | d5d8c042c6d1ee645e31f7f8dc72e6b762fca686 /18.md | |
| parent | 3dd52e5cb4ec3a16011afed1ecef6cd07026ddcd (diff) | |
NIP18: Reposts (#140)
Co-authored-by: Leo Wandersleb <leo@leowandersleb.de>
Diffstat (limited to '18.md')
| -rw-r--r-- | 18.md | 19 |
1 files changed, 19 insertions, 0 deletions
| @@ -0,0 +1,19 @@ | |||
| 1 | NIP-18 | ||
| 2 | ====== | ||
| 3 | |||
| 4 | Reposts | ||
| 5 | ------- | ||
| 6 | |||
| 7 | `draft` `optional` `author:jb55` | ||
| 8 | |||
| 9 | A repost is a `kind 6` note that is used to signal to followers | ||
| 10 | that another event is worth reading. | ||
| 11 | |||
| 12 | The `content` of a repost event is empty. | ||
| 13 | |||
| 14 | The repost event MUST include an `e` tag with the `id` of the note that is | ||
| 15 | being reposted. That tag SHOULD include a relay URL as its third entry | ||
| 16 | to indicate where it can be fetched. | ||
| 17 | |||
| 18 | The repost SHOULD include a `p` tag with the `pubkey` of the event being | ||
| 19 | reposted. | ||