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
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.
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 serialized state transition that a blockchain can validate, relay, and include in a block.
blockchain · technical
Address
→A network-specific identifier that describes a destination or spending condition for a cryptocurrency payment.
wallet · technical