NUT-27: mint list backups on nostr for wallets #267

Merged
callebtc merged 9 commits from nostr-mint-backups into main 2026-01-11 10:08:00 +00:00
callebtc commented 2025-06-10 12:03:21 +00:00 (Migrated from github.com)

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

Implementations:

Spec for backing up a wallet's mint list on nostr as a replaceable event. Implementations: - cashu.me - Numo PoS - [ ] cdk https://github.com/cashubtc/cdk/pull/1459
thesimplekid (Migrated from github.com) reviewed 2025-06-12 09:50:49 +00:00
thesimplekid (Migrated from github.com) commented 2025-06-12 09:48:06 +00:00

I've lost track of nostr, but I think ephemeral and replaceable events are different. In the first sentence it says ephemeral but in the description it says replaceable

I've lost track of nostr, but I think ephemeral and replaceable events are different. In the first sentence it says `ephemeral` but in the description it says `replaceable`
callebtc (Migrated from github.com) reviewed 2025-06-12 10:01:08 +00:00
callebtc (Migrated from github.com) commented 2025-06-12 10:01:08 +00:00

good point. nostr specs have also renamed parameterized-replaceable events to "addressable" events, which I have fixed

good point. nostr specs have also renamed parameterized-replaceable events to "addressable" events, which I have fixed
Kelbie commented 2025-06-13 11:24:25 +00:00 (Migrated from github.com)

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.

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 commented 2025-06-14 11:20:08 +00:00 (Migrated from github.com)

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

> 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 commented 2025-06-14 11:52:38 +00:00 (Migrated from github.com)

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

You are right, it is a bit out of scope for this PR. Everything else looks good! 💯
Quinton206 (Migrated from github.com) approved these changes 2025-08-29 18:11:13 +00:00
thesimplekid commented 2025-12-24 16:52:17 +00:00 (Migrated from github.com)

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

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
thesimplekid (Migrated from github.com) approved these changes 2026-01-11 10:04:20 +00:00
Sign in to join this conversation.
No description provided.