[Wallet] BIP32 deterministic key derivation (towards mint-assisted backups) #92
Labels
enhancement
New feature or request
mint
About the Nutshell mint
nuts
NUT specs related
wallet
About the Nutshell wallet
Summary
Generate random values in the wallet deterministically in order to enable mint-assisted backups.
Description
In their current implementation, Cashu wallets generate random
secret
's andblinding_factor
's to be signed by a mint. Using a deterministic derivation scheme like BIP32 could in principle allow a wallet to restore these quantities from a single seed phrase.This has no immediate benefits per se but it enables something that, afaik, is an unsolved problem with ecash systems so far, namely backups. If a wallet could re-generate these random values when restoring a backup, in principle, it could be able to restore the
BlindedSignature
's with the help of the mint. The mint would simply have to keep a log of all producedBlindedSignature
's and re-send them to the wallet that requests a backup restoration.Initially, this would be a free service, but in case the data burden ever gets too large, the mint could ask for a small fee for this service. For closed systems, the benefits seem to far greater than the costs.
The text was updated successfully, but these errors were encountered: