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 '20 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. Mar 17 '20 at 1:53

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.

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.