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

Does this lib support segwit multisig signing ? #122

Open
newyangyang opened this issue Jan 24, 2019 · 0 comments
Open

Does this lib support segwit multisig signing ? #122

newyangyang opened this issue Jan 24, 2019 · 0 comments

Comments

@newyangyang
Copy link

I want to spend coin of a segwit multisig(2-of-3) address.
I already created a tx, signed it with the first private key.
How can I use this library to make the second signing?
I can provide: 1. the hex result after the first signing, 2. the prevtxs of this transaction, 3. the second private key.
With all three of them, a bitcoin node can sign the transaction correctly, using signrawtransaction method.
I tried to follow this example, with testMultisignatureScripts method. But got a bad decoded tx on BTCTransaction alloc initWithData:BTCDataFromHex.
I wonder what should I do with this library ?

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