Welcome to Valid Points! Last week, the news that Ethereum’s long-awaited transition to proof-of-stake might finally come in September evoked as many “I’ll believe it when I see it” jeers as it did cheers.
But not everything on Ethereum is behind schedule. EthCC, a major Ethereum conference, took place in Paris this past week. With it came a trio of major announcements (and announcements of major announcements) from Polygon, Matter Labs and Scroll. Each team appears to be in the home stretch of launching a zkEVM (zero knowledge Ethereum Virtual Machine), a kind of technology – once thought to be years away – that will allow users to transact on Ethereum with lower fees and shorter delays. It’s no secret that using Ethereum is expensive and slow relative to other blockchain networks. The chain can only handle around 15 transactions per second, which is orders of magnitude below alternative blockchains like Solana and Tezos. And at periods of high traffic, Ethereum transaction fees can make the network prohibitively expensive for most use-cases (think $40 for a simple token swap). A year ago, so-called Optimistic-rollups like Arbitrum and Optimism were heralded as the best way around Ethereum’s sluggish and expensive user experience. But Optimistic rollups were only a band-aid solution, and it appears their core technology may be eclipsed sooner than expected with the upcoming launch of zkEVMs. Zero knowledge of zero knowledge? Not a problem. In this week’s edition of Valid Points, we’ll do our best to walk you through what zkEVMs are and what they mean for the future of Ethereum. Ethereum rollups
Understanding zkEVMs means understanding two core blockchain concepts: rollups and zero-knowledge proofs.
Those who have been reading this newsletter for a while will know that rollups are the main way that Ethereum developers are working to scale the network – meaning cheapening fees and increasing transaction speeds and throughput. Rollups typically achieve this by establishing a “layer 2” blockchain atop Ethereum’s “layer 1” mainnet. These layer 2 networks process transactions, bundle them up and pass them back down to the layer 1 network in some sort of compressed format. Once on the layer 1 chain, the transactions can be confirmed using fancy computer science or other mechanics. As Ethereum co-founder Vitalik Buterin explained in a blog post, “Rollups move computation (and state storage) off-chain, but keep some data per transaction on-chain. To improve efficiency, they use a whole host of fancy compression tricks to replace data with computation wherever possible.” As a result of these efficiency improvements, rollup chains allow users to use smart contracts – the computer programs that run on blockchains like Ethereum – more quickly and inexpensively. Since rollup transactions are “settled” on Ethereum’s base layer, they have an added bonus of borrowing the layer 1 chain’s security. (This differs from so-called sidechains, which execute transactions, bundle them up and pass them back down to a layer 1 network with little more than a pinky-promise that the transaction data has not been tampered with.) Optimistic rollups and ZK rollups There are generally two ways that rollups – which borrow Ethereum’s security – are constructed: Optimistic rollups and ZK rollups.
Optimistic rollups like Arbitrum and Optimism use a dispute period – usually around seven days – to ensure transaction truthfulness. In these systems, transactions happen on the layer 2 network, but when they are bundled up and passed back to the layer 1 chain, network actors on the base chain have time (the dispute period) to look things over and make sure the transaction data is what it purports to be. While a seven-day dispute period can slow down withdrawals (since it takes longer for transactions to officially “settle”), Optimistic rollups are much easier to implement than zero-knowledge rollups, the primary Ethereum scaling alternative. As a result, Optimistic rollups were the first to come to market (Arbitrum and Optimism both launched in 2021). Zero knowledge or “ZK” rollups use complex mathematics and computer science – rather than a dispute period – to guarantee that transactions that get bundled up and posted to a layer 1 network are “true.” They do this by constructing so-called “zk-SNARKs” – a kind of cryptographic message that “proves” a statement is true without requiring you to walk through it yourself. Zero-knowledge technology holds a number of advantages over Optimistic technology. Proving that transactions are correct (as ZK rollups do) is more fool-proof than trusting people to reject malicious transactions within a certain time window (as is required with Optimistic rollups). The zkEVM
If ZK rollups sound complicated, that’s because they are. Teams have worked for years to figure out how to distill complex transactions into easy-to-verify proofs – a problem that was expected to take at least a couple more years to crack.
In the interim, it has generally been thought that ZK technology would only be practically useful for more simple use-cases, like sending tokens between blockchain addresses. Companies like StarkWare and Matter Labs launched tools allowing projects to leverage ZK technology for a small set of applications, but they have yet to translate more complex operations – those used by most smart-contract based applications – into zero-knowledge proofs. In his 2021 rollup primer, Buterin wrote, “In general, my own view is that in the short term, Optimistic rollups are likely to win out for general-purpose EVM computation and ZK rollups are likely to win out for simple payments, exchange and other application-specific use cases, but in the medium to long term ZK rollups will win out in all use cases as ZK-SNARK technology improves.” The “medium to long term” time frame seems to have moved up significantly with the advent of the zkEVM. The rollup holy grail – the so-called zkEVM – allows developers to port any Ethereum smart contract over to a ZK rollup chain without needing to alter their underlying code. There are some differences between different kinds of zkEVMs being worked on by Polygon, Matter Labs and Scroll, but in general they promise to dramatically reduce fees and transaction speeds for virtually any use-case – even relative to Optimistic rollup solutions like Arbitrum and Optimism. State of Optimistic rollups
Optimistic rollups came about at a time when they seemed like the only realistic solution for Ethereum to scale.
The average transaction fee on Ethereum is currently $0.807 according to YCharts. Compare this to the two largest Optimistic rollups: Arbitrum and Optimism. Here, the average fees are $0.11 and $0.13, respectively, according to L2Fees.info. Though they work well at slicing fees, Optimistic rollups haven’t seen enough adoption to signal that they’ve truly “scaled” Ethereum. Though rollups have been around for several months, Ethereum maintains a sizable lead in daily transactions: There were 1.2 million Ethereum transactions on July 18 compared to fewer than 250,000 across Arbitrum and Optimism. A look at the value of cryptocurrency committed to Optimistic rollups, often referred to as total value locked (TVL), is an important indicator of a rollup’s health. Arbitrum and Optimism have around $1 billion in combined total value locked, according to DeFi Llama. This might seem like a lot, but it pales in comparison to the $55 billion locked on Ethereum. What happens to Optimistic rollups? On top of this lagging adoption, we’re now seeing the rise of the zkEVM – a technology which aims to improve upon Optimistic rollups across almost every metric. So what now for the Optimistic rollup?
One potential future pathway forward for Optimistic chains is to transition over to zero-knowledge technology. As Buterin put it on a primer on YouTube: “I personally would much rather trust $10 million dollars of my own money to an EVM Optimistic rollup than to an EVM ZK rollup for at least the next couple of years. But in the long-term ZK rollups are, I think, going to be everything. And so, my advice to teams like Optimism and Arbitrum is that I think they should start ZK-ifying themselves fairly soon.” Another path forward for these chains is to work on serving other use-cases, even if this means sacrificing some security. Last week on July 11, Arbitrum introduced a chain called Arbitrum Nova, intended for gaming and social applications, leaving its original mainnet to service NFT and DeFi projects. Nova – which is built using Arbitrum’s AnyTrust technology – offers transactions almost for free, albeit with some compromises to its security model (not unlike most other low-fee blockchains). And finally, Justin Drake – a researcher at the Ethereum Foundation who has partnered with teams like Scroll and Matter Labs on their zero-knowledge protocols – points to community as a potential saving grace for protocols like Optimism and Arbitrum. “It turns out that in this space, oftentimes it is not just about technology. Sometimes, it’s the network effects – the culture of the community – that is actually the most important thing. I think a team like Optimism really got a lot of things right from that perspective,” Drake told CoinDesk. In May, Optimism formed a decentralized autonomous organization (DAO), dubbed Optimism Collective and airdropped their OP token, which grants token holders the capability to determine protocol incentives and vote on protocol upgrades. Though the token drop was not without hiccups, Optimism’s unique governance model earned widespread praise throughout the Ethereum community – including from Buterin. - Sam Kessler (Sage D. Young contributed reporting) |