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

PSBT HD signing does not support taproot #2000

Open
gregdhill opened this issue Nov 9, 2023 · 2 comments
Open

PSBT HD signing does not support taproot #2000

gregdhill opened this issue Nov 9, 2023 · 2 comments
Assignees

Comments

@gregdhill
Copy link

gregdhill commented Nov 9, 2023

I want to use signInputHD for a taproot script path spend but that will fail if I don't specify bip32Derivation here. It is also not possible to use inputHasHDKey without bip32Derivation. I can't set bip32Derivation since tapLeafScript is defined which would otherwise throw this error. I'm assuming it is intended to use tapBip32Derivation instead but that doesn't seem to be wired up.

@gregdhill
Copy link
Author

For more context I am working on integrating the code linked here (creating inscriptions) with the MetaMask Bitcoin snap which fails here. The only solution I can see right now is to use signAllInputs and force the derivation path from the caller.

@junderw
Copy link
Member

junderw commented Nov 9, 2023

@motorina0 Why do we prevent HD path info in taproot inputs?

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

4 participants