diff options
| author | arthurfranca <arthur.a.franca@gmail.com> | 2023-03-29 15:43:11 -0300 |
|---|---|---|
| committer | arthurfranca <arthur.a.franca@gmail.com> | 2023-03-29 15:43:11 -0300 |
| commit | 5b1640c64815d9c288dd30b7c690b1afecf48930 (patch) | |
| tree | 7272fc143af7dab2a5152dccf4fb3405eb4190f1 | |
| parent | 9a362c6df48953fdfefea9178d70f3656d75b1e8 (diff) | |
Document Damus repost as Event Copy
| -rw-r--r-- | 30.md | 21 | ||||
| -rw-r--r-- | README.md | 3 |
2 files changed, 24 insertions, 0 deletions
| @@ -0,0 +1,21 @@ | |||
| 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,6 +28,7 @@ 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) | ||
| 31 | - [NIP-33: Parameterized Replaceable Events](33.md) | 32 | - [NIP-33: Parameterized Replaceable Events](33.md) |
| 32 | - [NIP-36: Sensitive Content](36.md) | 33 | - [NIP-36: Sensitive Content](36.md) |
| 33 | - [NIP-39: External Identities in Profiles](39.md) | 34 | - [NIP-39: External Identities in Profiles](39.md) |
| @@ -55,6 +56,7 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh | |||
| 55 | | 6 | Reposts | [18](18.md) | | 56 | | 6 | Reposts | [18](18.md) | |
| 56 | | 7 | Reaction | [25](25.md) | | 57 | | 7 | Reaction | [25](25.md) | |
| 57 | | 8 | Badge Award | [58](58.md) | | 58 | | 8 | Badge Award | [58](58.md) | |
| 59 | | 9 | Event Copy | [30](30.md) | | ||
| 58 | | 40 | Channel Creation | [28](28.md) | | 60 | | 40 | Channel Creation | [28](28.md) | |
| 59 | | 41 | Channel Metadata | [28](28.md) | | 61 | | 41 | Channel Metadata | [28](28.md) | |
| 60 | | 42 | Channel Message | [28](28.md) | | 62 | | 42 | Channel Message | [28](28.md) | |
| @@ -114,6 +116,7 @@ When experimenting with kinds, keep in mind the classification introduced by [NI | |||
| 114 | | g | geohash | | [12](12.md) | | 116 | | g | geohash | | [12](12.md) | |
| 115 | | nonce | random | | [13](13.md) | | 117 | | nonce | random | | [13](13.md) | |
| 116 | | subject | subject | | [14](14.md) | | 118 | | subject | subject | | [14](14.md) | |
| 119 | | k | referenced event kind | | [30](30.md) | | ||
| 117 | | d | identifier | | [33](33.md) | | 120 | | d | identifier | | [33](33.md) | |
| 118 | | expiration | unix timestamp (string) | | [40](40.md) | | 121 | | expiration | unix timestamp (string) | | [40](40.md) | |
| 119 | 122 | ||