0

I am creating some test code which can create transactions and sign then, I already could do it with NON-Segwit multisig address, they were signed using my code and broadcasted. But when I tried with Segwit multisig, I got problems, it was not signing it right. Can someone walk me through the steps of creating and signing a multisig segwit transaction?

  • Can you post how you were trying to sign segwit multisig? – Andrew Chow Mar 16 at 22:45
  • I was trying to sign the same way as I was signing the traditional multisig wallet, I have the private key and the redeem script. – Allan Romanato Mar 17 at 1:53
1

It sounds like you are using the non-segwit sighash algorithm. This is not correct. Segwit uses a different sighash algorithm as defined in BIP 143.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.