LedgerHQ / app-bitcoin-new

Modern Bitcoin Application based on PSBT and Descriptors
Apache License 2.0
93 stars 69 forks source link

Recognize unspendable xpubs during wallet registration #232

Closed bigspider closed 5 months ago

bigspider commented 6 months ago

When registering a taproot policy with an unspendable xpub in the keypath, we could improve the UX (and user's security from tampering) by labeling the xpub explicitly as "unspendable" during policy registration.

A further extension to wallet policies would allow to skip that xpub altogether; see approach s4 in this Delving Bitcoin post.