Skip to content
Basis Desk

New from Basis Desk: free Telegram proxies for places where Telegram is blocked or slowed down.Connect in one tap →

Tech & Protocols · 1 min read

Bitcoin Covenant Design MATT Uses OP_CCV to Carry Dynamic State Across Taproot UTXOs

A detailed analysis outlines how the OP_CHECKCONTRACTVERIFY opcode embeds dynamic contract state and enables scalable fraud proofs without relying on static state trees.

Editorial oversight: Julian Mercer, Chief Editor
Neutral

At a glance Proposed

What happened
A technical paper detailed how the MATT framework uses the OP_CHECKCONTRACTVERIFY opcode to enforce state across Bitcoin transactions.
Why it matters
Enables dynamic numerical logic, robust vault architectures, and scalable fraud proofs without static presigned sequences.
Who is affected
Bitcoin protocol engineers, smart contract developers, and layer-2 researchers.
What's next
No next step announced
Primary source
cointelegraph.com: Bitcoin Covenants Part 5: MATT and OP_CHECKCONTRACTVERIFY — How Bitcoin could carry state across transactions

Key points

  • MATT introduces dynamic state transitions to Bitcoin by tweaking Taproot internal keys with execution data.
  • The OP_CCV opcode checks state commitments across default, deduct, and ignore modes while separating fee payments.
  • Pairing OP_CCV with OP_CAT allows onchain Merkle proof verification and scalable fraud proofs.

The Merkleize All The Things framework, known as MATT, outlines a mechanism to introduce stateful smart contracts and scalable fraud proofs to $BTC by preserving contract state across successive transactions 1. Published in a technical analysis on Nov. 11, 2026, the proposal centers on an opcode designated as OP_CHECKCONTRACTVERIFY (OP_CCV), which allows Bitcoin scripts to dynamically compute and re-embed execution state into Taproot outputs at spend time 1.

Standard Bitcoin transactions operate without native execution memory, evaluating each script independently 1. While earlier covenant models such as OP_CHECKTEMPLATEVERIFY (OP_CTV) can represent finite state systems using distinct addresses, they struggle to process numerical logic dynamically 1. In contrast, MATT alters the Taproot internal key using elliptic curve point math, tweaking public keys via $Q = P + t \cdot G$, where the tweak $t$ commits to a hash of the contract's execution data alongside the standard taptree spending paths 1. By verifying these tweaks, OP_CCV forces a spending transaction to carry validated state forward into subsequent outputs 1.

Value Preservation and Opcode Modes

Under the proposed specification, OP_CCV operates across three output inspection modes: default, deduct, and ignore 1. Default mode commits the total input value to the designated output, while deduct mode allows partial allocations, and ignore mode enforces state commitments without constraining transaction amounts 1.

Because default and deduct modes preserve output value, network fees must be supplied using separate inputs and change outputs, preventing the accidental burning of funds common to static covenant constructions 1. When paired with OP_CAT to handle byte concatenation, the framework facilitates onchain verification of Merkle trees, establishing the foundation for interactive fraud proofs 1. At the time of writing, $BTC traded at $73,636.

Sources

  1. [1] Bitcoin Covenants Part 5: MATT and OP_CHECKCONTRACTVERIFY — How Bitcoin could carry state across transactions — cointelegraph.com, November 11, 2026

Written by Basis Desk's newsroom system from the primary sources above and machine-verified against them before publication. Market figures marked "at the time of writing" come from live exchange data. Report an error: corrections@basisdesk.news · corrections policy.

Community read
How do you read this story for the assets involved? One vote a day, anonymous.
Be the first to vote

The Daily Brief, in your inbox at 07:00 ET

Five stories, the numbers that moved, what to watch. Three minutes. No hype, no advice, unsubscribe in one click.

Not financial advice. Basis Desk publishes information, not recommendations. Crypto assets are volatile and you can lose what you invest.