Demand to use Ethereum blockspace has exploded over the last year. The recent traction has led to Ethereum’s transaction fees, i.e. ETH gas prices, rising to painful levels at times.
On the bright side, this shows that Ethereum’s young base layer is extremely useful and that many people are bidding over each other to get their transactions processed in a timely fashion.
Conversely, for Ethereum to keep making advances toward the mainstream, it’ll need to scale up so it can offer instant and cheap transactions and meet the demand of billions of users, not just thousands.
The good news, then, is that an ecosystem of layer-two (L2) scaling solutions has already bloomed around Ethereum and is offering multiple different avenues to scale Ethereum for the masses. “Layer-two,” we say, because these innovations work by being appended to Ethereum from the blockchain’s periphery rather than via making modifications to the reigning smart contract platform’s base layer.
As such, we’re now staring down a future where Ethereum will serve the masses with the help of a range of different L2 solutions. In today’s post, then, let’s survey the various L2 styles that have come to the fore to date and examine how some of Ethereum’s most promising L2 projects are looking in the here and now.
In the years ahead, Ethereum will eventually embrace L1, i.e. base layer, scaling via sharding, which will split Ethereum’s activity across 64 main chains rather than one.
Yet it will be some time before sharding is implemented. The innovation’s scaling benefits can work collaboratively with L2 tools, so we’ve seen the L2 arena really blossom in recent months as projects have raced to help Ethereum scale amid this critical transitionary period for the network.
So far, the three main L2 models we’ve seen are as follows:
- State channels
- optimistic rollups (ORUs)
- zkRollups (ZRUs)
Source: Token Terminal
State channels take the burden off the Ethereum base layer by facilitating transactions off-chain. State channels require a user to deposit a snapshot of Ethereum’s state into a multi-sig contract (not dissimilar to how users deposit bitcoin into the Lightning Network’s payments channels). This state will harbor key data, like an address’s ETH holdings at a given time. Such a system allows for free off-chain transactions with instant finality and superior privacy.
Sidechains are independent blockchains with their own independent consensus rules where Ethereum transactions can be moved to in a custodial manner in order to decrease the burden on the Ethereum mainnet.
Rollups are akin to advanced, non-custodial sidechains that can extensively extend the throughput capabilities of the Ethereum mainnet. So far, rollups have come in four main varieties: optimistic rollups (ORUs), zkRollups (ZRUs), Plasma chains, and Validium chains.
You can contrast these four rollup styles depending on whether they handle data storage on-chain (ZRUs, ORUs) or off-chain (Plasma, Validium) and whether they handle computation via zero-knowledge validity proofs (ZRUs, Validium) or via deposit-slashing fraud proofs (ORUs, Plasma).
Surveying Ethereum’s Top Layer 2 Projects
TPS: 70 txs
xDai Chain is an EVM-based sidechain that’s been designed to facilitate transactions in an extremely rapid and stable manner. The project is underpinned by its STAKE token, which consensus providers stake in order to secure the sidechain. Because of its efficiency, xDai Chain has been growing in popularity in recent weeks.
TPS: 70 txs
Like xDai Chain, POA Network is an EVM-based sidechain that relies on a set of trusted validators to power quick and cheap transactions. The solution is viable for backing anything from blockchain games to community currencies.
TPS: +20,000 txs
Notable projects: Uniswap, Compound, Synthetix
Optimism is an ORU implementation that is gaining early traction among some big DeFi players, like Synthetix. Optimism has built the OVM, an L2-based EVM that makes it so projects can enjoy all the benefits of Ethereum’s L1 smart contracts while on L2. Moreover, Optimism is already in the process of facilitating its mainnet launch, so L2 benefits are no longer on the horizon.
TPS: +20,000 txs
Fuel was the first ORU implementation to hit the Ethereum mainnet, as Fuel’s first rendition went live on Dec. 31st, 2020. The great promise of this L2 solution is super fast and super efficient token payments. Indeed, the project’s aiming for nothing less than becoming “Earth’s value exchange layer.”
TPS: +20,000 txs
Notable projects: Curve, Gitcoin, Balancer, Argent
Created by Matter Labs, zkSync is a ZRU-based L2 scaling solution that uses zero-knowledge proofs to offer high throughput and high security. Ethereum projects that have already integrated with zkSync include Gitcoin and Golem.
TPS: +16,000 txs
Loopring was the first rollup deployed to Ethereum, running on mainnet for over one year at this point. Loopring’s ZRU-based tech is currently focused on scaling decentralized exchanges (AMMs and orderbooks), and payments. The technology is already usable in the Loopring 3.6 release, on which the Loopring Exchange and Loopring Wallet are based.
TPS: +20,000 txs
Notable projects: dYdX, DeversiFi, Paraswap
StarkEx works somewhat similarly to zkRollups, with the main difference being that StarkEx’s Validium-based system handles data storage off-chain. This dynamic allows the project to have higher throughput capabilities compared to pure ZRU systems.
There are a variety of L2 solutions that will be responsible for forming Ethereum’s scaling landscape in the future. These solutions are starting to take shape right in front of us, to the point that 2021 will likely see more scaling advances around Ethereum than we’ve ever seen before. These projects won’t be zero sum, but rather will work in tandem to make it so that Ethereum can handle millions of transactions per second, not just dozens. Accordingly, L2 solutions will be how Ethereum wins over mainstream users and becomes a popular international settlement system.