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

Question: Does signPsbt API support for signing a taproot P2TR multi-sig transaction? #240

Open
mint-pz opened this issue Nov 15, 2024 · 4 comments
Assignees

Comments

@mint-pz
Copy link

mint-pz commented Nov 15, 2024

Xverse wallet does support it following their example: secretkeylabs/xverse-core#388 (comment)

But when I tried the same code with Unisat wallet, I got the error finalize/taproot: unknown input. So, I'd to know if the Unisat wallet supports for signing a taproot P2TR multi-sig transaction via signPsbt method?

@mint-pz
Copy link
Author

mint-pz commented Nov 15, 2024

My bad, I am able to sign with Unisat but got error when broadcasting

image

I found that, I used account #.1 #.2 #.3 to sign, but the tx included the pubkey of #.4, not #.2
image

@GGG888GGG GGG888GGG self-assigned this Nov 26, 2024
@cloud6605
Copy link
Collaborator

Please check your code carefully to ensure you didn't make anything wrong. Then try again. If your issue persisted, please upload the related code for check. @mint-pz

@mint-pz
Copy link
Author

mint-pz commented Dec 12, 2024

Thanks for your response, @cloud6605. I'll check it later. But I'd like to know if Unisat theoretically supports this type of signing like Xverse did?

@cloud6605
Copy link
Collaborator

We support sign multiple transactions at once. You may use signPsbts function.
Please read https://docs.unisat.io/dev/unisat-developer-center/unisat-wallet#signpsbts to learn more.
@mint-pz

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
@mint-pz @cloud6605 @GGG888GGG and others