diff options
| -rw-r--r-- | 18.md | 12 | ||||
| -rw-r--r-- | 30.md | 21 | ||||
| -rw-r--r-- | README.md | 3 |
3 files changed, 8 insertions, 28 deletions
| @@ -4,18 +4,22 @@ NIP-18 | |||
| 4 | Reposts | 4 | Reposts |
| 5 | ------- | 5 | ------- |
| 6 | 6 | ||
| 7 | `draft` `optional` `author:fiatjaf` `author:arthurfranca` | 7 | `draft` `optional` `author:jb55` `author:fiatjaf` `author:arthurfranca` |
| 8 | 8 | ||
| 9 | A repost is a `kind 6` note that is used to signal to followers | 9 | A repost is a `kind 6` note that is used to signal to followers |
| 10 | that another event is worth reading. | 10 | that another event is worth reading. |
| 11 | 11 | ||
| 12 | The `content` of a repost event is empty. Optionally, it MAY contain | 12 | The `content` of a repost event is empty. Optionally, it MAY contain |
| 13 | a comment in the same format of a kind 1 note content. | 13 | the stringified JSON of the reposted note event for quick look up. |
| 14 | 14 | ||
| 15 | The repost event MUST include an `e` tag with the `id` of the note that is | 15 | The repost event MUST include an `e` tag with the `id` of the note that is |
| 16 | being reposted. That tag SHOULD include a relay URL as its third entry | 16 | being reposted. That tag MUST include a relay URL as its third entry |
| 17 | to indicate where it can be fetched. | 17 | to indicate where it can be fetched. |
| 18 | When reposting a long-form content use an `a` tag instead. | ||
| 19 | 18 | ||
| 20 | The repost SHOULD include a `p` tag with the `pubkey` of the event being | 19 | The repost SHOULD include a `p` tag with the `pubkey` of the event being |
| 21 | reposted. | 20 | reposted. |
| 21 | |||
| 22 | ## Quote Reposts | ||
| 23 | |||
| 24 | Quote reposts are `kind 1` events with an embedded `e` tag (see [NIP-08](08.md) and [NIP-27](27.md)). | ||
| 25 | Because a quote repost includes an `e` tag, it may show up along replies to the reposted note. | ||
| @@ -1,21 +0,0 @@ | |||
| 1 | NIP-30 | ||
| 2 | ====== | ||
| 3 | |||
| 4 | Event Copy | ||
| 5 | ---------- | ||
| 6 | |||
| 7 | `draft` `optional` `author:jb55` `author:arthurfranca` | ||
| 8 | |||
| 9 | An event of `kind 9` is used to copy any event from another pubkey. A copy | ||
| 10 | allows its creator to keep content around even when the original gets deleted. | ||
| 11 | |||
| 12 | The `content` of a copy event MUST be the stringified JSON of the whole original event. | ||
| 13 | |||
| 14 | The copy event SHOULD include a `k` tag with the `kind` of the note that is | ||
| 15 | being copied. This enables subscribing to a subset of copies. | ||
| 16 | |||
| 17 | The copy event SHOULD include an `e` tag with the `id` of the note that is | ||
| 18 | being copied. This allows the original author to know a specific event has been copied. | ||
| 19 | |||
| 20 | The copy event SHOULD include a `p` tag with the `pubkey` of the event being | ||
| 21 | copied to notify original author. | ||
| @@ -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 | ||