DeFi Intel

What is Sidechain?

Plain-English explainer · Updated 2026-07-02 · By DeFi Intel

How it works

A sidechain operates as an independent blockchain with its own consensus mechanism, block parameters, and often its own native token. To move assets from the main chain to the sidechain, a user locks the assets in a smart contract or a federation on the main chain. This lock event triggers the minting of equivalent tokens on the sidechain, which can then be used for transactions or applications. When moving back, the sidechain tokens are burned, and the main chain releases the original assets. This two-way peg ensures that the total supply remains consistent across both chains.

Sidechains differ from layer-2 solutions like rollups because they do not post transaction data or proofs to the main chain for security. Instead, sidechains rely on their own validators or miners, making them more independent but also requiring users to trust the sidechain's security model. For example, Liquid Network is a Bitcoin sidechain that uses a federation of functionaries to validate transactions, offering faster settlement and confidential assets. Another example is Polygon PoS, which acts as a sidechain to Ethereum, using a proof-of-stake consensus to process transactions at lower cost, while periodically checkpointing state roots to Ethereum for finality.

The security of a sidechain is decoupled from the main chain; if the sidechain is compromised, the main chain and its assets remain unaffected, but the sidechain's tokens may lose value. To mitigate risks, sidechains often employ federations, multi-signature schemes, or periodic checkpoints. The two-way peg can be implemented via a centralized custodian, a federation of trusted parties, or a cryptographic proof mechanism like SPV (Simplified Payment Verification). Each approach trades off trust assumptions for speed and flexibility.

Why it matters

Sidechains enable scalability and experimentation without altering the main blockchain's core protocol. They allow developers to test new features, such as smart contracts or privacy enhancements, on a separate chain while leveraging the main chain's liquidity and user base. For users, sidechains offer faster and cheaper transactions for specific use cases, like trading or gaming. However, they introduce additional trust assumptions, as the sidechain's security is independent of the main chain. Understanding sidechains is crucial for evaluating trade-offs between scalability, security, and decentralization in blockchain design.

Real-world examples

Liquid Network is a Bitcoin sidechain that enables fast, confidential transactions and the issuance of digital assets. Polygon PoS is a sidechain to Ethereum that provides low-cost, high-throughput transactions for dApps. Rootstock (RSK) is a Bitcoin sidechain that brings Ethereum-compatible smart contracts to Bitcoin. These examples show how sidechains extend the functionality of major blockchains.

FAQ

How does a sidechain differ from a layer-2 solution?

A sidechain is an independent blockchain with its own consensus and security, while a layer-2 solution like a rollup relies on the main chain for security by posting transaction data or proofs. Sidechains offer more flexibility but require users to trust the sidechain's validators.

What is a two-way peg in a sidechain?

A two-way peg is a mechanism that locks assets on the main chain and mints equivalent tokens on the sidechain, and vice versa. This ensures that assets can move between chains without double-spending, maintaining a consistent total supply.

Are sidechains secure?

Sidechains have their own security model, which may be weaker than the main chain. If the sidechain is attacked, assets on the sidechain can be lost, but the main chain remains unaffected. Users should evaluate the sidechain's consensus mechanism and trust assumptions.

Related terms

Go deeper

Browse the complete crypto glossary to explore related terms and concepts.

Browse Glossary

Entities mentioned