Lessons learned from launching Cronos zkEVM with ZK Stack
ETHCC 7 · 10 Jul 2024 · 18:02
Ken Timsit of Cronos Labs shares design trade-offs from preparing to launch Cronos zkEVM, a layer 2 built with Matter Labs on ZK Stack, so other teams can learn from them. He covers three lessons: keeping fees low, noting that each batch takes three L1 transactions of about 800,000 gas, so costs rise when Ethereum gas does; a triple-yield idea combining liquid-staked tokens, DeFi yield and loyalty rewards, with trade-offs between rebasing and non-rebasing tokens; and ecosystem growth, where he says it is too early to bet on app chains over generalist chains. He also says the chain aims for native account abstraction from day one.
Speakers
Topics
From ETHCC 7, hosted by Ethereum France.
Transcript
Hi everyone. So how's the conference going for you so far? Good? Alright. So hi, I'm very pleased to be here with you. Also hi and welcome to anyone who's watching online. You may have noticed that today we uh have a L2 track the whole afternoon. So we have heard or will hear from projects like Matter Labs, Scroll, Fuel, Celo. Um and so we're also talking about Chrono ZK EVM, an up-and-coming L2.
Uh given that this conference is primarily a developer conference. Um the main goal of this presentation is to share with you some of the challenges and design trade-offs that we have faced when uh preparing to launch Chronos EKVM, so that if you are uh one of the many uh developers who are going to launch their own L2 this year, uh you can take advantage of those lessons. Is there a timer somewhere? No, I just do it myself.
Okay. So uh what is Chrono? So I'm Ken uh from Chronos Labs. What is Chronos? Chronos is an open source blockchain ecosystem initially developed uh with crypto.com as key contributor and strategic partner and then expanded uh to many other validators, app developers, and other partners. So today it's an ecosystem of three chains Kronos POS, which is a Cosmos chain, Kronos EVM, an alt layer one, which is EVM compatible, and Kronos ZK EVM, a layer two, that we are going to talk about today.
Altogether, those chains have settled more than 150 million transactions in the past few years. There are more than two billion dollars of assets of user assets which are either invested in DeFi or staked on those chains. And the ecosystem is as of now carbon neutral thanks to carbon offsets. So it's a chain that has been built in partnership with Matter Labs, the company behind ZK Sync ERA.
And as such, it's a partnership between Kronos Labs, Matter Labs, and a bunch of other teams who have been long standing contributors to the Kronos ecosystem, like Crypto.com, VVS, and Vino and others, all coming together to create that new layer 2. What is the status of the project? We're currently in testnet and about to launch mainnet in a matter of weeks. So if everything goes well, Chronos ZKVM should be the first ZK chain other than ZK Sync ERA, so the first chain to develop the ZK stack technology outside of their home chain.
And it will definitely also be the first ZK network to have a custom token, meaning that we're not using Ethereum as the gas token, but we're using the own token of the Kronos ecosystem. So right now, if you're interested in participating, the best place to go is ZkeVm.org slash bridge, where you can start depositing Crow ahead of the mainnet launch, which will happen in a few weeks. And if you do that, you will get all kinds of goodies that are described on the website.
So why another L2? So what was the thought process for us? And maybe that can help you also think about your thought process for launching an L2 or not. So first of all, you know, I think Kronos over the years has developed an amazing user base and base of developers. The addressable user base of Kronos, Crypto.com and all other partners is more than 100 million people around the world. And there's now an ecosystem of app developers that is more than 500 projects. All those users and developers we felt deserved a way to access more directly the liquidity and user base that exists on Ethereum.
Today they live on an L1, so they are somehow separate and disconnected from Ethereum. And of course, in order to bridge their funds between Ethereum and Chronos EVM, they have to either go through a centralized exchange like crypto.com, or they have to go through semi-centralized bridges, which is oftentimes a stressful experience. So our goal was really to take this ecosystem of users and developers and bring them closer to Ethereum. Additionally, as an ecosystem, we've always been very focused on the end users and their needs.
And over the years we've learned what they value. And so, as a differentiation and value proposition, the goal of Chrono CVM is really to focus on a few elements that we felt are extremely valuable to end users. First of all, they want low transaction fees. Transaction fees are still are still a key focus for end users. So low transaction fee is the first element of the value proposition.
Number two, end users want to be able to make their crypto work easily to generate yield and rewards. And so it's a very important goal for us to make it easy for users to make their crypto work for yield. Number three, they want stress-free bridging and on-ramp. And of course, the native bridge that is built by ZK Sync and is shared among all ZK chains is going to be very instrumental to that. And fourth, they want gasless trading.
We already have account abstraction on many chains, but because account abstraction came late in the development of those chains, today only 3% of addresses are smart contract wallets, while 97% of them are usual EOA wallets that need to pay gas in order to make transactions on most chains. So one of our goals with Chrono ZKVM is to start from day one by having account abstraction as the default and native way of transacting supported by the DAPs so that we can bring account abstraction adoption from 3% to hopefully 100%. So as I said before, our first goal is really to lower transaction fees.
So in our case, it's 5,000 transactions per batch. And then each batch requires three transactions on the L1: the commit, prove, and execute transaction. Altogether, those three transactions represent about 800,000 gas. And therefore, you know, with those basic orders of magnitude in mind, you can estimate how much L1 cost per transaction you're going to have to carry to make your L2 transactions happen. The good news is if the gas price on L1 is just one gigaway, then the cost of L1 per transaction is very, very low, well below one cent.
And so that really is compelling and is part of the value proposition of an L2. However, as the gas cost increases on L1 on Ethereum, for example, from one to ten gigawai or a hundred gigawai, then the L1 cost per transaction can become fairly significant and rise tremendously the cost of transactions on your L2. So that's what you see on the slide on the left-hand side. So the conclusion of that is you know we have already made a lot of progress towards lowering transaction fees well below the one cent threshold, which is our goal.
But more effort is needed so that we can deliver that sub-1 cent transaction level in any market conditions, uh, even when gas price on L1 is high. And so fortunately the the ZK sync team has a tremendous roadmap to work towards that when it comes to proof aggregation, uh, when it comes to new proof models, and also enabling L2s to make the arbitrage between validia mode, uh you know, putting the the transaction data on blobs on L1 or using data availability layers. But all of that is really at this point a roadmap, and we all need to work together among L2 operators to make those progresses happen and bring lower transaction fees to the users.
Second point, uh, there are three main points in that presentation. So, second point is about uh making it easy for end users to make their crypto work for them. So on Chronosy KVM, we want to introduce the concept of triple yield. So the idea is as follows. If uh you are an end user, you're going to come onto the chain and you're going to have some crow, some it, and some USD or USDC or DAI holdings. And we want to make it possible for the ecosystem to offer three levels of yield to you as an end user. The first level of yield is actually the crow if or USD that you're going to hold is not crow if or USD, it's a liquid-staked version of the same token investing or the underlying proof of stake or DeFi protocol.
So that concept was pioneered by BLAST, as you all know, but as of today, there are very few, if if not no other chain offering that very valuable concept for end users. So, first of all, by holding your crypto, you will natively earn proof of stake yield or other yields from the fact that you're using a liquid stakes token as the default cryptocurrency on the network. The second level of yield, of course, is the DeFi yield from any DEX or lending protocol that the user may choose to invest in.
And then the third level of yield, you know, very important these days, are loyalty rewards, which can include airdrops or other boosters of yield that early adopters of a network are going to have already started to expect as part of any L2 launch. And so one of the goals of Chrono ZKVM is to deliver all those yields in an integrated way so that many users can benefit from them without having to move their crypto around and invest in multiple protocols at the same time. The lesson in that respect is that there are some important design trade-offs that you want to you need to make if you're going to introduce uh yield-bearing tokens in your ecosystem.
Ideally, you want a yield-bearing token to be pegged to its underlying cryptocurrency. So you want the value of the yield-bearing ETH to be the same value as ETH so that users are not too confused, for example. And so there's a solution for that, which was introduced by LIDO, which is rebasing tokens. So tokens where the value is pegged to the underlying token, but your balance increases over time. We made the following trade-offs.
So, first of all, ZKCrow is going to be the gas token for Chrono ZKVM. It is not going to be pegged to Crow, meaning the value of ZKCrow is going to increase over time. But the benefits from that trade-off is that ZK Crow will be fully compatible with any native L2 bridge because it's a basic ERC20. And also because its value increases over time, it will still be able to deliver accumulated rewards to the end users. By contrast, with USD and ETH, we thought that it would be too confusing for users if the token is not pegged to the underlying cryptocurrency.
So those tokens will need to be wrapped if they want to be bridged to other chains. However, as such, they will be pegged to ETH and USD. The users will need to claim their rewards once a while, which will be accumulating on chain. And of course, as a result, those tokens will still be yield-bearing. Lesson number three so far is really about the development of the ecosystem.
I think on one hand, one of the narratives that you're hearing is that we are going to live in a universe of multiple L2s, each being an app chain with its own very specific use cases. And all those L2s are going to communicate with each other. But in reality, what we're seeing, of course, is not a proliferation of app chains. Rather, what we're seeing so far is really that the generalist chain model is winning. And for example, you know, in the case of Solana, you know, as soon as there's a strong use case like meme coins that emerges, the additional meme coins and infrastructure to power that ecosystem are built on the same chain.
And so there's kind of uh there seems to be right now an advantage to chains who are pursuing multiple uh applications on the same chain. So at this time, I think the lesson that we're drawing from from those developments is that it's too early to tell which model will win, and in particular, it's too early to focus on app chain uh specific uh L2s. So the approach that we're going to take on ZKEVM is really to encourage the development of an on-chain ecosystem with native uh DEX and money market foundations with DeFi and gaming use cases, but at the same time, we're also going to invest massively in the creation of cross-chain user experiences, which are of course what we all expect and is part of that promise that you know once all those L2s are present for the user, it doesn't really matter where their funds are held because all the chains that share the same proof system also share the same level of security.
So going forward, uh we're going to uh you know enable the ecosystem to work both on on-chain use cases as well as cross-chain use cases. Uh so that's that's it for uh for for this presentation. Again, I'm I'm hoping that this will be uh helpful to any of you who are building uh L tools uh and also for some of you to understand what Chronosy K EVM is about uh and how it's different from other solutions out there. Thank you.
Any questions We don't have time for questions.
Related talks
- How EIP4844 Will Affect the L2 Rollups | Eduardo Antuña, Héctor Masip - Polygon
- Are OP Rollups More Expensive than ZK Rollups?
- Optimizing ZK-Rollups: Unlocking Cost-Effective Proving Infrastructure
- How EIP-4844 Will Affect the L2 Rollups | Jordi Baylina, Polygon | ETHTaipei 2024
- Upgrading the Linea zkEVM With Alpha v2 | Declan Fox - Consensys
- Rollups Unfiltered: What We Wish We Knew While Building Zircuit | Martin Derka - Zircuit
- Starknet Economics
- GOAT: A BTC-based Decentralized Financial Ecosystem
- Introducing zkBlob and data-compression to the zkEVM