Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
typos
  • Loading branch information
vitorpamplona committed Aug 25, 2024
commit ab8a580e0e693ed3bce049d182097326d48c4ef6
12 changes: 6 additions & 6 deletions 62.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Request to Vanish

`draft` `optional`

This NIP offers a Nostr-native way to request a complete reset of a key's fingerprint on the web. This is a legally binding procedure in some jurisdictions and thus supporters of this NIP should trully delete events from their database.
This NIP offers a Nostr-native way to request a complete reset of a key's fingerprint on the web. This is a legally binding procedure in some jurisdictions and thus supporters of this NIP should truly delete events from their database.

## Request to Vanish from Relay

Expand All @@ -15,7 +15,7 @@ Kind `62` requests a specific relay to delete everything, including [NIP-09](09.
```js
{
"kind": 62,
"pubkey": <32-bytes hex-encoded public key of the event creator>,
"pubkey": <32-byte hex-encoded public key of the event creator>,
"tags": [
["relay", "<relay url>"]
],
Expand All @@ -28,26 +28,26 @@ The tag list MUST include at least one `relay` value.

Content MAY include a reason or a legal notice to the relay operator.

Relays MUST fully delete any events from the `.pubkey` if their service url is tagged in the event.
Relays MUST fully delete any events from the `.pubkey` if their service URL is tagged in the event.

Relays SHOULD delete all [NIP-59](59.md) Gift Wraps that p-tagged the `.pubkey`, deleting all DMs to the pubkey.

Relays MUST ensure the deleted events cannot be re-broadcasted into the relay.

Relays MAY store the signed deletion request for bookkeeping.

Paid relays or relays that have restrictions on who can post MUST also follow the request regardless of the user's status.
Paid relays or relays that restrict who can post MUST also follow the request regardless of the user's status.

Clients SHOULD send this event to the target relays only.

## Global Request to Vanish

To request ALL relays to delete everything, the event MUST include a `relay` tag with value `ALL_RELAYS` in uppercase.
To request ALL relays to delete everything, the event MUST include a `relay` tag with the value `ALL_RELAYS` in uppercase.

```js
{
"kind": 62,
"pubkey": <32-bytes hex-encoded public key of the event creator>,
"pubkey": <32-byte hex-encoded public key of the event creator>,
"tags": [
["relay", "ALL_RELAYS"]
],
Expand Down