upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarthurfranca <arthur.a.franca@gmail.com>2023-03-29 18:45:12 -0300
committerarthurfranca <arthur.a.franca@gmail.com>2023-03-29 18:45:12 -0300
commit800c0d0cd397eb4b043ef0cdaefd0bad18cb1cd5 (patch)
treebce3cc22601b049a4ebda6bd412f7a26686106de
parent5b1640c64815d9c288dd30b7c690b1afecf48930 (diff)
Drop event copy
-rw-r--r--18.md12
-rw-r--r--30.md21
-rw-r--r--README.md3
3 files changed, 8 insertions, 28 deletions
diff --git a/18.md b/18.md
index ef77fa6..422ad9c 100644
--- a/18.md
+++ b/18.md
@@ -4,18 +4,22 @@ NIP-18
4Reposts 4Reposts
5------- 5-------
6 6
7`draft` `optional` `author:fiatjaf` `author:arthurfranca` 7`draft` `optional` `author:jb55` `author:fiatjaf` `author:arthurfranca`
8 8
9A repost is a `kind 6` note that is used to signal to followers 9A repost is a `kind 6` note that is used to signal to followers
10that another event is worth reading. 10that another event is worth reading.
11 11
12The `content` of a repost event is empty. Optionally, it MAY contain 12The `content` of a repost event is empty. Optionally, it MAY contain
13a comment in the same format of a kind 1 note content. 13the stringified JSON of the reposted note event for quick look up.
14 14
15The repost event MUST include an `e` tag with the `id` of the note that is 15The repost event MUST include an `e` tag with the `id` of the note that is
16being reposted. That tag SHOULD include a relay URL as its third entry 16being reposted. That tag MUST include a relay URL as its third entry
17to indicate where it can be fetched. 17to indicate where it can be fetched.
18When reposting a long-form content use an `a` tag instead.
19 18
20The repost SHOULD include a `p` tag with the `pubkey` of the event being 19The repost SHOULD include a `p` tag with the `pubkey` of the event being
21reposted. 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.
diff --git a/30.md b/30.md
deleted file mode 100644
index 2c3c4ae..0000000
--- a/30.md
+++ /dev/null
@@ -1,21 +0,0 @@
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.
diff --git a/README.md b/README.md
index 741a288..ba78113 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,6 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh
28- [NIP-26: Delegated Event Signing](26.md) 28- [NIP-26: Delegated Event Signing](26.md)
29- [NIP-27: Text Note References](27.md) 29- [NIP-27: Text Note References](27.md)
30- [NIP-28: Public Chat](28.md) 30- [NIP-28: Public Chat](28.md)
31- [NIP-30: Event Copy](30.md)
32- [NIP-33: Parameterized Replaceable Events](33.md) 31- [NIP-33: Parameterized Replaceable Events](33.md)
33- [NIP-36: Sensitive Content](36.md) 32- [NIP-36: Sensitive Content](36.md)
34- [NIP-39: External Identities in Profiles](39.md) 33- [NIP-39: External Identities in Profiles](39.md)
@@ -56,7 +55,6 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh
56| 6 | Reposts | [18](18.md) | 55| 6 | Reposts | [18](18.md) |
57| 7 | Reaction | [25](25.md) | 56| 7 | Reaction | [25](25.md) |
58| 8 | Badge Award | [58](58.md) | 57| 8 | Badge Award | [58](58.md) |
59| 9 | Event Copy | [30](30.md) |
60| 40 | Channel Creation | [28](28.md) | 58| 40 | Channel Creation | [28](28.md) |
61| 41 | Channel Metadata | [28](28.md) | 59| 41 | Channel Metadata | [28](28.md) |
62| 42 | Channel Message | [28](28.md) | 60| 42 | Channel Message | [28](28.md) |
@@ -116,7 +114,6 @@ When experimenting with kinds, keep in mind the classification introduced by [NI
116| g | geohash | | [12](12.md) | 114| g | geohash | | [12](12.md) |
117| nonce | random | | [13](13.md) | 115| nonce | random | | [13](13.md) |
118| subject | subject | | [14](14.md) | 116| subject | subject | | [14](14.md) |
119| k | referenced event kind | | [30](30.md) |
120| d | identifier | | [33](33.md) | 117| d | identifier | | [33](33.md) |
121| expiration | unix timestamp (string) | | [40](40.md) | 118| expiration | unix timestamp (string) | | [40](40.md) |
122 119