Bitcoin Covenant Opcodes Compared: CTV vs CAT vs VAULT
Compare proposed Bitcoin covenant opcodes by capability, activation path, developer support, and use cases unlocked. CTV, OP_CAT, OP_VAULT, TXHASH, and more.
Bitcoin Covenant Opcode Overview
Bitcoin covenants are spending conditions that restrict how a UTXO can be spent, not just who can spend it. Several competing proposals aim to bring covenant functionality to Bitcoin through new or re-enabled opcodes, each with different tradeoffs in expressiveness, complexity, and activation readiness. This guide compares the major proposals so developers and stakeholders can evaluate them side by side.
The following table provides a high-level snapshot of the five primary covenant proposals. Each is explored in detail throughout this guide.
| Proposal | BIP | Authors | Type | BIP Status | Signet Testing |
|---|---|---|---|---|---|
| OP_CTV | 119 | Jeremy Rubin | Template hash | Draft | Yes (Inquisition) |
| OP_CAT | 347 | Ethan Heilman, Armin Sabouri | Stack concatenation | Complete | Yes (Inquisition) |
| OP_VAULT | 345 | James O'Beirne | Vault-specific | Closed (withdrawn) | Previously |
| OP_TXHASH | 346 | Steven Roose, Brandon Black | Flexible tx hash | Draft | No |
| OP_CCV | 443 | Salvatore Ingala | Contract verification | Draft | No |
Beyond these individual opcodes, two bundled proposals have emerged: LNHANCE (CTV + CSFS + IKEY + PAIRCOMMIT) and BIP-448 (TEMPLATEHASH + CSFS + IKEY). These bundles combine primitives to unlock a broader set of use cases than any single opcode achieves alone. For background on how covenants work at a protocol level, see our Bitcoin covenants explainer.
How Each Proposal Works
OP_CHECKTEMPLATEVERIFY (CTV): BIP-119
CTV is the simplest covenant proposal. It commits to a hash of the spending transaction's outputs, version, locktime, sequences, and other fields. When the UTXO is spent, the opcode verifies that the spending transaction matches the committed template exactly. This makes CTV non-recursive: the spending path is fully determined when the covenant is created.
CTV's simplicity is both its strength and its limitation. It enables congestion control (batching many payments into a single committed transaction), simple vaults, and payment channel factories with minimal new Script complexity. However, it cannot express conditions that depend on input values or allow dynamic spending paths.
OP_CAT: BIP-347
OP_CAT concatenates the top two elements on the Script stack. Originally part of Bitcoin's scripting language, Satoshi disabled it in 2010 due to memory exhaustion concerns. BIP-347 proposes re-enabling it within Tapscript with a 520-byte stack element size limit to prevent abuse.
On its own, OP_CAT is not a covenant opcode. Its power comes from composition: when combined with Schnorr signatures and existing opcodes, OP_CAT can reconstruct and verify parts of a transaction within Script. This enables covenants, recursive covenants, tree signatures, and even rudimentary zero-knowledge proof verification. The tradeoff is that covenant constructions built with OP_CAT require complex, multi-step scripts that are harder to audit and reason about than purpose-built opcodes.
OP_VAULT: BIP-345 (Withdrawn)
OP_VAULT was designed specifically for time-delayed recovery vaults. It introduced two opcodes: OP_VAULT (to trigger a delayed withdrawal) and OP_VAULT_RECOVER (to claw back funds to a recovery address before the delay expires). The design depended on CTV (BIP-119) for transaction template enforcement.
Author James O'Beirne withdrew BIP-345 in May 2025 in favor of BIP-443 (OP_CHECKCONTRACTVERIFY), a more general opcode that can implement the same vault pattern alongside other constructions. The vault use case remains a priority, but the community has shifted toward more flexible primitives that serve multiple applications.
OP_TXHASH: BIP-346
OP_TXHASH pushes a configurable hash of the spending transaction onto the stack. Unlike CTV's fixed template, TXHASH uses a "TxFieldSelector" byte to choose which transaction fields to include in the hash: specific inputs, specific outputs, or combinations. In its default selector mode, TXHASH replicates CTV's behavior exactly. When paired with OP_CHECKSIGFROMSTACK (CSFS, BIP-348), it enables input/output value equality checks, in-band fee adjustment, and custom signature commitment patterns that CTV cannot express.
TXHASH is strictly more expressive than CTV, but that expressiveness comes with a larger specification surface and no signet deployment to date. Its authors have participated in the competing BIP-448 bundle proposal, which substitutes OP_TEMPLATEHASH (BIP-446) for CTV as the template primitive.
OP_CHECKCONTRACTVERIFY (CCV): BIP-443
BIP-443, authored by Salvatore Ingala, proposes OP_CCV as a general mechanism for carrying state across transactions. A UTXO commits to arbitrary data, and the opcode verifies that the spending transaction preserves or updates that commitment according to rules defined in the script. This enables recursive covenants, UTXO sharing schemes like Ark and CoinPools, vault constructions, and even sidechain peg verification.
CCV emerged from Ingala's MATT (Merkleize All The Things) research, which showed that OP_CCV combined with OP_CAT could achieve the full generality of arbitrary computation verification on Bitcoin. The proposal is still in draft and under community review with no activation timeline.
Capability Matrix
The following table compares what each proposal can and cannot do. A "Yes*" indicates the capability requires combining the opcode with other primitives (typically CSFS or OP_CAT).
| Capability | CTV | OP_CAT | TXHASH+CSFS | OP_CCV | GSR |
|---|---|---|---|---|---|
| Congestion control | Yes | Yes* | Yes | Yes | Yes |
| Simple vaults | Yes | Yes* | Yes | Yes | Yes |
| Payment pools | Yes | Yes* | Yes | Yes | Yes |
| Channel factories | Yes | Yes* | Yes | Yes | Yes |
| DLC optimization | Partial | Yes* | Yes | Yes | Yes |
| Recursive covenants | No | Yes* | No | Yes | Yes |
| Introspection (input values) | No | Yes* | Yes | Yes | Yes |
| In-band fee adjustment | No | Yes* | Yes | Yes | Yes |
| Arbitrary computation | No | Yes* | No | Yes (with CAT) | Yes |
| Post-quantum sig verification | No | Partial* | No | No | Potential |
| Implementation complexity | Low | Low | Medium | Medium | High |
| Audit complexity | Low | High | Medium | Medium | High |
GSR (Great Script Restoration) refers to Rusty Russell's proposal to re-enable most opcodes Satoshi disabled in 2010 and add a cost function to prevent denial-of-service attacks. Russell and Julian Moik presented an updated version in November 2026 that includes a path toward verifying post-quantum signatures in Script. GSR is the most ambitious proposal but also the furthest from activation.
Bundled Proposals
Individual opcodes are increasingly discussed as packages rather than standalone upgrades. Two competing bundles have formed:
LNHANCE: combines CTV (BIP-119), CSFS (BIP-348), OP_INTERNALKEY (BIP-349), and OP_PAIRCOMMIT (BIP-442). This bundle targets Lightning Network improvements including LN-Symmetry (eltoo), improved channel factories, and non-interactive channel opens. All four component BIPs remain in draft status.
BIP-448 bundle: combines OP_TEMPLATEHASH (BIP-446), CSFS (BIP-348), and OP_INTERNALKEY (BIP-349). This bundle was proposed in March 2026 by Greg Sanders, Antoine Poinsot, and Steven Roose as an alternative to LNHANCE. It replaces CTV with OP_TEMPLATEHASH, which pushes a hash onto the stack rather than directly verifying it, giving scripts more flexibility. BIP-448 also carries no activation timeline.
In June 2025, a public letter signed by several Bitcoin developers urged the community to activate CTV and CSFS together as a minimal, well-reviewed pair. This "CTV+CSFS" approach represents the smallest viable covenant package. For analysis of which path is likely to gain consensus, see our covenant activation path forward research article.
Activation Readiness
No covenant opcode has activated on Bitcoin mainnet. The following summarizes where each proposal stands as of late 2026:
- CTV (BIP-119): a community-released activation client set a signaling window starting March 30, 2026, with a 90% miner threshold and March 2027 timeout. As of mid-2026, miner signaling was at 0%. Bitcoin Core has not merged CTV deployment parameters.
- OP_CAT (BIP-347): the specification reached "Complete" status on March 1, 2026, but the BIP deliberately omits activation parameters. The mainnet implementation (Bitcoin Core PR #29247) remains unmerged. OP_CAT is active on Bitcoin Inquisition signet, Liquid, and Fractal Bitcoin.
- OP_VAULT (BIP-345): withdrawn in May 2025. Superseded by BIP-443.
- TXHASH (BIP-346): draft since September 2023 with no signet deployment or activation parameters.
- OP_CCV (BIP-443): draft since May 2025, under community review with no activation timeline.
- GSR: initial BIP drafts (varops budget and tapscript leaf version) submitted to the BIPs repository. No activation timeline. Updated presentation given in November 2026.
For a broader view of soft fork activation history and precedent, see our soft fork activation history research.
Use Cases Unlocked by Covenants
Vaults
Vaults let users set up a time-delayed withdrawal process: funds can be spent to a pre-committed destination after a delay period, or immediately clawed back to a recovery address if the owner detects unauthorized access. CTV enables simple vault constructions. OP_CCV (BIP-443) provides a more general vault primitive that supports reactive recovery without depending on CTV. For a deep dive, see our OP_VAULT custody analysis.
Congestion Control
During fee spikes, a sender can commit to a batch of payments in a single on-chain transaction using CTV. Each recipient can later claim their funds individually when fees are lower. This reduces the immediate demand for block space and allows payment processors to confirm commitments without waiting for each individual payment to settle.
Payment Pools and Channel Factories
Multiple parties can share a single UTXO with pre-planned split transactions, reducing the on-chain footprint of Lightning channels and enabling non-interactive channel opens. Protocols like Ark and CoinPool rely on covenant primitives for their UTXO sharing schemes. Layer 2 solutions like Spark also benefit from covenant-enabled scaling, as more expressive Script capabilities can improve the trust assumptions and efficiency of off-chain protocols built on Bitcoin.
Discreet Log Contracts
DLCs currently require pre-signing a large number of contract execution transactions (one per possible outcome). Covenants, particularly CSFS combined with CTV or TXHASH, can reduce the number of pre-signed transactions by constraining outputs directly. OP_CAT-based approaches can also compress DLC constructions, though the resulting scripts are more complex to implement. See our DLC platform comparison for the current landscape.
Developer Tooling and Testing
Bitcoin Inquisition, a signet-based fork of Bitcoin Core maintained by Anthony Towns, is the primary testing ground for covenant proposals. It currently enforces CTV (BIP-119), OP_CAT (BIP-347), and CSFS (BIP-348). Developers can test covenant scripts against real-world conditions without risking mainnet funds.
Miniscript, the structured subset of Bitcoin Script used by most modern wallets, does not yet support covenant opcodes. Any activated covenant opcode would need Miniscript integration for wallet-level adoption. Descriptor wallets, PSBTs, and signing libraries like libsecp256k1 would also require updates.
OP_CAT has the broadest testing exposure outside of signet: it runs on Liquid (Blockstream's federated sidechain) and Fractal Bitcoin. Approximately 74,000 OP_CAT transactions have been recorded on Inquisition signet, providing real data on script sizes and execution costs.
Do Covenants Make Bitcoin More Like Ethereum?
This is the most common objection from the ossification camp. The short answer: no. Even the most expressive covenant proposals do not give Bitcoin Turing-complete scripting. Bitcoin Script remains a stack-based language with no loops, no persistent state, and no ability to call external contracts. Covenants add constraints on how outputs are structured: they do not add general-purpose computation.
CTV, the most conservative proposal, adds a single opcode that verifies a hash. OP_CAT re-enables a concatenation primitive. Neither introduces global state, accounts, gas metering, or the execution model that defines Ethereum. The concern is better framed as a question of complexity: each new opcode expands the attack surface of consensus code, and the Bitcoin community applies a high bar for justifying that expansion. The debate is about risk tolerance and development pace, not about converging with Ethereum's design.
Frequently Asked Questions
Which Bitcoin covenant proposal is closest to activation?
CTV (BIP-119) has the most activation momentum. A community activation client was released in early 2026 with a signaling window starting March 30, 2026, a 90% miner threshold, and a March 2027 timeout. However, as of mid-2026, miner signaling was at 0%, and Bitcoin Core has not merged CTV deployment parameters. OP_CAT (BIP-347) has the most complete specification (status: Complete since March 2026) but no activation client. No covenant opcode is imminent.
What is the difference between OP_CTV and OP_CAT?
CTV verifies that a spending transaction matches a pre-committed template hash. It is narrow, deterministic, and easy to reason about, but limited to fixed spending paths. OP_CAT concatenates two stack elements, which is a general-purpose primitive that can be combined with existing opcodes to construct covenants, verify Merkle proofs, and more. CTV is a scalpel for specific use cases. OP_CAT is a building block that enables a broader range of applications at the cost of script complexity.
Can Bitcoin covenants enable smart contracts?
Covenants enable constrained spending conditions, which are a form of programmability. They can enforce vault logic, batch payments, and multi-party protocols. However, they do not enable Ethereum-style smart contracts with persistent state, loops, or cross-contract calls. Even OP_CAT-based constructions that approach arbitrary computation verification require off-chain computation with on-chain verification, not on-chain execution. Bitcoin remains a verification layer, not a computation layer.
What is the LNHANCE proposal?
LNHANCE is a soft fork bundle that combines four opcodes: CTV (BIP-119), CSFS (BIP-348), OP_INTERNALKEY (BIP-349), and OP_PAIRCOMMIT (BIP-442). Together, these primitives enable LN-Symmetry (eltoo), non-interactive channel opens, improved vault constructions, and more efficient DLCs. All component BIPs remain in draft status. A competing bundle (BIP-448) swaps CTV for OP_TEMPLATEHASH (BIP-446).
What happened to OP_VAULT?
OP_VAULT (BIP-345) was withdrawn by its author James O'Beirne in May 2025. The vault use case is now addressed by OP_CHECKCONTRACTVERIFY (BIP-443), a more general opcode authored by Salvatore Ingala that can implement the same vault pattern alongside other constructions like UTXO sharing schemes. BIP-443 remains a draft proposal under review.
What is the Great Script Restoration?
The Great Script Restoration (GSR) is a proposal by Rusty Russell to re-enable most of the opcodes Satoshi disabled in 2010 and introduce a cost function that limits each opcode's computational expense to prevent denial-of-service attacks. Russell and Julian Moik submitted initial BIP drafts for the varops budget and a new tapscript leaf version. An updated presentation in November 2026 outlined a path toward post-quantum signature verification in Script. GSR is the most ambitious proposal and the furthest from activation.
Do covenants affect Bitcoin fungibility?
Recursive covenants theoretically allow coins to carry permanent spending restrictions, which could impair fungibility if certain UTXOs become "tainted" with unwanted conditions. Non-recursive covenants like CTV do not carry this risk because the restriction expires after one transaction. This distinction is a significant factor in the debate: proposals like CTV and TXHASH are intentionally non-recursive to preserve fungibility, while OP_CAT and OP_CCV enable recursive patterns that require more careful analysis.
This tool is for informational purposes only and does not constitute financial advice. Proposal statuses reflect publicly available information as of late 2026 and may have changed. BIP statuses, activation timelines, and miner signaling data should be verified against the Bitcoin BIPs repository and Bitcoin Optech before making technical decisions.
Build with Spark
Integrate bitcoin, Lightning, and stablecoins into your app with a few lines of code.
Read the docs →
