---
title: "BitVM — definition | Nuri Glossary"
description: "A construction for verifying arbitrary computation on Bitcoin using challenge-response proofs, no consensus change needed."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/bitvm"
---

# BitVM

A construction for verifying arbitrary computation on Bitcoin using challenge-response proofs, no consensus change needed.

## Basically

BitVM lets you check any computation on Bitcoin without changing Bitcoin's rules. The work happens elsewhere, and a claim is accepted unless someone proves it false.

## Key Takeaways

- BitVM enables Turing-complete computation verification on Bitcoin without any consensus changes or soft forks. Computation happens off-chain, and Bitcoin only steps in to resolve disputes through fraud proofs.
- BitVM uses an optimistic model: a prover claims a computation result, and any verifier can challenge incorrect claims using Bitcoin Script. This works in a similar way to optimistic rollups on Ethereum.
- BitVM's primary use case is enabling trust-minimised bridges and rollups on Bitcoin. It replaces multisig-based bridges with a 1-of-n honesty assumption, where only one honest verifier is needed to prevent fraud.

## What Is BitVM?

BitVM (Bitcoin Virtual Machine) is a computing paradigm that lets you verify arbitrary computations on Bitcoin. It does not execute programs directly on-chain; instead, it verifies that off-chain computations were performed correctly. Anyone can submit a compact fraud proof to Bitcoin's Layer 1 to disprove a prover's false claim about a computation's result.
Robin Linus of ZeroSync published BitVM in October 2023, marking a significant breakthrough for Bitcoin's programmability. Ethereum's EVM executes smart contracts on-chain, but BitVM keeps all computation off-chain and uses Bitcoin only as a dispute resolution layer. The approach works within Bitcoin Script's existing limitations and requires no protocol changes.
BitVM's core insight is that any computable function can be decomposed into a circuit of basic logic gates, specifically NAND gates, and Bitcoin Script is expressive enough to verify individual gate operations. A challenge-response protocol and economic incentives then allow Bitcoin to act as a court of last resort for any computation.

## How It Works

BitVM follows an optimistic execution model: a prover stakes Bitcoin and claims that a specific computation produces a specific result. The claim is accepted if no one challenges it within a timeout period. A verifier who detects an error can initiate a challenge that resolves on-chain through fraud proofs.

## Bit Value Commitments

A bit value commitment is the most fundamental building block in BitVM. Similar to Lamport signatures, each commitment uses two hash preimages to represent a single bit.
You set a bit to "0" by revealing the preimage of hash0, or to "1" by revealing the preimage of hash1. The security guarantee is economic: if you reveal both preimages, known as equivocation, the verifier can use both as a fraud proof and seize your deposit.

## Logic Gates in Bitcoin Script

BitVM uses NAND gates as the universal building block because any computation can be constructed from NAND gates alone. Bitcoin Script has no native NAND opcode, so the behaviour is implemented by combining existing opcodes.
Each gate uses two input bit commitments and one output bit commitment. An entire program is decomposed into a circuit of these gates, potentially containing millions or billions of nodes for complex computations.

## Taproot Circuit Commitment

The prover commits to the entire program by encoding each logic gate as a tapleaf in a Taproot tree. Both parties construct matching trees, and the resulting Taproot address serves as the on-chain commitment to the full circuit. Taproot lets you commit to large numbers of spending conditions without revealing them all upfront.

## Challenge-Response Protocol

The protocol resolves a dispute through a structured on-chain interaction. You use a sequence of challenges and responses on Bitcoin.

## BitVM2: Permissionless Verification

Robin Linus and his co-authors released BitVM2 in August 2024. BitVM2 addresses the most significant limitations of the original design, and its improvements are substantial.
BitVM2's improvements make it practical for real-world applications such as bridges and rollups. BitVM1 was largely theoretical for these uses because of its data requirements and interactive constraints.

## Trust-Minimized Bitcoin Bridges

The most immediate application of BitVM is enabling trust-minimised bridges for moving BTC to Layer 2 networks and other chains. Traditional Bitcoin bridges rely on multisig schemes where users must trust a majority of signers. BitVM bridges replace this with a 1-of-n honesty model: funds are safe as long as at least one participant can detect and prove fraud.
Users lock BTC in a contract on Bitcoin and receive equivalent tokens on the target chain in a BitVM bridge. An operator pays the user from their own funds during withdrawal and then reclaims from the bridge contract. Anyone can challenge an invalid claim from the operator using BitVM's fraud proof mechanism.

## Rollups on Bitcoin

BitVM is the key enabling technology for rollups on Bitcoin, which execute transactions off-chain and submit compressed state updates to Bitcoin. BitVM provides the verification mechanism: if a rollup operator submits an incorrect state transition, any verifier can challenge it through the fraud proof protocol. Several projects are actively building Bitcoin rollups using BitVM, including Citrea, a ZK rollup, and Bitlayer; for a broader comparison of Bitcoin scaling approaches, see the guide to Bitcoin second-layer scaling.

## Verifiable Off-Chain Computation

BitVM also supports any scenario requiring verifiable computation anchored to Bitcoin, beyond bridges and rollups. Possible uses include oracle result verification, complex multi-party contract execution, and cross-chain protocol coordination. Its trustless design requires no consensus changes, so you can deploy it incrementally without network-wide coordination.

## Current Development

BitVM has moved beyond theory into active implementation. Robin Linus and Lukas George founded the BitVM Alliance, which coordinates development across multiple teams including Citrea, Bitlayer, BOB, Alpen, and ZeroSync. Key milestones include:
The research article on Bitcoin Script programmability explains how BitVM fits into broader Bitcoin programmability. The Bitcoin covenants deep dive covers another part of this topic.

## Complexity and Audit Surface

BitVM introduces significant complexity. Its pre-signed transaction trees, SNARK verification in Script, and multi-step challenge protocols all expand the potential attack surface. Implementations require extensive auditing, and the novelty of the approach means there is limited production track record.

## Data and Interaction Requirements

BitVM still requires substantial off-chain data management despite BitVM2's improvements, and operators and verifiers must maintain the full circuit data to construct and verify fraud proofs. BitVM1 could require gigabytes of data for complex programs. Participants must also be available to respond within timeout windows, creating liveness requirements.

## No Consensus-Level Enforcement

BitVM adds no new opcodes and does not change Bitcoin's consensus rules, which avoids a fork but leaves its guarantees weaker than native protocol enforcement. The security model relies on economic incentives and the assumption that at least one verifier is honest and online. Proposed covenant opcodes like OP_CAT could allow some BitVM use cases to be implemented more efficiently at the protocol level if activated.

## Bridge-Specific Risks

BitVM bridges are more trust-minimised than multisig alternatives, but they still involve bridge operators who front capital and claim reimbursement. Operator liquidity constraints, timeout misconfigurations, and challenge period attacks are all potential failure modes that bridge implementations must carefully address.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. You should always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
