NIP-09: Add a tag deletion (#600)

Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
This commit is contained in:
Pablo Fernandez 2023-06-16 01:23:40 +02:00 committed by GitHub
parent 3331b5610c
commit 58f1667479
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
09.md
View File

@ -8,7 +8,7 @@ Event Deletion
A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted.
Each tag entry must contain an "e" event id intended for deletion.
Each tag entry must contain an "e" event id and/or NIP-33 `a` tags intended for deletion.
The event's `content` field MAY contain a text note describing the reason for the deletion.
@ -20,7 +20,8 @@ For example:
"pubkey": <32-bytes hex-encoded public key of the event creator>,
"tags": [
["e", "dcd59..464a2"],
["e", "968c5..ad7a4"]
["e", "968c5..ad7a4"],
["a", "<kind>:<pubkey>:<d-identifier>"]
],
"content": "these posts were published by accident",
...other fields