nips/62.md
Vitor Pamplona d9b39fc468 - Changed language from Right to Vanish to Request to Vanish
- Added deletion of GiftWrapped DMs
- Reduced duplications from the merge of the two separate events in the past.
2024-08-25 09:51:52 -04:00

1.7 KiB

NIP-62

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.

Request to Vanish from Relay

Kind 62 requests a specific relay to delete everything, including NIP-09 Deletion Events, from the .pubkey until its .created_at.

{
  "kind": 62,
  "pubkey": <32-bytes hex-encoded public key of the event creator>,
  "tags": [
    ["relay", "<relay url>"]
  ],
  "content": "<reason or note>",
  //...other fields
}

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 SHOULD delete all NIP-59 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.

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.

{
  "kind": 62,
  "pubkey": <32-bytes hex-encoded public key of the event creator>,
  "tags": [
    ["relay", "ALL_RELAYS"]
  ],
  "content": "<reason>",
  //...other fields
}

Clients SHOULD broadcast this event to as many relays as possible.