The Hybrid Stack
Introduction
BOB represents a new paradigm in blockchain architecture: a Hybrid Layer 2 that unifies the security and liquidity of Bitcoin with the innovation and activity of Ethereum's vibrant DeFi ecosystem.
This page outlines the BOB Stack, the infrastructure choices we've made and are currently researching to achieve our vision of a hybrid network that is greater than the sum of its parts. From underlying data availability and consensus mechanisms to user-facing bridges and account abstraction, we are proud of the progress we've made on our roadmap to uniting Bitcoin and Ethereum.
BOB Core
Hybrid Data Availability
A Hybrid L2 should have censorship-resistant, unilateral exit to multiple L1s.
Ethereum DA: Blobs
BOB currently uses Ethereum's EIP-4844 blob transactions for cost-effective data availability (DA). All transaction data is periodically committed to Ethereum L1, ensuring verifiability and censorship resistance aligned with Ethereum's security model.
Users can already force withdraw their assets from BOB to Ethereum, even if BOB's sequencer goes offline. An Ethereum transaction can directly call the Native Ethereum Bridge that BOB has as an OP Stack rollup.
Bitcoin DA: Forced Withdrawal with Bitcoin Transactions
BOB is researching a hybrid data availability architecture that combines Ethereum's cost efficiency with Bitcoin's censorship resistance. We are exploring modifying our op-node
to add a check for forced withdrawal transactions on Bitcoin as part of the derivation pipeline.
This hybrid DA model offers:
- Censorship Resistance: Leverages Bitcoin's battle-tested security as fallback storage
- Forced Transaction Inclusion: Enables forced withdrawals back to Bitcoin through the BitVM bridge, even if BOB's Sequencer is offline.
Hybrid Consensus
A Hybrid L2 should inherit security from multiple L1s.
Ethereum Consensus: OP Stack Rollup
BOB launched on the OP stack as an optimistic rollup and will soon transition to a validity rollup model. This involves using SNARKs to create validity proofs that cryptographically verify the correctness of BOB state proposals, as described below. These ZK proofs enable immediate finalization of state and faster withdrawals to Ethereum, reducing withdrawal times from 7 days to just a few hours.
Bitcoin Consensus: Soft Finality via BTC-Staking
BOB will soon transition to phase two of our roadmap, introducing BTC-staked Finality Providers (FPs) to our consensus mechanism. These FPs sign BOB state proposals and receive sequencer fees in exchange for providing economic security through their staked BTC. If FPs sign competing chains, their staked BTC will be slashed, creating strong economic incentives against chain forks - a critical feature for maintaining consistency across BOB's native bridges.
The consensus process combines two key building blocks:
- Validity proofs using SNARKs to cryptographically guarantee the correctness of all BOB state transitions
- BTC-staked FPs that sign state proposals, with ⅔ stake required for finalization
This dual-consensus model provides both mathematical certainty of transaction validity through SNARKs and economic security backed by native BTC. The combination enables secure bridging to both Bitcoin and Ethereum while preventing safety failures and double-spend attacks.
BOB's ultimate goal is to settle directly on Bitcoin. While direct ZK verification on Bitcoin is unlikely in the near future, BOB's innovative combination of BitVM and BTC-staked finality creates a robust security model that doesn't require any Bitcoin forks.
Native Bridges
A Hybrid L2 should have secure asset transfers across its L1s.
OP Standard Bridge
BOB utilizes the OP Stack's native bridge contracts for secure and free asset transfers between Ethereum and BOB. This allows users to deposit and withdraw assets directly through L1 smart contracts, inheriting Ethereum's security guarantees and censorship-resistance. The bridge supports 1-click onboarding of ERC-20 tokens, stablecoins, and ETH, with over $250M in TVL secured by Ethereum's validator network.
BitVM Bridge
BOB has prototyped a two-way light-client BTC bridge powered by BitVM in partnership with Fiamma. Withdrawals of bridged BTC from BOB to Bitcoin through this BitVM bridge are verified by a ZK SNARK fraud-proof mechanism that relies on a 1-of-N trust assumption for operation. A bridged version of BTC secured by BitVM is a massive improvement in BTC safety because it unlocks unilateral exit back to Bitcoin.
In combination with our hybrid Bitcoin consensus model described above, BOB's native bridges to Bitcoin and Ethereum will both be secured by Bitcoin Finality Providers.
EVM Ecosystem
A Hybrid L2 should make Bitcoin DeFi smooth and safe for users and builders.
Intent-based bridging, smart accounts controlled by Bitcoin wallets, paying fees with BTC, and unilateral exit back to Bitcoin and Ethereum - BOB is singularly focused on bringing this UX and security to Bitcoin DeFi by providing these tools to teams building on BOB.
Smart Contracts Reading and Writing to Bitcoin
BOB uses the Ethereum Virtual Machine (EVM) to execute smart contracts developed using the Solidity programming language. BOB makes it easy for your smart contract to verify Bitcoin transactional data with our BTC light client, a low-level interface for parsing Bitcoin blocks in real-time. Trustlessly reading Bitcoin data within EVM smart contract logic unlocks a broad design space, such as P2P native BTC swaps, Ordinal auctions, and hashrate tokenization.
While the BTC light client and oracles make it easy to dynamically read Bitcoin state, we imagine a world where smart contracts write to Bitcoin as well. For example, a DAO that pools its funds to pay for a batch inscription of ordinals to airdrop its members.
The majority of Bitcoin's stack and applications built around it are implemented in Rust, including core SDKs, Lightning, and Ordinals. BOB can support Bitcoin's Rust libraries via the RISC Zero zkVM, which allows off-chain execution of Rust programs while using ZK proofs to verify correct execution in EVM smart contracts. In the future, we see this as a path to scaling as a ZK rollup directly on Bitcoin where BOB itself can be proven in the zkVM and verified by Bitcoin consensus.
Interop and Bridging
BOB Bridge is our intent-based Bitcoin bridge built on the light client verification mentioned above. It is optimized to be fast, inexpensive, and programmable. As of this writing, 30,000 users have swapped a total of 75 BTC in a trust-minimized, peer-to-peer way.
BOB Stake extends this idea by executing users' "intents" to stake, restake, or lend their BTC automatically during the bridge process. There are more than a dozen options available at the moment, some offering five different sources of yield. All options are BTC-denominated and have no risk of impermanent loss.
We built the BOB Gateway SDK to make it possible for any frontend to offer its users these options by plugging into our infrastructure. Using the BOB Gateway SDK with Dynamic's wallet abstraction, you can even send native BTC to someone's email address via BOB Pay.
BOB also supports third-party bridges to many chains. Developers working on cross-chain protocols can leverage Chainlink CCIP, LayerZero, and Hyperlane on BOB.
Hybrid Tooling
By using the same EVM as Ethereum, teams building on BOB have access to familiar and modern tooling:
- Data Analytics and Node Providers
- Cross-chain Messaging and Oracles
- Wallets, including Account Abstraction (AA), Social Login, and our SDK for connecting to Bitcoin wallets
We are particularly excited about AA providers like Safe, Pimlico, and BTC Connect that make it possible to control funds on EVM chains from a Bitcoin wallet.
Conclusion
BOB is committed to improving the security and UX for Bitcoin DeFi at every layer: inheriting security and finality from Bitcoin, building a better UX for self-custody when staking BTC, and giving all users' unilateral exit to bridge their assets back to their original L1s.
Our Hybrid L2 has already made inroads on all of these goals, with major upgrades to each of them in line of sight.