Skip to main content

Pay to Script (P2S)

bitcoin-cash
script
protocol

Bitcoin Cash relay policy that permits compact, directly encoded locking scripts without wrapping them in P2SH.

Acronym
P2S
Also known as
P2S
1
general

Pay to Script (P2S) refers to Bitcoin Cash's standard relay support for spendable outputs whose locking bytecode is encoded directly. Activated in May 2026, it replaced pattern-only output standardness with a length-based rule for scripts up to 201 bytes.

2
comparison

Unlike P2SH, P2S does not hash and hide the locking script until spend time. This can remove the redeem-script wrapper and make some covenants smaller or easier to inspect, while revealing the spending conditions as soon as the output is created.

3
scope

P2S is principally a standardness-policy change, not a new address format or a promise that every wallet can pay a contract safely. The same upgrade also raised standard token-commitment and unlocking-bytecode limits; contract correctness and application compatibility remain separate concerns.

Pay to Script proposal

Related terms

Explore connected entries beyond the alphabetical index.

All terms and definitions may update as the Cryptionary improves.