Skip to content

Can't use tapBip32Derivation to sign PSBT #117

@archidoge0

Description

@archidoge0

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions