upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/18.md
diff options
context:
space:
mode:
authorfiatjaf_ <fiatjaf@gmail.com>2023-03-29 19:37:13 -0300
committerGitHub <noreply@github.com>2023-03-29 19:37:13 -0300
commit599e131323d1db908fd2a545e77722c1ef5fcfc1 (patch)
treebce3cc22601b049a4ebda6bd412f7a26686106de /18.md
parent133faa07636fff9f8e91c69cb9e3a5cce459b241 (diff)
parent800c0d0cd397eb4b043ef0cdaefd0bad18cb1cd5 (diff)
Merge pull request #397 from arthurfranca/repost-res
Diffstat (limited to '18.md')
-rw-r--r--18.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/18.md b/18.md
new file mode 100644
index 0000000..422ad9c
--- /dev/null
+++ b/18.md
@@ -0,0 +1,25 @@
1NIP-18
2======
3
4Reposts
5-------
6
7`draft` `optional` `author:jb55` `author:fiatjaf` `author:arthurfranca`
8
9A repost is a `kind 6` note that is used to signal to followers
10that another event is worth reading.
11
12The `content` of a repost event is empty. Optionally, it MAY contain
13the stringified JSON of the reposted note event for quick look up.
14
15The repost event MUST include an `e` tag with the `id` of the note that is
16being reposted. That tag MUST include a relay URL as its third entry
17to indicate where it can be fetched.
18
19The repost SHOULD include a `p` tag with the `pubkey` of the event being
20reposted.
21
22## Quote Reposts
23
24Quote reposts are `kind 1` events with an embedded `e` tag (see [NIP-08](08.md) and [NIP-27](27.md)).
25Because a quote repost includes an `e` tag, it may show up along replies to the reposted note.