Rise of The Hyperchain: ZK Stack for zkSync | Daniel Lumi - Matter Labs
Ethereum Denver·Wed, Oct 9, 2024, 12:00 AM
Speaker
ZK Stack is our vision for the future of blockchain. We enable speed and low fees, without compromises 🔥 This speech is a general overview of the modular nature of hyperchains, their components, and how the hyperchain ecosystem will enable a future of exponential growth through network effects, while maintaining the core values of the Ethereum ecosystem. APPLICATIONS FOR ETHDenver 2024: #YearOfTheSpork ARE OPEN APPLY NOW https://ethdenver.com/apply
Transcript
[Music] hey what's going on everyone uh welcome to my speech on Rise of the hyper chain um my name is Daniel Lumi I'm the senior product manager of ZK stack uh build for ZK sync so today we'll be talking about our vision for scaling the blockchain to mainstream adoptation and first I'll go a little bit into uh what is matter labs and how does it relate to ZK think so matter Labs is one of the leading ZK companies uh we've raised over $250 million and we have over 150 experts in engineering and cryptography we really have a worldclass team with people from SpaceX and Microsoft and Google and Uber so ZK sync is um an L2 built on top of ethereum that uses zero knowledge proofs uh we as matter Labs were the inventors uh for ZK sync and now we're one of the main core contributors there's also a lot of other core contributors such as Lambda and transactions fusion and many other ones so our goal for ZK sync is to essentially make a safe and easy to use blockchain that is always cheap regardless of the scale that it goes to and this is very important to do these things without compromises that's why we're all in blockchain that's why we're all in ethereum so the uh state of blockchains today and yeah I'm talking about dilemma not trilemma before you bounce on me dilemma okay so how does the internet scale right and this will explain the Dilemma right and so just as a mental model imagine that you're playing a game on your computer right that might work assuming you have a good computer and then you start booting a bunch of other applications and at some point like you you simply cannot run every single application on your computer at once right so how does the internet deal with this so let's say there's a bunch of people that want to order a new iPhone to pre-order it so maybe it works for the first thousand people but at some point it's going to be start uh too many users entering the website for it to all be supported by one server so essentially what they do is they copy the state of the Apple website onto many different servers and then they can scale sort of limitlessly horizontally and everyone can get the website so the internet if you allocate one server with end resources it has One X scale if you allocate another let's say three servers then it has four x scale so it scales linearly according to the amount of resources allocated to it so how does blockchain scale well the important part in the whole point of blockchain is that you need to form consensus every single server on theet Network needs to re-execute every single transaction of the network and this will happen thousands or tens of thousands or hundreds of thousands of times depending on how big the network is and similar to the internet we can't support all of the world's blockchain blockchain transactions and applications on every single one of those servers like this should be really obvious and if you're being told that you can do this it's probably a dishonest or just ignorance into how computers work so this is the problem that every blockchain has essentially they need to balance between decentralization and scalabilities because if they make it too scalable then maybe two computers in the world can run it or at some point that computer that you won't have any computers in the world it can't go infinitely bigger right um and you're sacrificing decentralization so ethereum decided to focus on decentralization keep the scalability really low so we can make it maximally decentralized and secure as a L2 ZK sync can essentially inherit the decentralization and then focus on scalability instead so again every single computer needs to run every single transaction so if you have one computer on ethereum network you have One X scale if you have 10 computers you still have 1X scale if you have a thousand computers it didn't scale at all it got more de centralized but that's not going to support the world's transaction throughput so how about cross chain maybe we can just scale cross chain the the whole point of blockchains is to have a global state that doesn't have trusted entities if you start doing cross chain you have trusted entities that defeats the purpose of having blockchains in the first place that's not the way that's not how we scale blockchain okay so it's all over we should Rage Quit get jobs in Banks right sorry metallic I'm sorry we tried no don't worry we came up with a concept called The hyperd Chain right ZK is the endgame we'll get back to this so the hyper chain essentially consists of two different layers one is the core and one is something I just wrote for this presentation it's a framework a web 3 framework that ties those chords together so let's start at the core right an era is actually an L2 that was built on the Technologies of our core right but every single hyper chain can leverage those same core Innovations at the heart of the hyper chain so anything that is done on era benefits literally every single other hyper chain and here's some core features we'll go into these a little bit um the first part is we have unprecedented scale and low fees so unlike other l2s evm l2s we didn't build the virtual machine one to one we're not trying to prove every single op code we optimize for high performance because we want this to reach Mass adaptation not just like 10 people trying to spam transactions at once like we need to make this much more scalable to reach a billion people or more so with our virtual machine in our technology you can currently support 100 to 200 transactions per second again depending on the complexity and that's compared to like all the other evm l2s of 5 to 20 maybe and we have much more incoming in the future because we architected it that way uh we do have the lowest fees of any L2 in some cases by up to 10 times cheaper um with validium not just in l2s we'll have one of the lowest fees in all the blockchain industry if you understand how subsidies gas subsidies actually work uh um for a ZK approver you can also run it on consumer grade Hardware so you can run it on a computer with as little as six gigabyt of GPU Ram that's just about any laptop at this point there are some other requirements but that is impressive that's actually a couple days ago we we updated a caching layer for that um unlike other l2s we don't publish every single transaction onto the network we publish the delta are the difference so if I send you 10 bucks you send me 10 bucks I send you 10 bucks you send me 10 bucks nothing gets updated because I just end up with 10 bucks in the end if it would have ended up with you we would have published that one change rather than every single transaction between so that makes every single transaction cheaper but it also enables certain things like super high frequency Oracle updates like really high frequency trading super cheap nft mints in batches it allows reoccurring payments like we can do onchain privacy using State diffs so another core feature that we have that other evml 2s don't is we have native account abstraction right and this essentially allows you like if I'm sending you 10 usdc I don't have to even think about what eth is I don't have to have any eth on my account I just pay the fee in usdc and you end up with usdc and this works on any uh any wallet including metamask any EA wallet as well as any smart contract wallet and then you get some cool other things with smart contract wallets like social recovery you don't have to write down 24 seed seed words anymore like you can sign a transaction with your iPhone and you can have things like session keys or limits and I do recommend Cav is over there go get their wallet try it it's beautiful sorry I don't know if I'm supposed to Cur it's really cool it's really really cool um with validium soon and Porter later you also get essentially fixed gas costs for transactions so right now the vast majority of your fee for making a transaction is publishing data onto L1 instead we can essentially publish the data somewhere else use Zer knowledge proofs and then you get more or less a flat trading fee regardless of how much ethereum usage goes up it's always going to be one cent or less for every single transaction forever it's actually scalable and sustainable unlike some other blockchains that subsidy fees that's the real fee and we focus on security first right it is our number one priority we spent $6.5 million in audits just on on era right with ZK you don't have to trust validators you can just trust the math and something that we're going to announce here in Denver is also if there's an implementation bug in ZK we'll do two Factor Authentication or multi using essentially a trusted chip so even if there's a bug no one can steal any money from the L2 we are going to make we are already um obsessed with developer tooling developer experience but we're going to make a massive push this year uh to really really further it so we already have Foundry we have remix we have hard hat but we have so many other efforts coming this year I think developers you'll see a massive difference in using um ZK sync or any of the hyper chains built on top so these are like as a community I know it's hard to understand how is one L2 different than other L2 but there's thousands of choices that we make on a day-to-day basis that compound and it grows and it grows we have been building this system with worldclass experts for five years like most of these features that I just mentioned you can't just slap on another L2 like these are fundamental architectural choices that went into building zky and it's part of the reason why we really believe this is the most viable solution for Mass scale and so here we have it the core of every hyper chain there is customization but it is the core underlying technologies that will enable mass scale so then comes like now these are SE this separate L2 so how do you tie them all together and that's where ZK stack comes in that's my product think of it as a framework right it makes it really easy for you to spin up all the different hyper chains but it's also the layer in between making essentially interoperability seamless where you as a user don't have to think about it at all right and ZK stack it's a modular um yeah okay good but it was loading is a developer friendly modular framework that makes it really easy for you to deploy and customize hyper chains without having to spend 5 years rebuilding the technology and 6.5 million in Audits and all that so with ZK stack you can fully customize a lot just about everything about your hyper chain right you can choose where the data is uh stored you can have your own custom gas token so if you want to launch a to token and be the gas you can do that like you can use different uh uh sequencing layers like you can publish the data publicly or keep it private and there's many many different CH changes that you can make to the decisions that Ira as a L2 had and ZK stack essentially makes blockchain future proof this is the key to scaling blockchain to mass adaptation and getting it to scale like the internet does horizontally essentially limitlessly and the key piece there is the interoperability right and that's where the zero knowledge magic comes in right you can't do this without ZK and if you use ZK essentially all of these different l2s can communicate to each other in the matter of seconds or minutes and essentially allows all of the different hyper chains to tap into the same users in liquidity this one might take a bit it's a video ah okay so let's say you have your money on one of these hyper chains and you have eth there and you want to swap it for usdc on any of the other hyperd chains you sign one one transaction it goes there it swaps it to usdc for example and then it Returns the money to you and it's all in one transaction you don't even have to really think about where your money is where the Dex is it just kind of works and this is the thing that enables this massively scalable essentially super computer you can abstract away the complexity and you can actually scale essentially limitlessly anyone on any chain can interact with any other chain you can have hyper chains they use many hyper chains for front end database something else users and it can kind of Shard itself you can have dexes that exist in different places and it makes this similar to the internet you plug into your Wi-Fi and you can use any server in the world without having to know its IP address ZK is the endgame like this is this is not a marketing message for us we really do believe that this is what enables Mass Market adaptation of block chain and so here's our sort of current hyper chain ecosystem and here's some examples uh so Kronos is launching a hyper chain they have uh they're backed by crypto.com with addressable user Market of over 80 million people we have ZK candy it's the largest game game developer in all of Southeast Asia as well as New Zealand and Australia we have tradable who's bringing rwas on chain uh they have they're working with partners with over 9 billion in originations and we have gravity that's building on Amazing essentially decentralized um derivatives exchange and there's so much more like I wish I could tell you guys the people that I talk day today we're talking with so many partners that are committing to launch this is the first time that like I'm really excited it's not anymore online casino if you saw the partners were talking today today these our Mass Market adaptation like people are reaching out to us that used to make fun of crypto and not understand the value of decentralization it is going to get exciting in the next years and the thing that I think people don't understand about like this sort of app chain hyper chain models is if you have just one other app chain it doesn't just grow the network that much if Kronos comes brings their users in liquidity and the usage of the network goes up every other hyper chain benefits from that too right so every time you launch a new hyper chain it essentially contributes to exponential growth not linear growth right this is similar to ethereum you don't just have one Core group of people making applications on ethereum it's everyone developing and the more people develop the more it grows exponentially um everything we do as matter labs for ZK sync or for ZK stack we follow something called ZK Credo it's our pledge our moral our values in this ecosystem to protecting ethereum to protecting the user to keeping the system decentralized to keeping it from being hijacked everything is open source will be is will be and forever will be you can always use it everything's permissionless you don't need anyone's permission to launch on this you don't need anyone's permissions to withdraw your money oops come play with ZK stack like launch onto the hyper chain you will experience the same exponential growth you can go to ZK stack. or uh scan that and you can start playing with the future today and it's out today by the way so it's the future is now uh I really encourage you to try ZK Quest 2.
0 it's a new learning and Quest platform every Builder here in East Denver part of the hackathon can get up to $230 in ethereum nfts some swag and essentially it teaches you about blockchain it teaches you how ZK sync works like I really encourage you to play around with it it's super cool uh you should follow um ZK sync on Twitter you'll hear all the updates and you can also follow me on Twitter X whatever um by either scanning that or I'm ZK Lumi and ZK is the end game like this is it we figured it out we're finally scaling blockchain and please feel free to download this presentation do whatever you want to it share it like like this is an exciting time and I think like normal people will start understanding or just using blockchain whether they have to understand it or not like where at the epicus we are about to launch into Mass Market that's it thank you
Automatic transcript — names and jargon may be misspelled.