-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Support signing specific inputs in a multi-input Bitcoin transaction #4158
Comments
Hi @luxbg, you can get pre-image hashes of the transaction, manually sign those sighashes for which you have access to the private keys only, and then ask other parts to sign the remain sighashes.
One more note - you should use BitcoinV2 protocol (same as in the example above) |
ok, so if i want to sign my own sighash, then get a psbt only with me signing it, pass it to another user to sign it, how can i do that? Im trying to use an API that gives me an unsigned transaction with 2 inputs, one from them, one from me. |
Unfortunately, we don't support generating PSBT at the moment. I think we might need it in the future, so I'll keep you updated |
Close as not planned |
Context
I am trying to create and sign a Bitcoin transaction with multiple inputs, where each input corresponds to a different private key. However, I want to sign only the inputs that I can sign with my private key, and leave the other inputs unsigned for other participants to sign later.
Currently, it seems that signing a transaction attempts to sign all inputs or fails if it cannot access all required private keys. This makes it challenging to collaborate on partially signed transactions.
Feature Request
Add support for signing specific inputs in a Bitcoin transaction. Specifically:
• Allow the user to specify which input(s) to sign.
• Leave all other inputs unsigned and intact for later signing. (Incase its specified to allow partial signatures.)
The text was updated successfully, but these errors were encountered: