From my understanding, for a p2sh transaction to be valid the redeem script must hash to the same value as the output script being used to fund the transaction.

So can't you just put the redeem script of your address in the scriptsig and the transaction will be valid?

1 Answer 1


No, the BIP16 rules apply. They require that not only you provide a redeemscript whose hash matches that in the output (the address), but also that valid inputs for that script are provided (which will typically require at least valid signatures).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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