π€οΈ Sidechain Sidechain
A separate, independent blockchain that runs alongside a main chain and links to it by a two-way bridge, so assets can move between them. It sets its own rules to be faster and cheaper.
π€οΈ The simple version β a fast lane next to the highway
Picture the main chain as a busy main highway: very secure, but crowded, slow, and expensive at rush hour. A sidechain is a private express lane built right next to it. It has on-ramps and off-ramps (the bridge) so your assets can cross over, but once you're on the express lane it sets its own speed limit and its own rules. That's why a sidechain can be faster and cheaper than the chain it sits beside.
π How assets cross over β the two-way peg
You don't really "send" a coin to a sidechain. Instead, a two-way peg moves value across without copying it:
- π Lock on the main chain β your original coins are locked up and held in place
- ποΈ Mint on the sidechain β an equal amount of pegged tokens is issued to you on the sidechain
- π₯ Burn to return β to come back, the sidechain tokens are burned or locked and your originals are unlocked
π This keeps the total supply roughly 1:1, so the same coin is never spendable in two places at once.
βοΈ Why a sidechain runs its own rules
A sidechain is a full, independent blockchain. It has its own consensus mechanism, its own validators, and its own block settings. That freedom is the whole point β builders can tune it for speed, low fees, or a specific use, all without touching the main chain. Many sidechains are also EVM-compatible, which means apps and tools built for Ethereum can run on them with little change.
π§© Sidechain vs. Layer 2 β the security difference
This is the part beginners most often get wrong. A Layer 2 such as a rollup posts its data or proofs back to the main chain, so it inherits the main chain's security. A sidechain does not. It relies entirely on its own validators.
| Layer 2 (rollup) | Sidechain | |
|---|---|---|
| π‘οΈ Security | Borrows the main chain's security | Uses its own, separate security |
| π Link to main chain | Posts data/proofs back to it | Connected only by a bridge |
| βοΈ Trade-off | Safer, tied to the main chain | Faster and more flexible, but less protected |
π Real examples you might meet
- π£ Polygon PoS β an Ethereum sidechain with its own validator set; cheap and fast, popular for DeFi and NFTs (some analysts call it a "commit chain" because it periodically checkpoints to Ethereum)
- π§ Liquid Network β a Bitcoin sidechain launched in 2018 by Blockstream, used for faster, more private BTC settlement between exchanges
π¨ Things beginners should know
- π‘οΈ Separate security β a sidechain does not get the main chain's protection; it is only as safe as its own validators
- π Bridges are a target β the bridge that moves your assets is a common spot for hacks, so treat crossing over as its own risk
- βοΈ Speed has a cost β the lower fees and higher speed come in exchange for weaker security guarantees than a rollup
β FAQ
- Is a sidechain the same thing as a Layer 2?
- No. A Layer 2 like a rollup posts its data or proofs back to the main chain, so it borrows the main chain's security. A sidechain runs entirely on its own validators and consensus, so it does not inherit that security. That independence is why sidechains are usually seen as less secure than rollups, in trade for more speed and flexibility.
- What happens to my coins when I move them to a sidechain?
- Your original coins are locked on the main chain, and an equal amount of pegged tokens is issued to you on the sidechain. To return, those sidechain tokens are burned or locked and your originals are unlocked. The total supply stays roughly one-to-one, so coins are not duplicated.
- Is using a sidechain safe?
- It depends on the sidechain. Because it secures itself with its own validators, it does not get the main chain's protection. The bridge that moves your assets is also a common target for hacks. Treat a sidechain as a separate network with its own risk, not as a guaranteed extension of the main chain.