P2SH
script · address
A script type where the output is locked to the hash of a redeem script, enabling features like multi-sig.
- Also known as
- Pay to Script Hash
1.basic
P2SH pays to the hash of a redeem script stored off-chain until spend time. To spend, the spender reveals the redeem script and provides data that satisfies it.
2.tradeoffs
P2SH simplifies receiving because the sender only needs a script hash, while the spender handles the complexity later. The tradeoff is that the full redeem script becomes public when the output is spent, which can reveal the wallet policy.
Related terms
Multi-Signature (multisig)
→A spending policy that requires a defined threshold of several keys or signers.
security · wallet
Unspent Transaction Output (UTXO)
→A discrete spendable output on a UTXO blockchain, similar to a digital coin that must be spent whole.
technical · blockchain
Transaction
→A record submitted to a blockchain to make a payment or another permitted change.
blockchain · technical
Address
→The destination you share to receive a cryptocurrency payment on a particular network.
wallet · technical
Help make this definition clearer. Suggest a correction.