Covenant

A proposed restriction on how a future spender may use an output, enabling vaults and layered protocols.

Basically

A covenant is a rule attached to a bitcoin. It limits who can spend the coin and where the money can go, such as making a withdrawal wait 24 hours in a holding address so you can cancel a theft.

Key Takeaways

  • General covenants are not active in Bitcoin today. Proposals include opcodes such as OP_CTV (BIP 119), OP_CAT, OP_CCV and OP_VAULT.
  • Covenants enable on-chain vaults, congestion-control payment trees and cleaner off-chain protocols like Ark and CoinPools.
  • Bitcoin developers debate covenants carefully so restrictive rules cannot be abused to create permanently encumbered or blacklisted coins.

What Bitcoin Script checks today

Bitcoin Script mostly checks signatures, hashes and timelocks today. It asks, "Did the right key approve this?" but cannot natively inspect the outputs of the spending transaction and require a coin to move to address X first, then to address Y only after 144 blocks. A covenant adds that output restriction.

Why vaults are the killer use

A vault covenant forces coins into a time-delayed staging output, even if an attacker steals your vault key and starts a withdrawal. Your watchtower alerts you, and your cold recovery key sweeps the funds back to safety before the thief's timer expires.

0

← All 1876 glossary terms