Skip to content

Instantly share code, notes, and snippets.

Delete All Nostr Notes

This sends a delete request to all relays that have your data. This is a best effort and will likely not work well enough to actually delete everything, or possibly anything. A lot of relays do not respect delete requests.

  1. First download a list of relays:
curl -o relays.json https://api.nostr.watch/v1/online
@TonyGiorgio
TonyGiorgio / nostr.json
Created July 8, 2023 16:47
mutiny nostr.json
{
"names": {
"_": "df173277182f3155d37b330211ba1de4a81500c02d195e964f91be774ec96708"
}
}
node-manager v0.2.2 (/data/Dev/Mutiny/mutiny-node/node-manager)
├── bitcoin_hashes v0.11.0
│ ├── core2 v0.3.3
│ │ └── memchr v2.5.0
│ └── serde v1.0.152
│ └── serde_derive feature "default"
│ └── serde_derive v1.0.152 (proc-macro)
│ ├── proc-macro2 feature "default"
│ │ ├── proc-macro2 v1.0.50
│ │ │ └── unicode-ident feature "default"