April 2020
Intermediate to advanced
244 pages
7h 20m
English
Unlike P2PKH scripts, P2SH scripts use the hashes associated with the script itself, instead of the public address, to send the transaction output to the recipient. The funds are therefore expendable under the conditions provided in the script. To use these funds, it will therefore be sufficient to refer to the hash associated with the script. Since scripts have a lot in common with smart contracts, the topic will be explored in more depth in Chapter 6, Decentralized Apps and Smart Contracts.
Let's now see how transactions are added in blocks.
Read now
Unlock full access