Skip to main content

Covenant

script · smart-contract · security

A UTXO spending condition that restricts properties of the transaction or outputs created when it is spent.

1.general

A covenant is a script condition that constrains a UTXO's spending transaction, such as required destinations, output values, token state, delays, or a continuing copy of the contract. Ordinary signature checks mainly authorize who may spend; a covenant can also constrain how.

2.implementations

Covenant capability varies by network. It can come from transaction introspection, signature-hash behavior, templates, token-aware rules, or dedicated opcodes. On Bitcoin Cash, introspection opcodes and later CashVM features support covenant construction; CashTokens can carry consensus-validated token state within those outputs.

3.uses

Applications include vaults, escrows, recurring contract state, auctions, token protocols, and spending limits. Security depends on every permitted transition and recovery path: an overly strict covenant can strand funds, while an overlooked branch can bypass the intended restriction.

Related terms

All terms and definitions may update as the Cryptionary improves.