NUT-27: mint list backups on nostr for wallets #267
No reviewers
Labels
No labels
breaking change
bug
documentation
enhancement
needs discussion
needs implementation
new nut
ready
wallet-only
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo-admin/nuts!267
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nostr-mint-backups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Spec for backing up a wallet's mint list on nostr as a replaceable event.
Implementations:
I've lost track of nostr, but I think ephemeral and replaceable events are different. In the first sentence it says
ephemeralbut in the description it saysreplaceablegood point. nostr specs have also renamed parameterized-replaceable events to "addressable" events, which I have fixed
This looks good, thoughts on having a way to blacklist keysets or some other way to skip going through keysets which we know don't have any unspent proofs? I notice with cashu .me if you try to restore on testnut mint with rotating keysets it rate limits you.
This might not be a problem in practice with real mints. I figured I'd mention it anyway.
iiuc, question about the restore strategy doesn't seem to be related to this PR. you could store much more wallet state on nostr like the keysets used etc (but that's out of scope for here).
You are right, it is a bit out of scope for this PR. Everything else looks good! 💯
I pushed a commit https://github.com/cashubtc/nuts/pull/267/commits/897a291a7dd426333373ce79587a696332ec72b6 with a test vector for the key derivation. Feel free to revert it if its wrong or unneeded.
implemented in cdk PR: https://github.com/cashubtc/cdk/pull/1459