Layer 2 | ethereum.org (2024)

Layer 2 | ethereum.org (1)

Ethereum for everyone

Scaling Ethereum for mass adoption.

What is layer 2?

Layer 2 (L2) is a collective term to describe a specific set of Ethereum scaling solutions. A layer 2 is a separate

Blockchain

A blockchain is a database of transactions, duplicated and shared on all computers in the network, ensuring data cannot be altered retroactively.

that extends Ethereum and inherits the security guarantees of Ethereum.

Now let’s dig into it a bit more. To do this we first need to explain layer 1 (L1).

Layer 2 | ethereum.org (2)

What is layer 1?

Layer 1 is the base blockchain. Ethereum and Bitcoin are both layer 1 blockchains because they are the underlying foundation that various layer 2 networks build on top of. Examples of layer 2 projects include "rollups" on Ethereum and the Lightning Network on Bitcoin. All user transaction activity on these layer 2 projects can ultimately settle back to the layer 1 blockchain.

Ethereum also functions as a

Data availability

Any node can independently verify transactions on a blockchain in order to maintain transparency and trust in the system.

layer for layer 2s. Layer 2 projects will post their transaction data onto Ethereum, relying on Ethereum for data availability. This data can be used to get the state of the layer 2, or to dispute transactions on layer 2.

Ethereum as the layer 1 includes:

  1. A network of node operators to secure and

    Validator

    A node in a proof-of-stake system responsible for storing data, processing transactions, and adding new blocks to the blockchain. To activate validator software, you need to be able to stake 32 ETH. More on staking in Ethereum.

    the network
  2. A network of block producers

  3. The blockchain itself and the history of transaction data

  4. The

    Consensus

    When more than 2/3 of the computers in a network agree that they have the same set of records, making sure everyone is on the same page. This isn't about the rules they follow, but making sure they all have the same information.

    for the network

Still confused on Ethereum? Learn what Ethereum is.

Layer 2 | ethereum.org (3)

Why do we need layer 2?

Three desirable properties of a blockchain are that it is decentralized, secure, and scalable. The blockchain trilemma(opens in a new tab) states that a simple blockchain architecture can only achieve two out of three. Want a secure and decentralized blockchain? You need to sacrifice scalability.

Ethereum currently processes 1+ million transactions per day. The demand to use Ethereum can cause transaction fee prices to be high. This is where layer 2 networks come in.

Scalability

The main goal of layer 2 is to increase transaction throughput (higher transactions per second) without sacrificing decentralization or security.

Ethereum

Mainnet

Short for "main network," this is the main public Ethereum blockchain.

(layer 1) is only able to process roughly 15 transactions per second. When demand to use Ethereum is high, the network becomes congested, which increases transaction fees and prices out users who cannot afford those fees. Layer 2s are solutions that reduce those fees by processing transactions off the layer-1 blockchain.More on Ethereum's vision

Benefits of layer 2

Lower fees

By combining multiple off-chain transactions into a single layer 1 transaction, transaction fees are massively reduced, making Ethereum more accessible for all.

Maintain security

Layer 2 blockchains settle their transactions on Ethereum Mainnet, allowing users to benefit from the security of the Ethereum network.

Expand use cases

With higher transactions per second, lower fees, and new technology, projects will expand into new applications with improved user experience.

How does layer 2 work?

As we mentioned above, layer 2 is a collective term for Ethereum scaling solutions that handle transactions off Ethereum layer 1 while still taking advantage of the robust decentralized security of Ethereum layer 1. A layer 2 is a separate blockchain that extends Ethereum. How does that work?

There are several different types of layer 2, each having their own trade-offs and security models. Layer 2s take the transactional burden away from the layer 1 allowing it to become less congested, and everything becomes more scalable.

Rollups

Rollups bundle (or ’roll up’) hundreds of transactions into a single transaction on layer 1. This distributes the L1 transaction fees across everyone in the rollup, making it cheaper for each user.

The transaction data in the rollup is submitted to layer 1, but the execution is done separately by the rollup. By submitting transaction data onto layer 1, rollups inherit the security of Ethereum. This is because once the data is uploaded to layer 1, reverting a rollup transaction requires reverting Ethereum. There are two different approaches to rollups: optimistic and zero-knowledge - they differ primarily on how this transaction data is submitted to L1.

Layer 2 | ethereum.org (4)

Layer 2 | ethereum.org (5)

Optimistic rollups

Optimistic rollups are 'optimistic' in the sense that transactions are assumed to be valid, but can be challenged if necessary. If an invalid transaction is suspected, a fault proof is run to see if this has taken place.

More on optimistic rollups

Layer 2 | ethereum.org (6)

Zero-knowledge rollups

Zero-knowledge rollups use validity proofs where transactions are computed off-chain, and then compressed data is supplied to Ethereum Mainnet as a proof of their validity.

More on ZK-rollups

Do your own research: risks of layer 2

Many layer 2 projects are relatively young and still require users to trust some operators to be honest as they work to decentralize their networks. Always do your own research to decide if you're comfortable with any risks involved.

For more information on the technology, risks, and

Trust assumptions

Trust assumptions are basic beliefs about a system's safety and dependability, guiding what we trust for the system to function.

of layer 2s, we recommend checking out L2BEAT, which provides a comprehensive risk assessment framework of each project.

Go to L2BEAT(opens in a new tab)

Use layer 2

Now that you understand why layer 2 exists and how it works, let's get you up and running!

If you are using

Smart contract

A smart contract is a program that automatically executes agreements on a blockchain, like a self-enforcing digital contract. Introduction to smart contracts.

wallet such as Safe or Argent, you will not have control over this address on a layer 2 until you redeploy your contract account to that address on the layer 2. Classic accounts with

Seed phrase/recovery phrase

A list of words given to you when you create a digital wallet. It acts like a password that can help you get back into your wallet if you lose access, making sure you don't lose your digital money or tokens.

will automatically own the same account on all layer 2 networks.

Generalized layer 2s

Generalized layer 2s behave just like Ethereum — but cheaper. Anything that you can do on Ethereum layer 1, you can also do on layer 2. Many

Dapp

A dApp is a decentralized application that runs on a blockchain network, offering services without a central controlling authority. More on decentralized applications.

have already begun to migrate to these networks or have skipped Mainnet altogether to build projects straight on a layer 2.

Layer 2 | ethereum.org (7)

Arbitrum One

universal

Arbitrum One is an Optimistic Rollup that aims to feel exactly like interacting with Ethereum, but with transactions costing a fraction of what they do on L1.

Note: Fraud proofs only for whitelisted users, whitelist not open yet

Arbitrum One Bridge(opens in a new tab)Arbitrum One Ecosystem Portal(opens in a new tab)Arbitrum One Token Lists(opens in a new tab)

Layer 2 | ethereum.org (8)

Optimism

universal

Optimism is a fast, simple, and secure EVM-equivalent optimistic rollup. It scales Ethereum's tech while also scaling its values through retroactive public goods funding.

Note: Fault proofs in development

Optimism Bridge(opens in a new tab)Optimism Ecosystem Portal(opens in a new tab)Optimism Token Lists(opens in a new tab)

Layer 2 | ethereum.org (9)

Boba Network

universal

Boba is an Optimistic Rollup originally forked from Optimism which is a scaling solution that aims to reduce gas fees, improve transaction throughput, and extend the capabilities of smart contracts.

Note: State validation in development

Boba Network Bridge(opens in a new tab)

Layer 2 | ethereum.org (10)

Base

universal

Base is a secure, low-cost, developer-friendly Ethereum L2 built to bring the next billion users to web3. It is an Ethereum L2, incubated by Coinbase and built on the open-source OP Stack.

Note: Fraud proof system is currently under development

Base Bridge(opens in a new tab)Base Ecosystem Portal(opens in a new tab)

Layer 2 | ethereum.org (11)

Starknet

universal

Starknet is a Validity Rollup Layer 2. It provides high throughput, low gas costs, and retains Ethereum Layer 1 levels of security.

Starknet Bridge(opens in a new tab)Starknet Ecosystem Portal(opens in a new tab)Starknet Token Lists(opens in a new tab)

Application specific layer 2s

Application specific layer 2s are projects that specialize in optimizing for a specific application space, bringing improved performance.

Layer 2 | ethereum.org (12)

Loopring

paymentsexchange

Loopring's zkRollup L2 solution aims to offer the same security guarantees as Ethereum mainnet, with a big scalability boost: throughput increased by 1000x, and cost reduced to just 0.1% of L1.

Loopring Bridge(opens in a new tab)

Layer 2 | ethereum.org (13)

zkSync

tokensnft

zkSync is a user-centric zk rollup platform from Matter Labs. It is a scaling solution for Ethereum, already live on Ethereum mainnet. It supports payments, token swaps and NFT minting.

zkSync Bridge(opens in a new tab)

Layer 2 | ethereum.org (14)

ZKSpace

paymentsexchange

The ZKSpace platform consists of three main parts: a layer 2 AMM DEX utilizing ZK-Rollups technology called ZKSwap, a payment service called ZKSquare, and an NFT marketplace called ZKSea.

ZKSpace Bridge(opens in a new tab)

Layer 2 | ethereum.org (15)

Aztec

paymentsintegrations

Aztec Network is the first private zk-rollup on Ethereum, enabling decentralized applications to access privacy and scale.

Aztec Bridge(opens in a new tab)

A note on sidechains, validiums, and alternative blockchains

Sidechains and validiums are blockchains that allow assets from Ethereum to be bridged over and used on another blockchain. Sidechains and validiums run in parallel with Ethereum, and interact with Ethereum through

Bridge

A blockchain bridge is used to transfer assets from one blockchain network to another.

, but they do not derive their security or data availability from Ethereum.

Both scale similarly to layer 2s - they offer lower transaction fees and higher transaction throughput - but have different trust assumptions.

  • More info on sidechains
  • More info on validiums

Some layer 1 blockchains report higher throughput and lower transaction fees than Ethereum, but generally with trade-offs elsewhere, for example greater hardware requirements for running nodes.

How to get onto a layer 2

There are two primary ways to get your assets onto a layer 2: bridge funds from Ethereum via a smart contract or withdraw your funds on an exchange directly onto the layer 2 network.

Funds in your wallet?

If you've already got your ETH in your wallet, you'll need to use a bridge to move it from Ethereum Mainnet to a layer 2.

More on bridges

Select L2 you want to bridge to

Funds on an exchange?

Some centralized exchanges now offer direct withdrawals and deposits to layer 2s. Check which exchanges support layer 2 withdrawals and which layer 2s they support.

You'll also need a wallet to withdraw your funds to. Find an Ethereum wallet.

Select...

Layer 2 | ethereum.org (16)

Tools to be effective on layer 2

Information

Wallet managers

FAQ

Test your Ethereum knowledge

Loading...

Was this page helpful?

Layer 2 | ethereum.org (2024)

FAQs

What is Layer 2 in Ethereum? ›

Layer 2 is an umbrella term to describe solutions that build on top of Ethereum mainnet (layer 1) to improve the scalability of the Ethereum network. There are a number of layer 2 solutions on Ethereum.

What is the best Layer 2 for Ethereum? ›

Polygon is one of the most popular Ethereum Layer 2 scaling solutions. It is an independent Ethereum sidechain faster and cheaper than its parent blockchain. Theoretically, Polygon can process up to 7,200 TPS, although the TPS currently stands around 1,000. Then for each of these transactions, the average gas is $0.01.

Is ERC-20 Layer 2? ›

ERC-20 tokens are a type of digital asset that primarily operates on the Ethereum blockchain and can also be found on Ethereum L2 (Layer 2) networks like Arbitrum One, Optimism, and Base.

What is Layer 2 wallet? ›

Layer 2 refers to a secondary framework or protocol that is built on top of an existing blockchain system. The main goal of these protocols is to solve the transaction speed and scaling difficulties that are being faced by the major cryptocurrency networks.

How do I send ETH to Layer 2? ›

There are two major ways to get your funds and assets to a Layer 2 network. While the first is to bridge from Ethereum through a smart contract, the second is to withdraw from an exchange directly onto Layer 2. However, the simplest way to move assets from L1 to L2 is through a bridge.

How does Layer 2 work? ›

Layer-2 solutions inherit the security of the blockchain they are built on top of, with transaction data verified and confirmed by the underlying blockchain network. They strive to increase transaction throughput, with the intention of reducing fees, without compromising on decentralization or security.

What is the fastest Layer 2 crypto? ›

Arbitrum has rapidly emerged as a leading Layer 2 solution for Ethereum, offering significant improvements in transaction speed and cost efficiency compared to Ethereum's mainnet. With its Optimistic Rollup technology, Arbitrum can process transactions up to 10 times faster while reducing gas expenses by up to 95%.

Is it better to buy Ethereum or Ethereum 2? ›

Ethereum 2.0 will primarily benefit the scalability, throughput, and security of the Ethereum public mainnet. Ethereum 2.0 will not eliminate any of the data history, transaction records, or asset ownership of the Ethereum 1.0 chain.

Is Layer 2 the future? ›

“As the ETH ecosystem continues to evolve, the future of Layer 2 looks promising – they complement the L1 ecosystem with speed and low transaction costs. “This is their main impact on ETH. However, this impact is derivative.

Which is better ERC-20 or TRC 20? ›

TRC20 vs ERC20 are important in crypto. They are used on Tron and Ethereum networks. TRC-20 has lower fees and quicker transactions. ERC-20 is more widely used and has better security because of Ethereum's network.

Is Arbitrum an Ethereum layer 2? ›

Understanding Layer-2 Scaling

These layers operate independently but are anchored to the Ethereum mainnet, to ensure the security and decentralization of the entire network. Optimism and Arbitrum both fall under the category of Layer-2 rollups, a specific type of Layer-2 solution.

What is the difference between ERC-20 and ERC 721? ›

The key difference between ERC20 and ERC721 tokens lies in their fungibility. ERC20 tokens are fungible and represent a uniform asset, while ERC721 tokens are non-fungible and symbolize a set of unique assets. Additionally, ERC721 tokens cannot be divided into smaller units.

How to buy on Layer 2? ›

There are three main ways to fund an L2 wallet: moving your crypto from a centralized exchange straight to a Layer 2 network, using a third-party crypto payment service to fund an L2 wallet, or sending your digital assets from Mainnet to L2 via a bridging protocol.

Is Coinbase wallet Layer 2? ›

Coinbase Wallet allows you to transfer tokens to and from Layer 2 (L2) networks and sidechains such as Polygon, Arbitrum, and Base.

Does MetaMask use Layer 2? ›

MetaMask's parent company, Consensys, is also launching its own layer 2 network using zero-knowledge proofs: Linea.

What is the difference between Layer-1 and Layer 2 Ethereum? ›

While Layer 1 provides a secure and decentralized foundation, Layer 2 solutions offer scalability and cost-effectiveness. By understanding their dynamics, strengths, and challenges, users and developers can make informed decisions and contribute to a more efficient, inclusive, and innovative DeFi landscape.

What is an example of L2 ETH? ›

Examples of prominent L2 solutions include Polygon zkEVM, Optimism, Arbitrum, and Base. For comprehensive information, developers can explore Moralis.io, and traders can find insights on Moralis Money, covering various L1 and L2 projects.

What is the difference between ETH Layer 2 and layer 3? ›

Layer 2 and Layer 3. Layer 2 switches operate at the data link layer (layer 2) of the OSI model and forward data packets based on the MAC addresses of the devices on a LAN. Layer 3 switches also support routing capabilities at the network layer (layer 3) and can forward packets based on both MAC and IP addresses.

Is Polygon a Layer 2 on Ethereum? ›

What is Polygon (MATIC)? Polygon is a “layer two” or “sidechain” scaling solution that runs alongside the Ethereum blockchain — allowing for speedy transactions and low fees. MATIC is the network's native cryptocurrency, which is used for fees, staking, and more. You can buy or sell MATIC via exchanges like Coinbase.

Top Articles
Have Any $200 Quarters Lying Around? It’s Worth Checking Your Spare Change
Best Asics Running Shoes Right Now
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Pearson Correlation Coefficient
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 5889

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.