sparrowwallet / sparrow

Desktop Bitcoin Wallet focused on security and privacy. Free and open source.
https://sparrowwallet.com/
Apache License 2.0
1.36k stars 192 forks source link

Derive BIP85 child seeds #622

Open orangesurf opened 2 years ago

orangesurf commented 2 years ago

(Originally posted on telegram chat on 7th July)

With BIP85 both the index and the wallet type are required for recovery. There are at least 8 options with the current coldcard firmware

A wallet import option to scan the possible child seeds for a known index number would help greatly when the wallet types have been lost.

Where a number is not known it is may be typical that indexes were used sequentially starting from 0. Here an option to scan index numbers sequentially (starting from 0 until a gap limit of empty child wallet indexes is reached) would be advantageous.

Transisto commented 2 years ago

https://github.com/bitcoin/bips/blob/master/bip-0085.mediawiki

I like BIP85 too but I think it's safer to derive new seeds on a Coldcard which is more secure given the OS sparrow runs on.