diff options
| author | Adam Soltys <[email protected]> | 2026-11-10 15:09:20 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-11-10 15:09:20 -0700 |
| commit | f8c9efa8d1fab36ded9fa525c0ed56cd16ae5345 (patch) | |
| tree | 05aef10cbbbccc8bb4d71e536a9860d3d114d402 /dns/bootstrap | |
| parent | 3c5e9c347a4b1a48d19d1a20ab4ace6f19852770 (diff) | |
| download | coinosv3-server-f8c9efa8d1fab36ded9fa525c0ed56cd16ae5345.tar.gz coinosv3-server-f8c9efa8d1fab36ded9fa525c0ed56cd16ae5345.zip | |
names: delete my account. "someone's asking for a way to delete their v3 account. we allowed that in v2. i guess we'd want to free up the name once the deletion is done and remove any records we have on them on the server" (Adam, 2026-11-10). POST /account/delete, NIP-98 signed: the signer's account is its key, the names it owns or manages, and those names' other key (a login identity's name is kept by its wallet's key). Everything filed under them goes: the names (DNS record, node offer), custom offers, POS tokens and sales, hats and hat invoices, the welcome mark, Lightning receipts, migration grants (which would otherwise keep the name reserved for the key that left), queued webhooks, closed and never-funded withdraw links. Then the notifier is told (POST /forget with the shared notify token): the devices registered to be told about those keys lose their registrations, NWC wakes included, and the keys' scheduled posts are dropped. Money is never deleted: while sats are queued, parked or in flight to them, or an open withdraw link of theirs still holds some, the answer is 409 "funds" with the amounts; { check: true } asks without doing. Kept: what stops a payment being made twice (delivered, withdrawPaid, inflight) and the unpaid-invoice map, which ages out in a week. names/forget.js + forget.test.js; run against both real services on throwaway state
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6V74NSFWZtNtgCfokN
Diffstat (limited to 'dns/bootstrap')
0 files changed, 0 insertions, 0 deletions
