Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

Sidechain

A sidechain is a separate blockchain that runs parallel to a main blockchain, allowing assets or data to be transferred between them while maintaining independence in operation and security.

Technical definition

A sidechain is a blockchain that is interoperable with another blockchain (often called the mainchain or parent chain) via a two-way peg mechanism. This peg enables assets to be locked on the mainchain and unlocked on the sidechain, or vice versa, without requiring trust in a central authority. Sidechains operate with their own consensus rules, block parameters, and governance, which can differ from the mainchain. They are secured by their own validators or miners, though they may rely on the mainchain for finality or dispute resolution in some designs.

An analogy

Imagine a sidechain like a branch office of a bank. The main bank (mainchain) holds your primary account, but you can transfer funds to a branch office (sidechain) to conduct transactions that are faster or cheaper. The branch operates independently but can reconcile balances with the main bank when needed.

Why it matters

Sidechains enable experimentation with new features, scalability solutions, or custom logic without altering the main blockchain’s core protocol. They allow developers to test innovations in a live environment while minimizing risks to the main network.

Where it came from

The concept of sidechains was first proposed in 2014 by Adam Back, Matt Corallo, Luke Dashjr, and others in a Bitcoin Improvement Proposal (BIP 300/301). Sidechains gained broader attention with platforms like Plasma (2017) and RSK (Rootstock) for Bitcoin, and later with Ethereum’s implementation of sidechains like Polygon PoS.

Example in practice

The Polygon PoS sidechain operates alongside Ethereum, allowing users to transfer ETH and ERC-20 tokens to Polygon for faster and cheaper transactions. Users can bridge assets between Ethereum and Polygon using a two-way peg, where tokens are locked on Ethereum and minted as wrapped tokens on Polygon, and vice versa.

Common misconceptions

  • Sidechains are the same as layer-2 solutions → Correction: Sidechains are independent blockchains with their own security, whereas layer-2 solutions (e.g., rollups) rely on the mainchain for security.
  • Sidechains are always more secure than the mainchain → Correction: Sidechains may have weaker security models, especially if they use a smaller set of validators or rely on the mainchain for finality.
  • All sidechains are fully decentralized → Correction: Some sidechains use federated or semi-centralized validators, which can introduce trust assumptions.

Risks & limitations

  • Security risks: Sidechains may have weaker security than the mainchain, especially if they use a smaller or less decentralized set of validators.
  • Centralization risks: Some sidechains rely on federated or semi-centralized validators, which can introduce single points of failure or censorship risks.
  • Bridge risks: The two-way peg mechanism can be a target for exploits, such as reentrancy attacks or bridge hacks, which can lead to asset loss.
  • Fragmentation: Sidechains can fragment liquidity and user experience, as assets and users are spread across multiple chains.
  • Governance risks: Sidechains may have their own governance models, which can lead to disputes or hard forks if not managed carefully.

Related terms

About "Sidechain" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

Can sidechains work with any blockchain?

Sidechains can be designed to work with any blockchain, but their implementation depends on the mainchain’s support for interoperability features like two-way pegs or smart contracts.

Are sidechains always faster than the mainchain?

Not necessarily. Sidechains can offer faster transaction times if they use a more efficient consensus mechanism or block parameters, but this is not guaranteed and depends on the specific design.

Do sidechains require their own cryptocurrency?

Sidechains do not necessarily require their own native cryptocurrency. They can operate with the mainchain’s native asset or use a separate token for gas fees or governance.

How are sidechains different from sharding?

Sharding splits a blockchain into smaller parts (shards) that process transactions in parallel, while sidechains are independent blockchains that operate alongside the mainchain. Sharding is a layer-1 scalability solution, whereas sidechains are a separate layer-2 or layer-3 solution.

Can sidechains be attacked if the mainchain is secure?

Yes. Sidechains are independent blockchains and can be attacked even if the mainchain is secure. For example, a 51% attack on a sidechain’s validators could disrupt its operations regardless of the mainchain’s security.