Close Menu
  • Coins
    • Bitcoin
    • Ethereum
    • Altcoins
    • NFT
  • Blockchain
  • DeFi
  • Metaverse
  • Regulation
  • Other
    • Exchanges
    • ICO
    • GameFi
    • Mining
    • Legal
  • MarketCap
What's Hot

Following Today’s Interest Rate Decision, Latest Forecasts for the Fed’s April Interest Rate Decision Have Emerged—Here’s What You Need to Know

11/04/2026

Hoskinson Clarifies ‘Bad Behavior’ Remark on Ripple’s Garlinghouse, Warns of ‘Gensler 2.0’ Crypto Bill

11/04/2026

Binance offers UAE staff temporary relocation as Middle East conflict disrupts region

11/04/2026
Facebook X (Twitter) Instagram
  • Back to NBTC homepage
  • Privacy Policy
  • Contact
X (Twitter) Telegram Facebook LinkedIn RSS
NBTC News
  • Coins
    1. Bitcoin
    2. Ethereum
    3. Altcoins
    4. NFT
    5. View All

    Price Breaks All-Time High Record Again – Here’s What We Know

    04/08/2025

    Bitcoin Switzerland? El Salvador to Host First Fully Native Bitcoin Capital Markets

    04/08/2025

    Bitcoin Breaks $119K, but XLM and HBAR Aren’t Impressed by Its Meager Percentage Gain

    04/08/2025

    High-Stakes Consolidation Could Define Q3 Trend

    04/08/2025

    Ethereum Liquidity Dries Up As Demand Fails To Keep Pace

    11/04/2026

    Ethereum Price Surges Over 5%, Bulls Ignite Strong Upside Momentum

    11/04/2026

    Ethereum’s Role Expands As It’s Considered For Euro Stablecoin Settlement

    11/04/2026

    Ethereum Price Stuck in Range as $2K Emerges as Key Pivot Zone

    11/04/2026

    The Sui Ecosystem’s Top 3 Altcoin Performers

    29/07/2025

    Floki Launches $69000 Guerrilla Marketing Challenge With FlokiUltras3

    28/07/2025

    Crypto Beast denies role in Altcoin (ALT) crash rug pull, blames snipers

    28/07/2025

    $1.6 Billion XRP Surge: Here’s What’s Unfolding

    28/07/2025

    CZ skips NFTs, chooses Amazon for book launch

    09/04/2026

    Modern Lion Joint Venture Faces Liquidation

    06/04/2026

    NFT Debate Deepens as Experts Clash on Market’s Future

    06/04/2026

    Justin Bieber Purchased a Bored Ape NFT for $1.3 Million; Here is How Much It Is Worth Today

    05/04/2026

    Following Today’s Interest Rate Decision, Latest Forecasts for the Fed’s April Interest Rate Decision Have Emerged—Here’s What You Need to Know

    11/04/2026

    Hoskinson Clarifies ‘Bad Behavior’ Remark on Ripple’s Garlinghouse, Warns of ‘Gensler 2.0’ Crypto Bill

    11/04/2026

    Binance offers UAE staff temporary relocation as Middle East conflict disrupts region

    11/04/2026

    Pundi X and PROM Unite to Power AI-Driven DeFi Economy

    11/04/2026
  • Blockchain

    Pundi X and PROM Unite to Power AI-Driven DeFi Economy

    11/04/2026

    TitanRWA Taps GoldFinger to Broaden Gold-Driven RWA Tokenization

    11/04/2026

    Filecoin Pushes Web3 Adoption With Permanent Storage Solution

    11/04/2026

    Tether Launches QVAC SDK as the AI Universal Building Block that Runs, Trains, and Evolves Intelligence Across any Device and Platform

    11/04/2026

    Pyth Network Unveils Revolutionary Data Marketplace with Backing from Fidelity and Major Financial Titans

    11/04/2026
  • DeFi

    Manifest Brings Options Trading to Solana in Strategic Dual Finance Partnership

    11/04/2026

    Sui Foundation’s Strategic Investment in Splyce Finance Accelerates DeFi Innovation

    11/04/2026

    Trump-backed WLFI token drops 12% to record lows after team defends multi-million lending position

    11/04/2026

    WLFI Borrowing Raises Fresh Risk Questions After $40M Coinbase Prime Transfer

    11/04/2026

    Crypto yields are falling below TradFi

    11/04/2026
  • Metaverse

    Planet Hares Partners With Magne.AI To Bridge Web3 Metaverse With Smartphone Mobile-Ready Applications For Mass Adoption

    08/04/2026

    Mark Zuckerberg’s Meta launches new AI initiative after metaverse retreat

    25/03/2026

    Meta partners with Arm to develop new CPUs for AI deployments

    24/03/2026

    Land values capitulate as $24M metaverse plot collapses to just $9,000

    20/03/2026

    Meta to shutter Horizon Worlds metaverse on VR in favor of mobile

    18/03/2026
  • Regulation

    Following Today’s Interest Rate Decision, Latest Forecasts for the Fed’s April Interest Rate Decision Have Emerged—Here’s What You Need to Know

    11/04/2026

    FED Publishes Key Economic Projections Following Interest Rate Decision

    11/04/2026

    It’s Here, FED Has Announced Its Interest Rate Decision—Here’s Bitcoin’s Initial Reaction

    11/04/2026

    74% of institutions expect crypto prices to rise in 12 months: Survey

    11/04/2026

    Japan’s SBI VC Trade launches retail USDC lending as stablecoin use grows

    11/04/2026
  • Other
    1. Exchanges
    2. ICO
    3. GameFi
    4. Mining
    5. Legal
    6. View All

    Binance offers UAE staff temporary relocation as Middle East conflict disrupts region

    11/04/2026

    Bitget Launches IPO Prime With Tokenized SpaceX Access Through Republic

    11/04/2026

    Less Than 10% Survive a Year, Crypto Listings Face Tough Odds

    11/04/2026

    Whale Shorts $75M Oil at 20x Leverage

    11/04/2026

    South Korea Poised to Lift Ban on Domestic ICOs After 7 Years

    19/12/2025

    Why 2025’s Token Boom Looks Both Familiar and Dangerous

    31/10/2025

    ICO for bitcoin yield farming chain Corn screams we’re so back

    22/01/2025

    Why 2025 Will See the Comeback of the ICO

    26/12/2024

    NFT game studio boss says not paying staff ‘works for company cash flow’

    09/04/2026

    Japan Has 12 Million Crypto Users and a Blueprint for Web3 Gaming

    08/04/2026

    PlutonAI Joins Forces with Ispoverse to Transform AI Agents in Gaming

    07/04/2026

    NeoFantasy Game Partners With AetheriumX To Advance Metaverse Gaming Global Expansion

    03/04/2026

    Bitcoin miner fees are close to zero as cost to mine nears $80,000 with difficulty about to drop 5%

    11/04/2026

    Cloud Mining Giant Extracts 214 Bitcoin, Amassing 1,794 BTC Treasury

    11/04/2026

    Cango Completes $442M Bitcoin Liquidation and Secures $75M in New Capital for AI Pivot

    09/04/2026

    Chinese Automotive Company Cango Announces It Has Sold Part of Its Bitcoin Holdings! Here Are the Details

    08/04/2026

    Hoskinson Clarifies ‘Bad Behavior’ Remark on Ripple’s Garlinghouse, Warns of ‘Gensler 2.0’ Crypto Bill

    11/04/2026

    India Sends Section 148A Notices to Crypto Traders for Unreported Crypto Income

    11/04/2026

    the real legacy of Biden-era crypto policy

    11/04/2026

    DOJ rejects Roman Storm defense, says Supreme Court precedent does not apply to Tornado Cash case

    11/04/2026

    Following Today’s Interest Rate Decision, Latest Forecasts for the Fed’s April Interest Rate Decision Have Emerged—Here’s What You Need to Know

    11/04/2026

    Hoskinson Clarifies ‘Bad Behavior’ Remark on Ripple’s Garlinghouse, Warns of ‘Gensler 2.0’ Crypto Bill

    11/04/2026

    Binance offers UAE staff temporary relocation as Middle East conflict disrupts region

    11/04/2026

    Pundi X and PROM Unite to Power AI-Driven DeFi Economy

    11/04/2026
  • MarketCap
NBTC News
Home»Bitcoin»What the heck is CatVM?
Bitcoin

What the heck is CatVM?

NBTCBy NBTC22/05/2024No Comments8 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email


Taproot Wizards released a cartoon yesterday called CatVM. I will not refer to it as a whitepaper, those are real academic documents for adults. In the cartoon, interspersed amongst the absurd childish narratives, were a few valuable technical insights regarding different scaling proposals in the Bitcoin ecosystem. Of course, in true cartoon fashion, buried between wild exaggeration and embellishment.

The end goal of the cartoon was to propose a new mechanism for moving in and out of scaling layers built on top of Bitcoin. To disentangle that actual proposal from the cartoon, we’ll have to break down the two pieces involved.

The Building Blocks

Rijndael’s first OP_CAT experiment was constructing a vault, a scheme that allows a user to create an intermediate “staging” transaction to withdraw their funds from the vault. This kicks off a timelock, during which they can at any time send their funds back to the vault or a secure cold storage wallet, and after the timelock the user can freely withdraw the funds to the destination they chose when beginning the withdrawal process. These are the only two ways bitcoin sent to the vault script can be spent.

Explaining the full mechanics of how this is accomplished is essentially an article in itself, so I’m going to do something I usually don’t and hand waive this away as “magic.” (Explained here by Andrew Poelstra) What this “magic” allows you to do, by creating non-standard Schnorr signatures and with the help of OP_CAT, is to build the transaction the signature check is against on the script stack. This lets you enforce that certain parts of the transaction are exactly as defined ahead of time. It also allows you to put the output from a previous transaction on the stack in the process of building the transaction spending it, meaning you can compare outputs from the spending transaction against outputs from the previous transaction. This allows you to guarantee by comparing them that certain parts of the previous transaction’s outputs match certain parts of the new outputs. I.e. the script, or an amount. So you can “carry forward” parts of the old outputs into the new ones, and enforce that.

Something else you can do with OP_CAT, which did not need Rijndael tinkering and experimenting with to prove, is verify merkle tree branches. Because you can CAT stack items together, and Bitcoin already supports hashing data on the stack, you can slowly build up a merkle tree root from a leaf node with the interior nodes. Hash two pieces together to get one hash, hash that with the pair hash, and so on. Eventually you get the root hash on the stack. You can then compare it with OP_EQUAL against a predefined root hash in the locking script.

Unilateral Withdrawal

These two building blocks are enough to facilitate a unilateral withdrawal mechanism from a group shared UTXO. A merkle root can be embedded in a transaction using OP_RETURN or another mechanism that commits to a leaf node for each user. The UTXO script can be structured so that any user with a balance can attempt to withdraw it. To do so they would provide the merkle branch committing to the amount they are entitled to, the authorization proof such as a public key to check a signature against, and construct the transaction on the stack to verify the appropriate conditions are met.

Similar to Rijndael’s OP_CAT vault, this withdrawal transaction would function as a staging point. User funds would be restricted by a timelock, and they would not be capable of completing the withdrawal until it expires. At any time before the timelock expires, any other user can create a fraud proof to stop the withdrawal and shove funds back into the group UTXO script. They can do this because of OP_CAT’s ability to verify merkle trees. If someone has used a specific merkle branch to withdraw funds from the UTXO before, then that was included in a block somewhere. By constructing a transaction containing the SPV proof of that transaction inside an actual block, which can use OP_LESSTHANOREQUAL to verify the blockheader meets some minimum difficulty, they can prove on the stack that the merkle branch was used before. This allows duplicate withdrawals to be prevented.

In addition to this, because you can use the “CAT on the stack” trick to ensure specific pieces of a previous transaction must be included in the next, you can guarantee that the current merkle root is carried forward into the next transaction after a successful withdrawal. You can also guarantee that change from the withdrawal goes back into the group sharing script. This guarantees that after one user withdraws their funds, the change UTXO is locked with a script that allows any remaining user to withdraw, and so on. Any user can unilaterally withdraw their funds at any time in any order, with the guarantee that the remainder of funds are still accessible to the rest of the users.

The VM Part

Readers should be familiar with the basic idea of BitVM. You can take an arbitrary computation and break it up into each of its constituent pieces and embed them in a large taproot tree, turning that computation into a back and forth challenge/response game. This allows you to lock bitcoin with more complicated conditions than is directly supported by bitcoin script itself. The only real shortcoming is the need to craft a massive amount of pre-signed transactions to facilitate this.

The requirement to use pre-signed transactions is so that in the challenge/response dynamic, you can guarantee that coins are spent back into the large taproot tree encoding it unless an exit condition one way or the other is reached. OP_CAT and the ability to “carry forward” data from previous transactions allows you to guarantee that without needing pre-signed transactions.

So not only does this scheme allow any user to unilaterally exit on their own, it also allows locking conditions supported by a second layer that are not supported by Bitcoin script to actually be enforced in the withdrawal process. I.e. if some coins were encumbered by a smart contract the base layer doesn’t understand, and then withdrawn from the second layer, those more complicated conditions could still be settled correctly on the base layer as the coins are withdrawn.

The Missing Piece

One thing that OP_CAT does not enable is updating a merkle tree root representing user balances off-chain verifiably. It can enable an already committed state to facilitate unilateral withdrawals, but that is because a whole section of the tree is actually put on-chain and verified. To update that root off-chain by definition means you are not putting the data on-chain. This represents a problem. There is no way with just CAT to efficiently verify that all changes to the merkle tree were authorized properly by the relevant users.

Someone(s) has to be trusted, and by the nature of things capable of spending the UTXO however and wherever they want, to efficiently replace an old state root with a new one to represent all off-chain balance changes. A new opcode in addition to OP_CAT, such as OP_ZKVERIFY, would be needed to do this in a trustless manner.

This wouldn’t be the end of the world without OP_ZKVERIFY though. The entity updating the merkle root for off-chain transfers could be an n-of-n multisig, with 100% of the participants required to sign off on any root changes. This boils down to the same trust model as BitVM based pegs, where as long as a single honest participant exists, no one’s funds can be stolen. It is a stark improvement over existing BitVM designs however when it comes to the withdrawal process.

In BitVM pegs, users do not have a unilateral withdrawal mechanism. Peg operators must be trusted to fulfill user withdrawals, knowing that they can claim back funds they have spent doing so relatively trustlessly from the BitVM peg. While the incentives of this are very solid, it still does require users essentially getting permission from someone else to exit the system, they cannot do it on their own. With CatVM, users can claim back their funds unilaterally, and an operator is not required to front their own liquidity to process withdrawals.

Wrapping Up

Overall, the design is incomplete in terms of construction. This is not something I would call a Layer 2 in and of itself. It is the core of one, the mechanism and structure for how funds are locked into a Layer 2, and the process for how users can withdraw their funds. It definitely has a lot of flexibility and usefulness to it.

In the worst case scenario, users do not need anyone’s permission to safely claim their funds back on-chain. It also allows more flexible programmability of funds, while still carrying the enforcement of those conditions to the base layer in the event of worst case unilateral exits. If one day we do eventually get something like OP_ZKVERIFY, the off-chain state progression can become an actually trustless process.

I don’t expect any concrete demos in the near future, but it definitely is a sound idea in my opinion, and something worth considering. It also shows that the wizards are doing a little more than just pumping stupid jpegs.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
NBTC

Related Posts

Price Breaks All-Time High Record Again – Here’s What We Know

04/08/2025

Bitcoin Switzerland? El Salvador to Host First Fully Native Bitcoin Capital Markets

04/08/2025

Bitcoin Breaks $119K, but XLM and HBAR Aren’t Impressed by Its Meager Percentage Gain

04/08/2025

High-Stakes Consolidation Could Define Q3 Trend

04/08/2025
Add A Comment

Comments are closed.

Top Posts
Get Informed

Subscribe to Updates

Get the latest news from NBTC regarding crypto, blockchains and web3 related topics.

Your source for the serious news. This website is crafted specifically to for crazy and hot cryptonews. Visit our main page for more tons of news.

We're social. Connect with us:

Facebook X (Twitter) LinkedIn RSS
Top Insights

Following Today’s Interest Rate Decision, Latest Forecasts for the Fed’s April Interest Rate Decision Have Emerged—Here’s What You Need to Know

11/04/2026

Hoskinson Clarifies ‘Bad Behavior’ Remark on Ripple’s Garlinghouse, Warns of ‘Gensler 2.0’ Crypto Bill

11/04/2026

Binance offers UAE staff temporary relocation as Middle East conflict disrupts region

11/04/2026
Get Informed

Subscribe to Updates

Get the latest news from NBTC regarding crypto, blockchains and web3 related topics.

Type above and press Enter to search. Press Esc to cancel.