unchained-capital / caravan

Bitcoin multisig coordination software
https://unchained-capital.github.io/caravan/
MIT License
204 stars 177 forks source link

QR Code for descriptor? #53

Open sahilc0 opened 4 years ago

sahilc0 commented 4 years ago

I'm submitting a…

Current Behavior

Currently, Caravan generates a redeem script. Then puts all the needed information into a convenient text file. However when storing for long term usage (eg. in envelope, geographically distributed), redeem script can be a privacy leak.

Possible Solution

I could be wrong here, but would it be possible to get this information into a QR code instead? So it's less obvious what the information is. Could be something like used here in yeticold: https://github.com/JWWeatherman/yeticold/blob/master/templates/YCdisplaydescriptor.html

(I could be totally misunderstanding the difference between the two features).

sahilc0 commented 4 years ago

Another example here: Glacier protocol generates QR code for redeem script: https://glacierprotocol.org/docs/deposit/generate-cold-storage-data/

bucko13 commented 4 years ago

Great idea. I could see this being part of a larger set of enhancements around better support for descriptors including at the braid/wallet level.

Thanks for posting this and sharing the examples!