Skip to content

Conversation

@callebtc
Copy link
Contributor

@callebtc callebtc commented Jun 10, 2025

Spec for backing up a wallet's mint list on nostr as a replaceable event.

Implementations:

@callebtc callebtc changed the title new NUT for specifying mint backups on nostr NUT-xx: mint list backups on nostr for wallets Jun 10, 2025
@Kelbie
Copy link

Kelbie commented Jun 13, 2025

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.

@callebtc
Copy link
Contributor Author

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).

@Kelbie
Copy link

Kelbie commented Jun 14, 2025

You are right, it is a bit out of scope for this PR. Everything else looks good! 💯

@thesimplekid
Copy link
Collaborator

I pushed a commit 897a291 with a test vector for the key derivation. Feel free to revert it if its wrong or unneeded.

implemented in cdk PR: cashubtc/cdk#1459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready Ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants