Network
Launch Date
Consensus
Note
Sepolia
Oct 2021
PoW
Like-for-like representation of Ethereum
Görli
Jan 2019
PoA
Proof-of-Authority
Kiln
Mar 2022
PoS
Post-Merge (for ETH2), shadow fork of the mainnet
Kintsugi
Dec 2021
PoS
DEPRECATED, use Kiln; post-Merge (for ETH2)
Ropsten
Nov 2016
PoW
DEPRECATED, use Sepolia; the Merge to happen on Jun 8, 2022
Rinkeby
Apr 2017
PoA
DEPRECATED, use Görli and Görli Faucet
Kovan
Mar 2017
PoA
DEPRECATED, use Sepolia or Görli
List of active and deprecated Ethereum testnets, including Kintsugi.
Features
Optimistic rollup 
ZK-rollup 
Proof
Uses fraud proofs to prove transaction validity. 
Uses validity (zero-knowledge) proofs to prove transaction validity. 
Capital efficiency
Requires waiting through a 1-week delay (dispute period) before withdrawing funds. 
Users can withdraw funds immediately because validity proofs provide incontrovertible evidence of the authenticity of off-chain transactions. 
Data compression
Publishes full transaction data as calldata to Ethereum Mainnet, which increases rollup costs. 
Doesn't need to publish transaction data on Ethereum because ZK-SNARKs and ZK-STARKs already guarantee the accuracy of the rollup state. 
EVM compatibility
Uses a simulation of the Ethereum Virtual Machine (EVM), which allows it to run arbitrary logic and support smart contracts. 
Doesn't widely support EVM computation, although a few EVM-compatible ZK-rollups have appeared. 
Rollup costs
Reduces costs since it publishes minimal data on Ethereum and doesn't have to post proofs for transactions, except in special circumstances. 
Faces higher overhead from costs involved in generating and verifying proofs for every transaction block. ZK proofs require specialized, expensive hardware to create and have high on-chain verification costs. 
Trust assumptions
Doesn't require a trusted setup. 
Requires a trusted setup to work. 
Liveness requirements
Verifiers are needed to keep tabs on the actual rollup state and the one referenced in the state root to detect fraud. 
Users don't need someone to watch the L2 chain to detect fraud. 
Security properties 
Relies on cryptoeconomic incentives to assure users of rollup security. 
Relies on cryptographic guarantees for security. 
Start building
on Alchemy.
Sign up for free
Start building on Optimism.
Sign up for free
Start building on Arbitrum.
Sign up for free
Start building on Ethereum.
Sign up for free
Start building on Polygon.
Sign up for free
Start building on Starknet.
Sign up for free
Start building on Flow.
Sign up for free
kiln faucet
Get free Kiln ETH.
Start building today
Goerli faucet
Get free Goerli ETH.
Start building today
SEPOLIA FAUCET
Get free Sepolia ETH.
Start Building Today
mumbai faucet
Get free Mumbai Matic.
Start building today
rinkeby faucet
Get free Rinkeby
ETH.
Start building today
Start building on Ethereum.
Get started for free
Start building on Ethereum.
Get started for free
Start building on Flow.
Get started for free
Start building on Polygon.
Get started for free
Start building on Starknet.
Get started for free
Start building on Optimism.
Get started for free
Start building on Solana.
Get started for free
Start building on Solana.
Sign up for beta access
Start building on Solana.
Join the waitlist
Arbitrum logo
Start building on Arbitrum.
Get started for free
Build with Alchemy's
Gas Manager & Bundler APIs
Learn
Solidity at
Alchemy
University
Get started today
Build with Alchemy's
Gas Manager & Bundler APIs
curl 
https://release.solana.com/v1.10.32/solana-install-init-x86_64-pc-windows-msvc.exe 
--output 
C:\solana-install-tmp\solana-install-init.exe 
--create-dirs
Layer 2
SCALING SOLUTIONS OVERVIEW

Ethereum Sidechains vs Layer 2s: What’s the Difference?

Definitions, Differences, and How to Solve the Problem of Scaling
Last Updated:
May 16, 2022

With millions of users joining the Ethereum network and developers building Ethereum applications every day, Ethereum is limited by the number of its transactions. Ethereum’s capacity to process transactions, its transaction throughput, is limited to 15 transactions/second, leading it to become increasingly expensive and often too congested for many people to use. 

The Ethereum network is the main chain, and all transactions that occur directly on it are “on-chain”, while anything else is considered “off-chain”. It’s some of these off-chain solutions like sidechains and layer 2s that could help Ethereum scale, increasing transaction speed and increasing the amount of transaction data the network can handle. In this article, we’ll show you what sidechains and layer 2 solutions are and how they can help with scalability.   

What problems do sidechains and layer 2s solve?

Sidechains and layer 2 Ethereum solutions tackle the problem of helping Ethereum scale. Attempts to try to scale up performance on-chain often lead to trading off either the decentralization or scalability of Ethereum - this is known as the Scalability Trilemma. 

Increasing the sophistication of Ethereum layer 1 is not ideal as it would heighten the level of governance overhead for the platform to continuously debate, decide and implement new improvements. Sidechains and layer 2 solutions allow for constant and incremental innovation that improves Ethereum for everyone while maintaining security and decentralization. 

What’s the main difference between sidechains and layer 2 solutions?

The main difference between sidechains and Ethereum layer 2 solutions is that while layer 2 inherits the security of the main Ethereum network,  sidechains rely on their own security. 

What is an Ethereum side chain?

An Ethereum sidechain is a separate blockchain network that runs in parallel to the Ethereum main chain. Sidechains connect to the main chain via a two-way peg system allowing assets to be exchanged between the chains. 

There are two basic types of sidechains, one in which a chain is dependent on the other and another where they are independent. 

When one chain is dependent on another chain like Ethereum, it can be considered the child chain of this parent chain. Typically, the child chain doesn’t create its own assets and derives any assets from transfers from the parent chain.

Source: EthHub Documentation

Sidechains have their own consensus protocols that are often designed for specific kinds of transactions and allow them to be faster and more affordable. However, this also means that they don’t typically inherit the security properties of Ethereum and when using a sidechain you lose custody of your funds and rely solely on the side chain’s security, including the nodes participating in its own consensus protocol.

Sidechains reduce the congestion on the main chain, reducing the cost for everyone and increasing the usability and scalability of the Ethereum ecosystem. Developers can also use sidechains to explore and test new features and use cases that are not available on the main chain.

Popular sidechains include Polygon PoS, Skale, and Rootstock. Ethereum 2.0 has its own variation of sidechains called shard chains that are attached to the recently launched Beacon Chain, which aims to ultimately become the main chain of proof of stake (PoS)-based Ethereum.

How do sidechains work?

Sidechains work by connecting to the main chain through a two-way-peg system or bridge. From the main chain, you can send your Ethereum to an exit address that acts as a lockbox so that you’re not able to spend it elsewhere.

Once this transaction is completed and the “contest period”, for additional security, has passed, then a receipt called the “Simple Payment Verification” (SPV) is provided. This triggers the release of the same value from a lockbox on the side chain via a smart contract. When “transferring” from the side chain back onto the main chain, the exact same process happens but in reverse.

How to develop on sidechains?

Sidechains are based on the Ethereum Virtual Machine (EVM), which is the computation engine for Ethereum, and this compatibility with the Ethereum Virtual Machine means developers don’t need to make any changes when they want to use their application in a sidechain. It’s simply a matter of deploying the same code because they all share the same software layer of Solidity and can be accessed through the same Web3 API!

What is layer 2 protocol?

Layer 2 protocols are chains that live inside the Ethereum chain but are able to achieve greater scalability through a secondary framework. This reduces congestion on the main layer by having the bulk of activity processed through the second layer. Unlike a sidechain, layer 2 generally inherits the security properties of the main chain. 

Layer 1 is the base blockchain. Ethereum is a layer 1 blockchain because it is the underlying foundation on top of which various layer 2 blockchains are built. Simply put, layer 2 compresses bundles of transactions and submits them to the main Ethereum network. 

What are layer 2 scaling solutions?

Layer 2 scaling solutions include channels, rollups, and plasma. Here’s a breakdown of each of these individual solutions.

1. State Channels

With state channels, users transact with one another directly off-chain and reduce on-chain transactions to only the most important information. Specifically, part of the blockchain is locked via a smart contract so that the participants involved in the transaction have to completely agree before updating it. 

Participants update the state among themselves by creating and signing transactions that could be submitted to the blockchain. Once you want to stop using the channel, you exit and submit the last state update to the main chain which unlocks the state again. 

Source: EthHub Documentation

2. Rollups

A rollup performs transaction execution off the main Ethereum blockchain and then batches together multiple transactions before sending them back to the main Ethereum network. Rollups rely on proofs to allow Ethereum to verify their correctness without processing transactions.  

What are the two types of rollups?

In general, there are two types of rollups, Zero-knowledge (ZK) Rollups and Optimistic Rollups.

1. Zero-Knowledge Rollups (ZK rollups)

Zero-Knowledge Rollups (ZK rollups) use validity proofs. Every batch of transactions includes a cryptographic proof called a Succinct Non-Interactive Argument of Knowledge (SNARK) that is verified by a contract on the main Ethereum layer. 

Since just the validity proof and not the bulky transaction data needs to be stored on the main chain, this computation off-chain saves large amounts of processing time and power, making zero-knowledge rollups faster and much more efficient.

2. Optimistic Rollups

Optimistic Rollups use fraud proofs. As the name suggests, these optimistically assume all transactions are valid and submit batches without any initial proof. There is a challenge period in which others are able to detect and prove that the data in a batch is fraudulent. 

If the batch turns out to be fraudulent, Optimistic rollups execute a fraud proof and runs the correct transaction computation using the data available on the main Ethereum chain. Making it a requirement that participants stake ETH that is rewarded or slashed based on their actions incentivizes good behavior. 

Companies like Optimism help Ethereum scale by offering greater throughput, lower latency, and lower gas fees. At the time of writing, Optimism gas fees are up to 10x cheaper than Ethereum!

3. Plasma

Think of Plasma as Ethereum’s native sidechain, using a combination of smart contracts and Merkle trees to create a limitless branching of child chains. These child chains are smaller copies of the Ethereum main chain with their own consensus mechanism. 

The bandwidth needed for computation and the transaction data is offloaded from the parent chains but posted to the root chain at regular intervals. Each child chain relies on a proof of fraud system for security that is similar to rollups with a time period where anyone can challenge its validity. 

The key difference from other sidechains is that the “root” of each plasma chain block is published to Ethereum, meaning it does inherit the main chain’s security.

Source: Nirolution

Companies like Polygon enable faster transactions with much lower gas fees to developers and end users alike. These clear benefits make it incredibly enticing to build on plasma, and it’s easy to see why they have seen explosive growth.

What sidechains and layer 2s does Alchemy support?

Get a free Alchemy developer account to start building on Ethereum or these sidechains and Ethereum layer 2s:

  • Polygon (Sidechain)
  • Arbitrum (Layer 2)
  • Optimism (Layer 2)
  • Starknet (Layer 2)

Mass adoption of the implementation of scaling solutions like sidechains and layer 2 (channels, optimistic rollup, zk rollup, and Plasma) takes stress off the Ethereum mainnet and therefore helps more users speed up slower transaction times and lower high transaction fees while still maintaining the same security guarantees (in the case of Layer 2 solutions) and decentralized apps so well known to Ethereum. 

ALCHEMY SUPERNODE - ETHEREUM NODE API

Scale to any size, without any errors

Alchemy Supernode finally makes it possible to scale blockchain applications without all the headaches. Plus, our legendary support will guide you every step of the way.

Get started for free
Supernode footer
Layer 2
SCALING SOLUTIONS OVERVIEW

Ethereum Sidechains vs Layer 2s: What’s the Difference?

Definitions, Differences, and How to Solve the Problem of Scaling
Last Updated:
May 16, 2022
Last Updated:
August 24, 2022
Don't miss an update
Sign up for our newsletter to get alpha, key insights, and killer resources.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Talk to an Expert

Learn how Alchemy's blockchain developer tools can help your business succeed in web3!
Valid number
Thank you! An Alchemy expert will be in touch with you shortly!
Oops! Something went wrong while submitting the form.

{{building-alchemy-ad}}

Table of Contents

With millions of users joining the Ethereum network and developers building Ethereum applications every day, Ethereum is limited by the number of its transactions. Ethereum’s capacity to process transactions, its transaction throughput, is limited to 15 transactions/second, leading it to become increasingly expensive and often too congested for many people to use. 

The Ethereum network is the main chain, and all transactions that occur directly on it are “on-chain”, while anything else is considered “off-chain”. It’s some of these off-chain solutions like sidechains and layer 2s that could help Ethereum scale, increasing transaction speed and increasing the amount of transaction data the network can handle. In this article, we’ll show you what sidechains and layer 2 solutions are and how they can help with scalability.   

What problems do sidechains and layer 2s solve?

Sidechains and layer 2 Ethereum solutions tackle the problem of helping Ethereum scale. Attempts to try to scale up performance on-chain often lead to trading off either the decentralization or scalability of Ethereum - this is known as the Scalability Trilemma. 

Increasing the sophistication of Ethereum layer 1 is not ideal as it would heighten the level of governance overhead for the platform to continuously debate, decide and implement new improvements. Sidechains and layer 2 solutions allow for constant and incremental innovation that improves Ethereum for everyone while maintaining security and decentralization. 

What’s the main difference between sidechains and layer 2 solutions?

The main difference between sidechains and Ethereum layer 2 solutions is that while layer 2 inherits the security of the main Ethereum network,  sidechains rely on their own security. 

What is an Ethereum side chain?

An Ethereum sidechain is a separate blockchain network that runs in parallel to the Ethereum main chain. Sidechains connect to the main chain via a two-way peg system allowing assets to be exchanged between the chains. 

There are two basic types of sidechains, one in which a chain is dependent on the other and another where they are independent. 

When one chain is dependent on another chain like Ethereum, it can be considered the child chain of this parent chain. Typically, the child chain doesn’t create its own assets and derives any assets from transfers from the parent chain.

Source: EthHub Documentation

Sidechains have their own consensus protocols that are often designed for specific kinds of transactions and allow them to be faster and more affordable. However, this also means that they don’t typically inherit the security properties of Ethereum and when using a sidechain you lose custody of your funds and rely solely on the side chain’s security, including the nodes participating in its own consensus protocol.

Sidechains reduce the congestion on the main chain, reducing the cost for everyone and increasing the usability and scalability of the Ethereum ecosystem. Developers can also use sidechains to explore and test new features and use cases that are not available on the main chain.

Popular sidechains include Polygon PoS, Skale, and Rootstock. Ethereum 2.0 has its own variation of sidechains called shard chains that are attached to the recently launched Beacon Chain, which aims to ultimately become the main chain of proof of stake (PoS)-based Ethereum.

How do sidechains work?

Sidechains work by connecting to the main chain through a two-way-peg system or bridge. From the main chain, you can send your Ethereum to an exit address that acts as a lockbox so that you’re not able to spend it elsewhere.

Once this transaction is completed and the “contest period”, for additional security, has passed, then a receipt called the “Simple Payment Verification” (SPV) is provided. This triggers the release of the same value from a lockbox on the side chain via a smart contract. When “transferring” from the side chain back onto the main chain, the exact same process happens but in reverse.

How to develop on sidechains?

Sidechains are based on the Ethereum Virtual Machine (EVM), which is the computation engine for Ethereum, and this compatibility with the Ethereum Virtual Machine means developers don’t need to make any changes when they want to use their application in a sidechain. It’s simply a matter of deploying the same code because they all share the same software layer of Solidity and can be accessed through the same Web3 API!

What is layer 2 protocol?

Layer 2 protocols are chains that live inside the Ethereum chain but are able to achieve greater scalability through a secondary framework. This reduces congestion on the main layer by having the bulk of activity processed through the second layer. Unlike a sidechain, layer 2 generally inherits the security properties of the main chain. 

Layer 1 is the base blockchain. Ethereum is a layer 1 blockchain because it is the underlying foundation on top of which various layer 2 blockchains are built. Simply put, layer 2 compresses bundles of transactions and submits them to the main Ethereum network. 

What are layer 2 scaling solutions?

Layer 2 scaling solutions include channels, rollups, and plasma. Here’s a breakdown of each of these individual solutions.

1. State Channels

With state channels, users transact with one another directly off-chain and reduce on-chain transactions to only the most important information. Specifically, part of the blockchain is locked via a smart contract so that the participants involved in the transaction have to completely agree before updating it. 

Participants update the state among themselves by creating and signing transactions that could be submitted to the blockchain. Once you want to stop using the channel, you exit and submit the last state update to the main chain which unlocks the state again. 

Source: EthHub Documentation

2. Rollups

A rollup performs transaction execution off the main Ethereum blockchain and then batches together multiple transactions before sending them back to the main Ethereum network. Rollups rely on proofs to allow Ethereum to verify their correctness without processing transactions.  

What are the two types of rollups?

In general, there are two types of rollups, Zero-knowledge (ZK) Rollups and Optimistic Rollups.

1. Zero-Knowledge Rollups (ZK rollups)

Zero-Knowledge Rollups (ZK rollups) use validity proofs. Every batch of transactions includes a cryptographic proof called a Succinct Non-Interactive Argument of Knowledge (SNARK) that is verified by a contract on the main Ethereum layer. 

Since just the validity proof and not the bulky transaction data needs to be stored on the main chain, this computation off-chain saves large amounts of processing time and power, making zero-knowledge rollups faster and much more efficient.

2. Optimistic Rollups

Optimistic Rollups use fraud proofs. As the name suggests, these optimistically assume all transactions are valid and submit batches without any initial proof. There is a challenge period in which others are able to detect and prove that the data in a batch is fraudulent. 

If the batch turns out to be fraudulent, Optimistic rollups execute a fraud proof and runs the correct transaction computation using the data available on the main Ethereum chain. Making it a requirement that participants stake ETH that is rewarded or slashed based on their actions incentivizes good behavior. 

Companies like Optimism help Ethereum scale by offering greater throughput, lower latency, and lower gas fees. At the time of writing, Optimism gas fees are up to 10x cheaper than Ethereum!

3. Plasma

Think of Plasma as Ethereum’s native sidechain, using a combination of smart contracts and Merkle trees to create a limitless branching of child chains. These child chains are smaller copies of the Ethereum main chain with their own consensus mechanism. 

The bandwidth needed for computation and the transaction data is offloaded from the parent chains but posted to the root chain at regular intervals. Each child chain relies on a proof of fraud system for security that is similar to rollups with a time period where anyone can challenge its validity. 

The key difference from other sidechains is that the “root” of each plasma chain block is published to Ethereum, meaning it does inherit the main chain’s security.

Source: Nirolution

Companies like Polygon enable faster transactions with much lower gas fees to developers and end users alike. These clear benefits make it incredibly enticing to build on plasma, and it’s easy to see why they have seen explosive growth.

What sidechains and layer 2s does Alchemy support?

Get a free Alchemy developer account to start building on Ethereum or these sidechains and Ethereum layer 2s:

  • Polygon (Sidechain)
  • Arbitrum (Layer 2)
  • Optimism (Layer 2)
  • Starknet (Layer 2)

Mass adoption of the implementation of scaling solutions like sidechains and layer 2 (channels, optimistic rollup, zk rollup, and Plasma) takes stress off the Ethereum mainnet and therefore helps more users speed up slower transaction times and lower high transaction fees while still maintaining the same security guarantees (in the case of Layer 2 solutions) and decentralized apps so well known to Ethereum. 

With millions of users joining the Ethereum network and developers building Ethereum applications every day, Ethereum is limited by the number of its transactions. Ethereum’s capacity to process transactions, its transaction throughput, is limited to 15 transactions/second, leading it to become increasingly expensive and often too congested for many people to use. 

The Ethereum network is the main chain, and all transactions that occur directly on it are “on-chain”, while anything else is considered “off-chain”. It’s some of these off-chain solutions like sidechains and layer 2s that could help Ethereum scale, increasing transaction speed and increasing the amount of transaction data the network can handle. In this article, we’ll show you what sidechains and layer 2 solutions are and how they can help with scalability.   

What problems do sidechains and layer 2s solve?

Sidechains and layer 2 Ethereum solutions tackle the problem of helping Ethereum scale. Attempts to try to scale up performance on-chain often lead to trading off either the decentralization or scalability of Ethereum - this is known as the Scalability Trilemma. 

Increasing the sophistication of Ethereum layer 1 is not ideal as it would heighten the level of governance overhead for the platform to continuously debate, decide and implement new improvements. Sidechains and layer 2 solutions allow for constant and incremental innovation that improves Ethereum for everyone while maintaining security and decentralization. 

What’s the main difference between sidechains and layer 2 solutions?

The main difference between sidechains and Ethereum layer 2 solutions is that while layer 2 inherits the security of the main Ethereum network,  sidechains rely on their own security. 

What is an Ethereum side chain?

An Ethereum sidechain is a separate blockchain network that runs in parallel to the Ethereum main chain. Sidechains connect to the main chain via a two-way peg system allowing assets to be exchanged between the chains. 

There are two basic types of sidechains, one in which a chain is dependent on the other and another where they are independent. 

When one chain is dependent on another chain like Ethereum, it can be considered the child chain of this parent chain. Typically, the child chain doesn’t create its own assets and derives any assets from transfers from the parent chain.

Source: EthHub Documentation

Sidechains have their own consensus protocols that are often designed for specific kinds of transactions and allow them to be faster and more affordable. However, this also means that they don’t typically inherit the security properties of Ethereum and when using a sidechain you lose custody of your funds and rely solely on the side chain’s security, including the nodes participating in its own consensus protocol.

Sidechains reduce the congestion on the main chain, reducing the cost for everyone and increasing the usability and scalability of the Ethereum ecosystem. Developers can also use sidechains to explore and test new features and use cases that are not available on the main chain.

Popular sidechains include Polygon PoS, Skale, and Rootstock. Ethereum 2.0 has its own variation of sidechains called shard chains that are attached to the recently launched Beacon Chain, which aims to ultimately become the main chain of proof of stake (PoS)-based Ethereum.

How do sidechains work?

Sidechains work by connecting to the main chain through a two-way-peg system or bridge. From the main chain, you can send your Ethereum to an exit address that acts as a lockbox so that you’re not able to spend it elsewhere.

Once this transaction is completed and the “contest period”, for additional security, has passed, then a receipt called the “Simple Payment Verification” (SPV) is provided. This triggers the release of the same value from a lockbox on the side chain via a smart contract. When “transferring” from the side chain back onto the main chain, the exact same process happens but in reverse.

How to develop on sidechains?

Sidechains are based on the Ethereum Virtual Machine (EVM), which is the computation engine for Ethereum, and this compatibility with the Ethereum Virtual Machine means developers don’t need to make any changes when they want to use their application in a sidechain. It’s simply a matter of deploying the same code because they all share the same software layer of Solidity and can be accessed through the same Web3 API!

What is layer 2 protocol?

Layer 2 protocols are chains that live inside the Ethereum chain but are able to achieve greater scalability through a secondary framework. This reduces congestion on the main layer by having the bulk of activity processed through the second layer. Unlike a sidechain, layer 2 generally inherits the security properties of the main chain. 

Layer 1 is the base blockchain. Ethereum is a layer 1 blockchain because it is the underlying foundation on top of which various layer 2 blockchains are built. Simply put, layer 2 compresses bundles of transactions and submits them to the main Ethereum network. 

What are layer 2 scaling solutions?

Layer 2 scaling solutions include channels, rollups, and plasma. Here’s a breakdown of each of these individual solutions.

1. State Channels

With state channels, users transact with one another directly off-chain and reduce on-chain transactions to only the most important information. Specifically, part of the blockchain is locked via a smart contract so that the participants involved in the transaction have to completely agree before updating it. 

Participants update the state among themselves by creating and signing transactions that could be submitted to the blockchain. Once you want to stop using the channel, you exit and submit the last state update to the main chain which unlocks the state again. 

Source: EthHub Documentation

2. Rollups

A rollup performs transaction execution off the main Ethereum blockchain and then batches together multiple transactions before sending them back to the main Ethereum network. Rollups rely on proofs to allow Ethereum to verify their correctness without processing transactions.  

What are the two types of rollups?

In general, there are two types of rollups, Zero-knowledge (ZK) Rollups and Optimistic Rollups.

1. Zero-Knowledge Rollups (ZK rollups)

Zero-Knowledge Rollups (ZK rollups) use validity proofs. Every batch of transactions includes a cryptographic proof called a Succinct Non-Interactive Argument of Knowledge (SNARK) that is verified by a contract on the main Ethereum layer. 

Since just the validity proof and not the bulky transaction data needs to be stored on the main chain, this computation off-chain saves large amounts of processing time and power, making zero-knowledge rollups faster and much more efficient.

2. Optimistic Rollups

Optimistic Rollups use fraud proofs. As the name suggests, these optimistically assume all transactions are valid and submit batches without any initial proof. There is a challenge period in which others are able to detect and prove that the data in a batch is fraudulent. 

If the batch turns out to be fraudulent, Optimistic rollups execute a fraud proof and runs the correct transaction computation using the data available on the main Ethereum chain. Making it a requirement that participants stake ETH that is rewarded or slashed based on their actions incentivizes good behavior. 

Companies like Optimism help Ethereum scale by offering greater throughput, lower latency, and lower gas fees. At the time of writing, Optimism gas fees are up to 10x cheaper than Ethereum!

3. Plasma

Think of Plasma as Ethereum’s native sidechain, using a combination of smart contracts and Merkle trees to create a limitless branching of child chains. These child chains are smaller copies of the Ethereum main chain with their own consensus mechanism. 

The bandwidth needed for computation and the transaction data is offloaded from the parent chains but posted to the root chain at regular intervals. Each child chain relies on a proof of fraud system for security that is similar to rollups with a time period where anyone can challenge its validity. 

The key difference from other sidechains is that the “root” of each plasma chain block is published to Ethereum, meaning it does inherit the main chain’s security.

Source: Nirolution

Companies like Polygon enable faster transactions with much lower gas fees to developers and end users alike. These clear benefits make it incredibly enticing to build on plasma, and it’s easy to see why they have seen explosive growth.

What sidechains and layer 2s does Alchemy support?

Get a free Alchemy developer account to start building on Ethereum or these sidechains and Ethereum layer 2s:

  • Polygon (Sidechain)
  • Arbitrum (Layer 2)
  • Optimism (Layer 2)
  • Starknet (Layer 2)

Mass adoption of the implementation of scaling solutions like sidechains and layer 2 (channels, optimistic rollup, zk rollup, and Plasma) takes stress off the Ethereum mainnet and therefore helps more users speed up slower transaction times and lower high transaction fees while still maintaining the same security guarantees (in the case of Layer 2 solutions) and decentralized apps so well known to Ethereum. 

{{building-alchemy-ad}}

Contact Us

Talk to an expert at Alchemy to answer all of your product questions.
Valid number
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Build blockchain magic with Alchemy

Alchemy combines the most powerful web3 developer products and tools with resources, community and legendary support.

Get started for free