P2SH
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)
An output created by an earlier transaction that has yet to be spent.
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.