What is a Sidechain?
A sidechain is a separate blockchain that operates alongside a parent chain (mainnet), connected by a two-way bridge that allows assets to move between them. Unlike Layer 2 rollups — which derive their security from the main chain — sidechains maintain their own consensus mechanism, validator set, and security model.
The most prominent example is Polygon PoS, which runs as an independent Proof-of-Stake chain with its own validators, but allows ETH and ERC-20 tokens to be bridged to and from Ethereum mainnet.
Sidechains trade off mainchain security guarantees for greater flexibility, lower costs, and custom features (like faster finality or different VMs).
Sidechain vs Layer 2 Rollup
This is the most commonly confused distinction in scaling:
| Feature | Sidechain | Layer 2 Rollup (Optimistic/ZK) |
|---|---|---|
| Consensus | Own validators/sealers | Inherits mainnet consensus |
| Security | Independent — must trust sidechain validators | Settled on mainnet (fraud/validity proofs) |
| Bridge risk | Bridge can be hacked | Withdrawals verified on mainnet |
| Exit mechanism | Trust bridge operators | Cryptographic exit (can always withdraw) |
| Finality | Fast (seconds) | Slow for L1 finality (optimistic: 7 days; ZK: minutes) |
| Sovereignty | Full control over rules | Must follow L1 compatibility rules |
| Examples | Polygon PoS, Gnosis Chain, Skale | Arbitrum, Optimism, zkSync, Base |
The Key Difference: Security Model
Rollups post transaction data to the mainnet. Even if the rollup sequencer goes down, users can always reconstruct the state and withdraw their assets using data published on L1. The main chain’s security guarantees your funds.
Sidechains do not post data to the mainnet. If the sidechain’s validators collude or the bridge is compromised, your bridged assets can be lost permanently. You are trusting the sidechain’s own security — not Ethereum’s.
How Sidechains Work
Bridging Assets
- Lock: You send 10 ETH to a bridge contract on Ethereum mainnet. The ETH is locked in the contract.
- Mint: The bridge contract notifies the sidechain, which mints 10 “wrapped ETH” (WETH) tokens for you on the sidechain.
- Use: You transact with the wrapped ETH on the sidechain (fast, cheap).
- Burn: To return, you send the wrapped ETH to the sidechain bridge, which burns it.
- Unlock: The mainnet contract releases your original 10 ETH.
The bridge is the critical vulnerability. If the bridge contract is hacked, attackers can mint unlimited wrapped tokens or drain locked assets.
Consensus Models
| Sidechain | Consensus | Block Time | Validators |
|---|---|---|---|
| Polygon PoS | PoS (Bor + Heimdall) | ~2 seconds | 105+ |
| Gnosis Chain (xDai) | PoA (PoSai) | ~5 seconds | 20+ |
| Skale | Random rotation PoS | ~1 second | Variable |
| RONIN | DPoS | ~3 seconds | 22 (Axie Infinity) |
Notable Sidechains
Polygon PoS
The most widely used sidechain in crypto. Launched in 2020, it processes 3+ million transactions per day with gas fees of $0.001-$0.01. Over $4 billion in TVL. Major DeFi protocols (Aave, QuickSwap, SushiSwap) have deployments.
Polygon has since pivoted to a broader vision (Polygon 2.0) that includes ZK-based scaling, but the PoS chain remains the core product.
Gnosis Chain (formerly xDai)
An Ethereum sidechain focused on stable payments. Uses xDai (a stablecoin pegged to USD) as gas. Popular for DAO governance and community payments.
Ronin
A gaming-focused sidechain by Sky Mavis (Axie Infinity). Processed over $4 billion in NFT volume at peak. Suffered a $625M hack in March 2022 when attackers compromised 9 of 12 validator keys — highlighting the security trade-off of sidechains.
Sidechain Risks
Bridge Vulnerabilities
Bridges are the most attacked category in crypto, with over $2.5 billion stolen from cross-chain bridges:
- Ronin Bridge (Mar 2022): $625M stolen — social engineering attack on validators
- Wormhole (Feb 2022): $326M stolen — smart contract vulnerability
- Nomad (Aug 2022): $190M stolen — initialization bug allowed anyone to drain
Validator Centralization
If a sidechain has few validators, collusion or compromise becomes feasible. The Ronin hack succeeded because the attacker controlled 5 of 9 validator keys.
Chain Halts
Sidechains can halt if validators fail to reach consensus. Polygon PoS experienced several multi-hour outages in 2022-2023.
Frequently Asked Questions
Q: Is Polygon PoS a Layer 2? A: Technically, Polygon PoS is a sidechain — it has its own validator set and does not post data to Ethereum. However, Polygon has launched Polygon zkEVM and other products that are true Layer 2s. The branding can be confusing.
Q: Are sidechains safe? A: They are safe enough for most use cases, but carry more risk than mainnet or rollups. Never bridge more than you can afford to lose.
Q: What’s the difference between a sidechain and a parachain? A: Parachains (Polkadot, Kusama) are designed to interoperate from the start — they share security via the relay chain. Sidechains are independent chains that bolt onto a parent chain via a bridge.