Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use tapBip32Derivation to sign PSBT #117

Open
archidoge0 opened this issue Dec 18, 2024 · 0 comments
Open

Can't use tapBip32Derivation to sign PSBT #117

archidoge0 opened this issue Dec 18, 2024 · 0 comments

Comments

@archidoge0
Copy link

I noticed the field is included:

tapBip32Derivation:     [0x16, Bytes32,             TaprootBIP32Der,  [],  [0, 2], false],

but in transaction.ts, only bip32Derivation is desired:

if (!input.bip32Derivation || !input.bip32Derivation.length)
  throw new Error('bip32Derivation: empty');

Could you share an example to sign input as taproot key spend path using tapBip32Derivation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant