They also reduce the complexity of the encoding, and shift the burden in terms of fees from the sender to the recipient – after all it’s their request to have the complexity in the conditions for the release of the funds.
This is done by transferring the script used to spend the transactions to the <ScripSig> and making the <ScriptPubKey> hold a hash of the script. This means that a new address has been created – a script address.
Script addresses are not made through the usual process of elliptic curve cryptography but are instead the hash of the <ScriptPubKey> of a multi signature transaction. A script address is appended with a value of five before being hashed, resulting in hashed script addresses starting with the number 3 – remember that standard Bitcoin addresses start with a 1 – with other variances for the testnet.
Structuring P2SH transactions should be done with care as an error can make the transaction unspendable. Another important point is that the details of the transaction script are not stored in the blockchain, only the hash, and therefore the creator of the transaction must keep a copy of the script or remember the route to generate the specific hash.
- Bitcoin Transactions - Pay-to-Public-Key?
- Bitcoin Transactions – Multi Signature Transactions?
- What is a Bitcoin block?
- What is a Bitcoin Fork?
- How does a hashing algorithm work?
- Bitcoin Transactions – Scriptsig and Scriptpubkey – locking and unlocking a transaction?
- How does the Bitcoin Network actually work?
- An Overview of Optimism's (OP) History Sponsored
- How to Become a Crypto Liquidity Provider
- How a Data Breach Could Cost You Your Crypto Wallet
- Best VPN for Crypto Trading: What to Look For
- Using VPNs and Password Managers to Secure Your NFTs
- B2Broker Introduces cTrader as a White Label Platform
- CryptoCompare Lists Potential Ethereum Hard Fork Tokens
- Crypto Spot Trading Volumes Reach 20-Month Low
- Binance Leads YTD Crypto Exchange Volumes as Competition Heats Up
- Total Value Locked in DeFi Protocols Plunged 65.7% in Q2
This website is only provided for your general information and is not intended to be relied upon by you in making any investment decisions. You should always combine multiple sources of information and analysis before making an investment and seek independent expert financial advice.
Where we list or describe different products and services, we try to give you the information you need to help you compare them and choose the right product or service for you. We may also have tips and more information to help you compare providers.
Some providers pay us for advertisements or promotions on our website or in emails we may send you. Any commercial agreement we have in place with a provider does not affect how we describe them or their products and services. Sponsored companies are clearly labelled.