sparrowwallet / sparrow

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

[Feature] Mix to cold wallet without requiring device to stay connected #747

Closed nurviro closed 1 year ago

nurviro commented 1 year ago

Leaving a hardware wallet connected during mixing presents a security risk. Perhaps an appropriate amount of segwit addresses could be pre-fetched from the hardware wallet at the start of mixing, and then allow the device to be unplugged. UTXOs would be mixed to those addresses, and if we run out of addresses: stop mixing? I could certainly be missing something here but wanted to float the idea.

craigraw commented 1 year ago

You don't need to leave the device connected while mixing out. It only needs to be connected to sign transactions spending from the wallet. Sparrow has everything it needs to mix to the hardware wallet once it has been created.