1

This is a stupid question because if the P2SH contains the hash160 (and the hash160 contains the sha256) of the P2MS doesn't possible return to the original hex P2MS.

So, but for verifying the P2SH I must insert the real redmee script inside the scriptSig, so if I parsing the scriptSing I can found the N signature and the M "public key" inside the script P2MS, right?

An example, inside an scientific article this address is cataloged such as scam address, but this address is a script address, so it could is:

  • a P2MS script with M "public keys"
  • a script without the "public keys"

But I can access the scriptSig and parsing the hexadecimal, I should be found the original script, right?

  • Are you trying to extract the bare multisig script from a P2SH multisig address? – Raghav Sood Oct 23 at 10:26
  • I'm trying to validate my idea, i.e the "public key" push inside the P2MS script can be extracted to parsing the scriptSig of the transaction unlock it. – vincenzopalazzo Oct 23 at 11:37

Your Answer

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

Browse other questions tagged or ask your own question.