diff options
| author | arthurfranca <arthur.a.franca@gmail.com> | 2023-03-29 18:45:12 -0300 |
|---|---|---|
| committer | arthurfranca <arthur.a.franca@gmail.com> | 2023-03-29 18:45:12 -0300 |
| commit | 800c0d0cd397eb4b043ef0cdaefd0bad18cb1cd5 (patch) | |
| tree | bce3cc22601b049a4ebda6bd412f7a26686106de /30.md | |
| parent | 5b1640c64815d9c288dd30b7c690b1afecf48930 (diff) | |
Drop event copy
Diffstat (limited to '30.md')
| -rw-r--r-- | 30.md | 21 |
1 files changed, 0 insertions, 21 deletions
| @@ -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. | ||