-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
asset: turn Pederson key into xpub for hardware wallet support
Hardware wallets that support miniscript policies only accept a pk() fragment that specifies an extended key, for example with: pk(@1/<0;1>/*). When signing the transaction the actual derivation path to use (for example 0/0) is defined in the PSBT itself. So the signing policy is generic and the user only has to accept it once. A child key derived from an extended NUMS key is still a NUMS key, as it's just tweaked again. The initial private key is still unknown.
- Loading branch information
Showing
1 changed file
with
78 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters