upleb.uk

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

summaryrefslogtreecommitdiff
path: root/30.md
diff options
context:
space:
mode:
authorarthurfranca <arthur.a.franca@gmail.com>2023-03-29 15:43:11 -0300
committerarthurfranca <arthur.a.franca@gmail.com>2023-03-29 15:43:11 -0300
commit5b1640c64815d9c288dd30b7c690b1afecf48930 (patch)
tree7272fc143af7dab2a5152dccf4fb3405eb4190f1 /30.md
parent9a362c6df48953fdfefea9178d70f3656d75b1e8 (diff)
Document Damus repost as Event Copy
Diffstat (limited to '30.md')
-rw-r--r--30.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/30.md b/30.md
new file mode 100644
index 0000000..2c3c4ae
--- /dev/null
+++ b/30.md
@@ -0,0 +1,21 @@
1NIP-30
2======
3
4Event Copy
5----------
6
7`draft` `optional` `author:jb55` `author:arthurfranca`
8
9An event of `kind 9` is used to copy any event from another pubkey. A copy
10allows its creator to keep content around even when the original gets deleted.
11
12The `content` of a copy event MUST be the stringified JSON of the whole original event.
13
14The copy event SHOULD include a `k` tag with the `kind` of the note that is
15being copied. This enables subscribing to a subset of copies.
16
17The copy event SHOULD include an `e` tag with the `id` of the note that is
18being copied. This allows the original author to know a specific event has been copied.
19
20The copy event SHOULD include a `p` tag with the `pubkey` of the event being
21copied to notify original author.