Bitcoin Sidechains Explained: How They Work & Tradeoffs
Bitcoin sidechains are separate blockchains connected to Bitcoin mainnet via a two-way peg. Learn how they work and the top sidechains active today.
Key takeaways
- A sidechain is a separate blockchain linked to Bitcoin via a two-way peg, not a layer built on top of it.
- The two-way peg locks BTC on the mainchain and mints an equivalent token on the sidechain. Supply is always 1:1.
- Sidechains have independent consensus mechanisms, meaning they do not inherit Bitcoin's security.
- The core tradeoff: more functionality in exchange for weaker security guarantees compared to mainnet.
A Bitcoin sidechain is an independent blockchain that runs in parallel to the Bitcoin mainnet and connects to it through a two-way peg – a mechanism that lets BTC move freely between the two chains.
Each sidechain operates with its own consensus rules, block times, and feature set, without requiring any changes to Bitcoin's base protocol. That separation is the key. Sidechains don't modify Bitcoin. They extend it quietly, on the side.
What Is a Bitcoin Sidechain?
| In short: A Bitcoin sidechain is a separate blockchain that runs parallel to the Bitcoin mainnet, connected through a two-way peg that allows BTC to move in and out of the sidechain. |
Unlike a fork or an altcoin, a sidechain doesn't compete with Bitcoin. It defers to it. The BTC that enters a sidechain is locked on the mainchain first – no new supply is created. What circulates inside the sidechain is a representation of that locked BTC, redeemable at any time.
"A sidechain is not a formal term, but it frequently refers to a trust-minimized blockchain enabling payments in a foreign crypto-asset which is native to another blockchain." – Sergio Lerner, Chief Scientist at RootstockLabs
The concept was first formalized in 2014, when researchers at Blockstream published a whitepaper describing a secondary blockchain linked to Bitcoin's mainchain through a cryptographic two-way peg.
The paper proposed a system where developers could experiment with new features, including faster blocks, smart contracts, and privacy tools, without touching Bitcoin's core protocol.
That design principle still holds today.
Why Do Bitcoin Sidechains Exist?
| In short: A Bitcoin sidechain is a separate blockchain that runs parallel to the Bitcoin mainnet, connected through a two-way peg that allows BTC to move in and out of the sidechain. |
Bitcoin's base layer processes roughly 7 transactions per second, with an average block time of 10 minutes and no native smart contract support. Those constraints are part of what makes Bitcoin tamper-resistant. But they also mean Bitcoin can't natively support fast settlement between exchanges, confidential transfers, or DeFi applications.
Sidechains address this without requiring a hard fork or protocol change at the base layer. Specifically, they make it possible to:
- Run smart contracts using BTC as the underlying asset
- Settle transactions faster – from 10-minute blocks down to 1–2 minutes
- Issue tokens natively on Bitcoin rails
- Add privacy features like confidential transaction amounts
- Experiment with new opcodes and consensus rules in a contained environment
If something goes wrong on a sidechain, the Bitcoin mainchain is unaffected. The two systems are isolated by design.
>> Learn more: Bitcoin Layer 1 vs Layer 2: Why Bitcoin Needs Both
How Does a Bitcoin Sidechain Work?
| In short: A Bitcoin sidechain works by locking BTC on the mainchain and issuing an equivalent token on the sidechain — a process governed by the two-way peg, which ensures supply never diverges between the two chains. |
Two-way peg mechanism
The two-way peg is the bridge between Bitcoin and a sidechain. It has two directions:
Peg-in (Bitcoin → Sidechain)
- The user sends BTC to a special lock address on the Bitcoin mainchain
- After a set number of confirmations (e.g., 102 blocks on Liquid, which takes ~17 hours), the peg is considered final
- An equivalent amount of wrapped BTC is minted on the sidechain (e.g., L-BTC on Liquid, RBTC on Rootstock)
- The user can now transact on the sidechain
Peg-out (Sidechain → Bitcoin)
- The user submits a peg-out request on the sidechain
- The wrapped token is burned
- After the required sidechain confirmations, the original BTC is released on the mainchain
At all times, the total supply of wrapped tokens on the sidechain equals the BTC locked on the mainnet – a 1:1 peg is maintained by the protocol.
Independent consensus model
Each sidechain runs its own consensus mechanism, separate from Bitcoin's Proof-of-Work. This is what gives sidechains flexibility and where they introduce risk.
Common consensus approaches used by Bitcoin sidechains include:
- Federated consensus: A fixed committee of known entities signs and validates blocks
- Merge mining (AuxPoW): Miners simultaneously mine Bitcoin and the sidechain, using the same computational work
- Proof-of-Stake variants: Validators stake assets as collateral to participate in consensus
Because sidechains don't inherit Bitcoin's PoW security, the safety of assets on a sidechain depends entirely on the honesty and robustness of that sidechain's own validator set.
Federation vs. Merge mining
These are the two dominant approaches to securing the peg in Bitcoin sidechains today, and they represent different tradeoffs.
Federated peg relies on a predefined group of trusted entities, called functionaries, who collectively manage the multisig wallet holding the locked BTC.
Liquid Network, for example, uses 15 functionaries and requires 11 signatures to release funds. This model is simpler to deploy and operationally robust, but it introduces a trust assumption: users must believe the federation won't collude.
Merge mining (used by Rootstock) allows Bitcoin miners to secure the sidechain simultaneously with their existing mining hardware, at no additional cost. Miners include the sidechain's block hash inside a Bitcoin block header, proving they did the work.
This model imports a portion of Bitcoin's hashrate into the sidechain's security, but the sidechain still maintains its own consensus and can be attacked if enough hashrate is malicious or simply stops participating.
→ Neither approach achieves Bitcoin-level trustlessness, but they represent meaningfully different risk profiles. Federation is more predictable, while merge mining is more decentralized but also more dynamic.
BytebyByte's Take
What's underappreciated about Bitcoin sidechains is that the two-way peg is the whole game. Every sidechain design decision, whether to use federation, merge mining, or something novel like Spiderchain, is really an answer to one question: who do you trust to hold the locked BTC? Liquid says: trust a known consortium. Rootstock says: trust Bitcoin miners. Botanix says: trust nobody individually, rotate the multisig on every block. The technical differences are real, but the underlying question is always about custody.
Bitcoin Sidechain vs. Layer 2: What's the Difference?
| In short: A sidechain and a Layer 2 are both off-chain scaling solutions, but they differ in one fundamental way: a Layer 2 inherits its security from Bitcoin's base layer, while a sidechain does not. |
This distinction matters more than it sounds. When you use the Lightning Network, Bitcoin's most prominent Layer 2, your funds are ultimately secured by on-chain Bitcoin smart contracts. If a counterparty misbehaves, you can always force-close your channel and settle on the mainchain. Your security floor is Bitcoin itself.
On a sidechain, you don't have that floor. If the sidechain's validator set is compromised, colluding, or simply offline, your funds on the sidechain are at risk – regardless of what happens on the Bitcoin mainchain.
Sidechain | Lightning Network (L2) | |
| Security source | Own consensus mechanism | Inherits from Bitcoin L1 |
| Asset custody | Locked in federation/peg contract | Locked in on-chain state channels |
| Smart contracts | Supported (varies by chain) | Not natively supported |
| Speed | Fast (1–2 min, varies) | Near-instant |
| Typical use case | DeFi, settlement, tokenization | Micropayments, retail |
| Trust model | Trust the sidechain validators | Trust Bitcoin's PoW |
Sidechains trade security for programmability. Lightning trades programmability for speed. Neither is universally "better". They serve different use cases.
Sidechains are often grouped under the "Layer 2" umbrella in general crypto discussions. Technically, that's inaccurate. A true Layer 2 derives its security from the parent chain. Sidechains are sovereign chains, which are closer to parallel blockchains that happen to be pegged to Bitcoin than to second layers built on top of it.
Popular Bitcoin Sidechains Today
| In short: Three sidechains stand out as the most active and well-established in the Bitcoin ecosystem right now: Liquid, Rootstock, and Botanix. Each targets a different use case and uses a different security model. |
Liquid Network
Liquid is a Bitcoin sidechain built by Blockstream and launched in October 2018. It is designed specifically for institutional users who need fast, confidential Bitcoin settlement.
How it works:
- Governed by the Liquid Federation, a consortium of 87 member organizations as of Q1 2026
- A subset of 15 functionaries operates the network's consensus, each running a hardware security module (HSM)
- Requires 11 out of 15 functionary signatures to produce a valid block
- Block time: 1 minute. Settlement finality: ~2 minutes
- Peg-in requires 102 Bitcoin confirmations (~17 hours) before L-BTC is minted
What it enables:
- Confidential Transactions: transaction amounts are hidden from public view while still being cryptographically verifiable
- Fast settlement between exchanges without waiting for Bitcoin's 10-minute blocks
- Native asset issuance: stablecoins, tokenized securities, and other digital assets can be issued on Liquid rails
Recent data: Liquid processed 1,163,119 transactions in Q1 2026 – nearly 5x the same quarter in 2025. The network has posted 15 consecutive months of transaction growth. Total value locked has surpassed $3.27 billion, with Galaxy Digital forecasting it could reach $3.5 billion driven by institutional demand.
Source: Liquid Federation Quarterly Update Q1 2026 (blog.liquid.net)
RSK (Rootstock)
Rootstock, commonly referred to as RSK, is a Bitcoin sidechain launched in January 2018 that brings EVM-compatible smart contracts to Bitcoin. Its goal is to enable decentralized finance using BTC as the base asset, without modifying Bitcoin itself.
How it works:
- Uses merge mining: Bitcoin miners can simultaneously mine RSK alongside Bitcoin using the same SHA-256 hardware, at no additional cost
- The sidechain is EVM-compatible, meaning Solidity smart contracts and Ethereum development tools work natively on RSK
- Native token: RBTC (1:1 peg with BTC, no pre-mine, no inflation)
- Block time: 30 seconds
Security posture: In Q1 2026, 84.01% of Bitcoin's total hashrate was participating in Rootstock's merge mining, with an average quarterly hashrate of 833.92 EH/s, making it one of the most hashrate-secured smart contract platforms outside Bitcoin itself. Merged mining adoption among observed mining pools reached 93.1%.
Caveat: High hashrate participation does not automatically translate to active usage. Messari's Q1 2025 State of Rootstock report noted that while merged mining participation averaged 81%, DeFi TVL and active address counts were lower than hashrate growth suggested.
Sources: Rootstock Merged Mining Insights Report Q1 2026 (rootstock.io); CryptoSlate analysis, May 2026
Botanix (Spiderchain)
Botanix is the newest major Bitcoin sidechain on this list, having launched its mainnet on July 1, 2025. It is EVM-compatible and built around a novel security architecture called Spiderchain, designed to address the centralization risks of traditional federated sidechains.
How it works:
- At mainnet launch, Botanix operated with a 16-node founding federation, including validators such as Galaxy Digital, Fireblocks, Alchemy, and Antpool
- Botanix Labs has transferred governance and consensus to these independent node operators. No single entity controls the network
- The longer-term Spiderchain design introduces rotating multisig wallets. A new multisig vault is created for every Bitcoin block, with validators randomly selected using Bitcoin block hashes as a source of entropy
- Validators must stake BTC, creating economic penalties for misbehavior
- Uses Proof-of-Stake consensus, with Bitcoin block hashes for randomness and finality anchoring
What it enables:
- EVM-compatible DeFi on Bitcoin: GMX and Dolomite were live at mainnet launch
- Fast exit: users can withdraw back to Bitcoin directly, without multi-day unbonding periods
- No wrapped BTC from external custodians: BTC custody is native to the Spiderchain protocol
>> Read more: Institutional Bitcoin Custody: How It Works in 2026
Important note: The full Spiderchain architecture (permissionless, dynamic validator set) is still in development. The current mainnet operates with a permissioned federation. The roadmap targets a fully decentralized, permissionless validator set as the next phase.
Sources: Blockworks (July 1, 2025); Messari Botanix Overview (February 2026); Botanix Labs blog
Security Trade-Offs: What You Need to Know
| In short: The most important thing to understand about Bitcoin sidechains is that they do not inherit Bitcoin's security, and that changes the risk calculus significantly. |
On the Bitcoin mainchain, the cost of a 51% attack is enormous. An attacker would need to acquire and sustain more than half of the global Bitcoin hashrate – currently in the range of hundreds of exahashes per second. That makes mainchain attacks economically prohibitive for any realistic adversary.
On a sidechain, the security floor is set by the sidechain's own validator set, which is typically much smaller. The specific risks depend on the model:
Federated sidechains (e.g., Liquid)
The locked BTC is controlled by a multisig wallet managed by federation members. Security depends on no collusion or compromise among the signing threshold of functionaries. In practice, functionaries are reputable institutions with HSM-protected keys, but the trust assumption is still present.
Merge-mined sidechains (e.g., Rootstock)
Security scales with Bitcoin hashrate participation, but it's not equivalent to Bitcoin's security. Merge mining is voluntary – miners opt in. If participation drops significantly, or if a large mining pool acts maliciously on the sidechain while continuing to mine Bitcoin normally, the sidechain can be attacked independently of the mainchain.
Are Bitcoin Sidechains the Future of Bitcoin Scaling?
| Direct answer: Sidechains are one meaningful piece of Bitcoin's scaling future, but not the whole picture, and their role is likely to remain specialized rather than universal. |
The Bitcoin scaling ecosystem has evolved into a multi-layered architecture, where different solutions address different problems.
- Lightning handles micropayments and instant retail transactions with near-zero fees.
- Sidechains handle programmability, settlement, and tokenization.
- Newer designs, such as BitVM-based rollups, drivechains, and sovereign rollup experiments, are exploring ways to bring stronger security guarantees to Bitcoin's second-layer ecosystem.
Each approach makes a different tradeoff. The idea that one scaling solution "wins" misreads how this ecosystem is developing.
That said, sidechains are asking users to accept a weaker security model in exchange for more features. As Bitcoin's programmability expands through other mechanisms, some use cases currently served by sidechains may become possible with stronger trust assumptions.
What sidechains are clearly good at today: institutional settlement (Liquid), Bitcoin-native DeFi (Rootstock), and EVM-compatible programmability without wrapped assets from third-party custodians (Botanix). These aren't niche applications. The $3.27 billion TVL in Liquid alone reflects real institutional demand that wasn't being met by the base layer.
BytebyByte's Perspective
Bitcoin's conservatism is also its composability surface.
Because Bitcoin doesn't change, builders know exactly what they're working with. A sidechain launched in 2018 can still rely on the same Bitcoin security guarantees it did at launch. No protocol upgrade breaks the peg model, no governance vote that changes the rules mid-game. That stability is precisely what makes sidechains viable as long-term infrastructure.
- Liquid has 87 federation members across six continents.
- Rootstock has 84% of Bitcoin's hashrate, securing it.
- Botanix launched with Galaxy Digital and Fireblocks as validators on day one.
These are institutional infrastructure built on the assumption that Bitcoin's base layer won't move. The irony is that Bitcoin's limitations created the conditions for its own ecosystem to proliferate. Sidechains emerged because of Bitcoin's constraints.
Sources and Further Reading
- Blockstream – "Enabling Blockchain Innovations with Pegged Sidechains" (2014) https://blockstream.com/sidechains.pdf
- Blockstream Developer Docs – "Liquid Network Technical Overview" https://docs.liquid.net/docs/technical-overview
- Blockstream Help Center – "What is the Liquid Federation?" https://help.blockstream.com/hc/en-us/articles/900003013143-What-is-the-Liquid-Federation
- Liquid Network Blog – "Liquid Federation Quarterly Update Q1 2026" https://blog.liquid.net/liquid-federation-quarterly-update-q1-2026/
- Rootstock (RSK) – "Merged Mining Insights Report Q1 2026" https://rootstock.io/blog/rootstock-x-bitcoin-merged-mining-insights-report-q1-2026/
- Messari – "Understanding Botanix: A Comprehensive Overview" https://messari.io/report/understanding-botanix-a-comprehensive-overview
FAQs About Bitcoin Sidechains
No. A sidechain is isolated from Bitcoin's mainchain by design. BTC locked in a sidechain peg is simply removed from active circulation on the mainnet. It doesn't alter Bitcoin's 21 million supply cap or consensus rules. If a sidechain fails catastrophically, the worst case is that users lose access to their locked BTC on the sidechain side. The Bitcoin mainchain continues operating normally.