Sidechain
A sidechain is a separate, independent blockchain that runs parallel to a main 'parent' chain. It is connected via a two-way bridge, which allows assets to be moved between the two chains. By operating independently, the sidechain can implement different consensus rules, higher throughput, or lower fees, while still leveraging the security and ecosystem of the parent chain. Sidechains are a popular scaling solution that relieves congestion on mainnets while maintaining interoperability.
Explain Like I'm 12
Think of a sidechain like a highway express lane. The main blockchain is the crowded city street, but if you take the express lane, you move faster. You can enter or exit the highway to the city streets whenever you want, helping traffic flow more smoothly for everyone.
Why It Matters
Sidechains help solve the 'blockchain trilemma' by allowing networks to be faster and cheaper without compromising the security of the main chain assets.
How It Works
Users send assets to a smart contract on the main chain, where they are locked. The sidechain then issues an equivalent amount of tokens. When the user wants to return, they burn the tokens on the sidechain, and the smart contract on the main chain unlocks the original assets.
Real-World Example
Polygon PoS acts as a sidechain to the Ethereum mainnet.
Advantages
- Increased transaction speed
- Lower transaction fees
- Customizable protocols
Limitations
- Security depends on bridge
- Less secure than mainnet
- Risk of bridge hacks
Common Misconceptions
- It is not the same as a layer-2 rollup.
- It does not inherit all security features of the parent chain.
Knowledge Explorer
Explore This Concept in the Knowledge Graph
See how Sidechain connects to other concepts, books, research, and developer resources.
Related Terms
Bridge
A blockchain bridge is a protocol that enables the transfer of data, assets, or smart contract instructions between two distinct blockchain networks. It acts as a middleware layer that overcomes the inherent inability of independent chains to communicate directly. Bridges typically function by locking assets on the source chain and minting a corresponding representation on the destination chain, or by using a burn-and-mint mechanism to ensure the total circulating supply remains consistent across both environments.
Interoperability
Interoperability in blockchain refers to the ability of different blockchain systems to communicate, exchange data, and share functionality in a decentralized and trustless manner. True interoperability extends beyond simple token transfers to include the exchange of state, smart contract calls, and identity verification across heterogeneous networks. It requires standardized communication protocols that allow chains to read and interpret the consensus and data formats of other participating networks without relying on centralized intermediaries.
Layer 2
Layer 2 refers to secondary protocols built on top of an existing Layer 1 blockchain to improve scalability, efficiency, and speed. These solutions move the bulk of transaction processing off the main chain, while still inheriting the security and finality provided by the base Layer 1. By batching transactions or using alternative data availability paths, Layer 2 networks reduce congestion and transaction costs on the main ledger, facilitating wider mainstream adoption of decentralized applications.
Mainnet
A Mainnet (main network) is the fully developed, operational blockchain where real transactions take place and digital assets carry actual value. It is the final, production-ready version of a network, contrasting with a Testnet (test network). Mainnet development signifies that the protocol has reached a stage of sufficient maturity to handle public usage, economic activity, and security, following rigorous testing and debugging phases by the development community.
Polygon
Polygon is a multi-chain scaling ecosystem designed to solve Ethereum's scalability challenges. It originally focused on sidechain solutions but has evolved into a comprehensive suite including ZK-rollups (Polygon zkEVM). By providing a framework for developers to deploy dedicated blockchain networks, Polygon facilitates high-speed, low-cost transactions while maintaining compatibility with the Ethereum Virtual Machine (EVM), acting as a 'layer' of infrastructure that enhances blockchain interoperability.