Sidechains
A sidechain is a separate blockchain which runs in parallel to Ethereum Mainnet and operates independently. It has its own consensus algorithm (e.g. Proof of Authority, Delegated proof-of-stake, Byzantine fault tolerance). It is connected to Mainnet by a two-way bridge.
What makes a sidechain particularly exciting is that the chain works the same as the main Ethereum chain because it's based on the EVM. It doesn't use Ethereum, it is Ethereum. This means if you want to use your dapp on a sidechain, it's just a matter of deploying your code to this sidechain. It looks, feels, and acts just like Mainnet β you write contracts in Solidity, and interact with the chain via the Web3 API.
Prerequisites
You should have a good understanding of all the foundational topics and a high-level understanding of Ethereum scaling.
Pros and cons
Pros | Cons |
---|---|
Established technology. | Less decentralized. |
Supports general computation, EVM compatibility. | Uses a separate consensus mechanism. Not secured by layer 1 (so technically itβs not layer 2). |
A quorum of sidechain validators can commit fraud. |
Use Sidechains
Multiple projects provide implementations of sidechains that you can integrate into your dapps:
Further reading
- EthHub on sidechains
- Scaling Ethereum Dapps through Sidechains Feb 8, 2018 - Georgios Konstantopoulos
Know of a community resource that helped you? Edit this page and add it!
AyΓΊdanos con esta pΓ‘gina
Si eres un experto en el tema y quieres contribuir, edita esta pΓ‘gina y esparce tu sabidurΓa.
RecibirΓ‘s una acreditaciΓ³n y estarΓ‘s ayudando a la comunidad de Ethereum.
Usar esta opciΓ³n flexible plantilla de documentaciΓ³n
ΒΏTienes preguntas? ConsΓΊltanos en el canal #content en nuestro Servidor Discord
Editar pΓ‘gina