What is a Layer 2 Network?

Layer 2 Network key takeaways

  • A Layer 2 is a scaling solution built on top of Ethereum to reduce transaction costs.

  • Layer 2s may still be in beta release and risks may exist. Please understand these risks before choosing to deposit assets to the network.

  • There is a real possibility that errors occur on a Layer 2 and result in a total loss of funds. This risk is independent of the security of the Uniswap protocol as it exists on Ethereum Layer 1. If there is a critical error found in a Layer 2, it can impact the security of funds locked in any protocol deployed within it, including the Uniswap protocol.

To understand Layer 2, we start with Layer 1. The Layer 1 network of the Uniswap Protocol is the Ethereum blockchain.

 

All trades and liquidity transactions are processed by the Ethereum network and stored in the Ethereum blockchain. The Ethereum network is only able to handle a certain number of transactions each day.

As demand for Ethereum has grown, more people have begun bidding for the right to process a transaction on Ethereum.

 

As a result, the cost to process your transaction has increased - sometimes costing hundreds of US dollars.

A Layer 2 is a second network or blockchain built on top of the Layer 1 Ethereum blockchain while preserving the security and decentralization guarantees of Ethereum.

 

These networks use a technology called "optimistic rollups" to increase scalability of the Ethereum blockchain.

Layer 2 networks accept transactions from many users at a time and then "rollup" the result into a single transaction that is written to the Layer 1 Ethereum blockchain.

 

Users of Layer 2 networks can typically expect lower transaction fees (network or gas fees) and nearly instant confirmation times for your transaction.

 

To use Layer 2 networks, you will first need to deposit funds from your Layer 1 wallet to Layer 2.