- Blockchain Quick Reference
- Brenn Hill Samanyu Chopra Paul Valencourt
- 57字
- 2021-08-13 15:55:00
Pay-to-Script Hash
The Pay-to-Script Hash (P2SH) process is used to send transactions to a script hash. The addresses to pay using script hash have to start with 3. This is how the script looks:
OP_HASH160 [redeemScriptHash] OP_EQUAL
The signature looks like this:
[Sig]...[Sig][redeemScript]
As with P2PKH, these strings are also concatenated together to create the script signature.