Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Epicenter - Learn about Crypto, Blockchain, Ethereum, Bitcoin and Distributed Technologies

Epicenter - Learn about Crypto, Blockchain, Ethereum, Bitcoin and Distributed Technologies artwork

David Schwartz & Jordi Baylina: Polygon zkEVM – From Circuits to Mainnet - Part 1

Mar 10, 202357 minAudio
ShareXLinkedInFacebookWhatsAppEmail

With the upcoming launch of Polygon's zkEVM mainnet, L2s are undoubtedly a huge narrative that is unfolding in 2023. It is time to take a step back and recognise the incredible amount of effort that has gone into researching and building L2 scaling solutions in general and zk rollups in particular. Tech-wise, we barely scratched the surface of general purpose processors that can handle zk circuits, so there is still tremendous room to grow. As layer 2s become more efficient, so will the applications that are dependent on blockchain throughput. We were joined by Jordi Baylina (tech lead) & David Schwartz (CTO) from Polygon's zkEVM, to discuss the different milestones & challenges they had to overcome in designing a zk rollup, from circuits to mainnet. Topics covered in this episode: Jordi’s & David’s backgrounds The idea behind Hermez Network zkEVM scaling & validity proofs How different ZK rollup models function What challenges zkEVM encountered during development Evolutionary pathways in the realm of ZKPs Auditing zkEVM Trusted setup requirement for zkEVM Episode links: Jordi Baylina on Twitter David Schwartz on Twitter Polygon zkEVM on Twitter Sponsors: Omni: Access all of Web3 in one easy-to-use wallet! Earn and manage assets at once with Omni's built-in staking, yield vaults, bridges, swaps and NFT support. https://omni.app/ - This episode is hosted by Friederike Ernst & Meher Roy. Show notes and listening options: epicenter.tv/486

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show. Tap a time to play from there.

This is epicenter episode 485 with guests, David, Schwartz and Jody by Lena of the co-founders of polygons. Welcome to epicenter. The show was shocks about the Technologies projects and people driving decentralization and the blockchain revolution. I am Fredrika and and I'm here with my hair Roy. Today we're speaking with David

Schwartz and Jody by Lena the cofounders of polygons and heads behind the polygon, ZK e VM and we have so many questions. It's going to be very meaty episode. But before we talk with Jordi and David about polygon, let me tell you about our sponsor this week. Omni is your new favorite multi-chain, Mobile Wallet Omni supports more than 25 particles, so you can manage all of your assets in one place. But what's really special about? Omni is what you can do inside the wallet.

Once you get yet, I'm the allows you to get the best apis with zero fees in three tabs. Need to swap Omnia. Gates are major Bridges indexes so you can bridge and swept across all supported networks in one transaction directly in your wallet love and FTS Omni offers the broadest NFC support of any wallet. So you can collect and manage your favorite and FTS across all chains, all in one place. I'm need. Truly is the easiest way to use web three and it's fully self custodia. Meaning you'd ever have to trust anyone with your assets other

than yourself and they support Ledger. Give Omnia Triad Omni .f. David Andrade it's it's such a pleasure to have you guys on the pleasure. The pleasure resource thank you for inviting us. We are very happy to be here. Yeah. Thank you so much for having us. This is one of the podcast you know when I when I started in blockchain this podcast for preventing was there. So that's that's a, that's a harder to be here, too. So that's it. Thank you for still being here. Thank you.

This is our 10th year. So I think very few years have actually made it to 10 years and not Jane but yeah, we're still around. So Jody you also have a super long, a theorem history. So I remember you telling me that you kind of entered the scene right around the entire the Dow situation and their hack and you kind of join the white hat hackers tell us about that. Well, that was a long time ago. For me looks like prehistoric break story called times, but

this is was my introduction to blockchain. So I was just learning but excited about the 30mm at that point, very excited about the Dow and discovering the community discovering, the things that you could do in this video, I was at that point. I was writing liquid democracy, smart, contracts for the loud, but I learn a lot. You know, I mainly learn how this works on that time, and then know that. The hack in the lau happen. I was one of the persons that check out more of the coat and

was very involved at that point. So we thought I must without even realizing I just get involved in what context and and this was my baptism in blockchain was very, very, you know, very exciting times for me was it's a story, you know, and I don't think is the topic of this of this interview but it for me was like, a movie, you know, we just being part of a movie and, and, you know, No white hackers, the hackers, try to attack the hacker, the so for the heart for it can determine the phones and well, yeah, I mean, just just was a fast

learning on the, on the, on the space. But yeah, good moments that point. That trial by fire exactly. And I'm sure there's going to be a movie about this at some point. So who do you think is going to be cast as Jodi? Who's going to be? What the hell says, who is going to be cast as you? Oh, yeah. I don't know. I don't know. I don't know. Richard.

David. And what about you? You have. You are super difficult to Google, by the way, because you have a very common name and also the same same name as the Ripper zto. So, your background me comes now comes from you as a complete surprise. You can tell me anything and I believe it. Yeah, no, no, I joined the space five years ago. The only convince me to start together project on identity and we are still working on it and more recently, we just started the see KVM before that.

It was her mesh Network. We joined hands with polygons two years ago and it was like a big experience. Now, we are working together in this aquarium. I basically am leading the project in terms of execution. The mission of the team, the follow-up, and also the product side. So, Germany is doing the magic and trying to make this happen in the, in every other respect. I'm in your boat. So I also I also try to make things happen in every other respect and this is it's a very

hard job. So with all respect to Jody but yeah, David don't don't undersell yourself. Yeah. So you guys co-founded the Hamas Network at the time. What what, what were you setting out to do with it? Well, we were just trying to scale say scale with blockchain. So this case was so the first, the first version of a Hermit was just an only payments system but was quite good and scalars quite well.

And this was the Hermes one was a very good experience from there. And from there we just realizing that the important was a skilled human and we just focus on As he gave, um, since they're the story, is that so we were doing the data entity project we were doing, like the three project at that point and we were building a lot of zero knowledge technology and a lot of the technology they are. So we at that point we realized that this technology was very useful. Also, for scaling actually, we were trying to build the kind of a rollup but for identity so you

can we can we can also do a roll up for payments. You know, it's something that's interesting and to do and then we started to a kind of a proof of concept in tourmaline. Side project inside the team and we realize that this work quite well. And at some point we just decided to. Okay, let's move. Here's. And let's focus on these four for a while and and yeah, that's when that's how we will have missed one. Yeah, I would say that the Hem is going was an amazing experience for us.

Also to, you know, make use of this Sleek, a technology Jolie was one of the Pioneers in this field by creating tools, like sitcoms 9 JS. That's how today are very common and very used across many teams. They had 11 points here was payment Network only, which was basically, what we feel. It was possible at the moment but this field has evolved a lot. I'm two years ago, these three KVM seemed like an impossible invisible of and things already

said that because your approach was very ambitious you go forth from the from the first step building a payment Network to the full. It's a smart contract execution. It seem like a big deal and we are super happy that today. We are very close to launch the minutes and everybody can see that, doesn't it? So, super exciting times also hard hard work behind this. As you can imagine but the story is that we got there by a lot of hard work and being ambitious

and trusting that along the way we'll find Solutions which we can still a little bit more but it happens. So very exciting times. What is ZK, evm? Z KB, m is mainly, scaling is idiom. That means that Z KVM is a rollup is a layer to roll up. That works exactly the same that the layer one, reliable, exactly the same that the helium. But instead of running on a layer 1 or 10 of running, any 30, we are running in this layer

to. So it's a smart contract that emulates what the test is Chain by itself, and we are just taking from layer, wanna the consensual soul, Of to doesn't include the consensus mechanism. So, we are leveraging on the layer 1, consensus mechanisms, but we are building a new layer, so a new system on top. And the difference will be mainly. It should be mainly the, the throughput quantity of transactions. Does the network should accept and undone and the price, you

know, if you have more throughput than the price should go long. Yeah. That's that's the, that's the, the concept of the zika. JDM. So it's evm is the 32-bit or machine and ZK is just we are emulating or we are running and the theory inverter machine with zero knowledge in Aurora. That's mainly what it is. I'm going to do is that we are in the sea KVM during basically changing the trust model. We have this kind of layer to execution.

Let's say blockchain that doing often processing of SEO marketing team transactions, But here, instead of having a consensus protocol, that provides the security to the users, we rely on the level one Security to verify some kind of validity proofs that are created into this layer 2. And this layer disability Brooks basically certified. The users that the execution is correct according to the rules of residuum or the rules at the this VM has. So the blueberries, the key is a key element here because it's

worth all the trust, you know, of the user. Others are deposit. Because the, the these blueberries, for this occasion, quits and forces, the behavior of an airport is an invoice Behavior. Click according to the rules of this idiom, then you get the proof otherwise you don't get the proof. And this one is the proof is kind of the new model of trust and this enables to compress in some way you get a lot of transactions that are proven Maya 16th as more proof. And this is where the scalability happens.

Cool. So in a, in a typical layer 1, if I as a, let's try as a business, we want to be sure that the current Ledger is correct. I have to run all of the transactions from from basically zero or the first instant. Now verify that all of the transactions were correct and the accounting was correct. And then I come to the current state and then I know that over the current state is correct in this case, what Yes.

The essence of what you are developing is that you will have a network where in network and all you can almost imagine the network as emitting enough certificates or proves, which attests to the fact that some current state. So that the state that has been reached currently came, as a result of, you know, correct, accounting, done in history and that correct accounting? Is certified by IDs zero

knowledge proof. So I only need to process the certificates or the proofs, which is much lighter than actually running all of the transactions in the history of that Network. Exactly explaining the thing. Is it, is it the case that, you know, when any tedium launched, there was the ethereum network. And then there there is was like, etherium virtual machine and of course, the theorem

Network, use the ethereum virtual machine, but the ethereum virtual machine is, kind of like an abstract concept really that can that was adopted by other networks, right? So is it similar in your case as well? That there is a ZK e VM Network that you're trying to build? But there's also a Zeki evm, like some kind of abstract computational machine that you are building that can also be in the future used by other networks is that right?

Not exactly. I would say. So what we are doing here is so from the conceptually, we're just copying emulating the IBM. So we are just so what we are just so that what we are trying to solve this, okay, is you are doing the same in one thing and we are just doing the damn. So from the user perspective there is nothing. Nothing else. If we check internally and we check the architecture that we are using to build that. It's a like a kind of a double layer. So there We have like a soup processor.

We have a kind of a soup processor, that's really sick securing with a specific language and we are emulating or we are just running the IBM. So the program that emulates, the DM on top of these, ZK, processor on the bottom. But this is, I would say this is more, so, it's more than the architecture. Part is not in the, it's not the final, it's not the final purpose. It's not, it's not, it's not. Finally they are this this is a private thing. It's it's a specific Professor

processor to do a specific job. At this case is emulate the the the IBM, what? Yep, here there is. We could have other processors here but but this is not a public process, it's not it's not. We don't plan to do, people run programs for this processor users to write for this processor. So we just It's a specific solution for having Z KB M, CK Paula. Yeah, basically the mission of

polygon is scaling is helium to bring against this video mainstream and this is what we are trying to be mimicked. Essentially what this team is doing. So your service doesn't have any friction, the same thing with it with a POS so that we want to replicate these kind of experience for users. But we said the security of hysterium because we will be deploying a layer 2, but we have basically following History Museum, in solution, new changes. We will catch up.

As you all know there's different kinds of ZK Roll-Ups. There's also optimistic roll. Let's roll ups. Let's not talk about those for now. So let's just concentrate on ZK, Roll-Ups. And basically, if you zoom out and kind of explain and explain in like normal people terms, how they differ my take on, what the ZK e BM is would be that the ZK e VM just transpose has every up code that DVM has into a ZK version of that, opcode.

And that means it becomes trivial to kind of transpose, any kind of smart contract that you already have into the, the smart contract that can be compiled by the ZK e VM, because you just replace every up code that you've used with the equivalent of this UK, a VM, is that high level understanding correct. Yeah, but it's not even that is there is not even that transposition. You just can take a smart contract. You don't even have to recompile and you just deploy.

You just deploy these a smart contract in the Z, KB, M, you don't need to have special compilers. You don't need to have a special version of meta, Mars. We don't need to have a special version of her hat, or you don't need to translate any of code. In other opposed, you are just taking certain transactions. You are just taking through my smart. Sure. You're just using the same way that you are using a serum. You are using the, you are just, just put metal mask in to the Z,

KV M and and you deploy there. So it's as easy as at CCS as diving does that. And this is the main chick. Is this easy? This easiness on that, this is the ideal physique avium. I mean, that, that, that sounds I don't want to say straightforward but it seems like a very natural approach, right? Seeing that you already have the evm. You already said, like ten minutes or so ago, that it was through that, this approach would be to hard that it was

inconceivable that this could be built within like reasonable times. Day is gay. What were the limits? Are the challenges. I mean, I think we saw passes the limit. Yeah, maybe before that we can go back to the dealership and question is there are different approaches to see KPM? I don't think we can just say all are the same metallic. Explain this very well in a recent post, or maybe was like the last year, but there are different times types.

We are targeting evm equivalents, which was basically what Charlie was defining. So, no friction for users. Who are Are deploying the same thing that you really see them in our model. There are other approaches that were, let's say we're starting probably before with it. I like see casing or Star where they were doing kind of a building a BM, which was more seek a frenzy just basically the internals of the, of the engine of the CK, Bluebird is more

simplified. And let's say, they are not supporting the same set of code. We want to deliver. So, you know, the users need to transform The Code by recompiling in some way, or even in this approach of a star mode will be to usually language, or they also, they have some compilers, and these kind of things, but the one we said, it was difficult. I mean, that these themes is started before, and they felt this was the approach that was

visible on a moment to build. Let's say b m. Em, but was seek a friendly in somebody. They felt that in terms of his is like this the computation of proofs is a very intensive calculation and you need to prepare this correctly so so you can be efficient so they were following kind of more simple strategies that paid. It's a unique terrifically, better outcome in terms of feasibility of proof calculation for for this kind of processing

of transactions. And we were following our approach we, which was more ambitious that basically was a VM equivalence that anyone could use this idiom as we have today, but it seemed more complex. The internals were more complex. And in fact, they are probably since we are all the complexity. We are avoiding for users, we are putting into the inside of the system as their General concept. So this is the reason why we have so, so happy that we are

able to deliver this. he's so soon and it works because it seemed like a impossible to years ago and today we are in a position that we are super Capital to be Can you give us an idea of the challenges that kind of you needed to that you were up against and kind of building this more complex technology that kind of abstracts? Some of the complexities are most of the complexities away from the user.

Can enumerate some of them, but for example, if you want a VM, for example, you want that, the signatures are the same way, so you need to use ecdsa the same way that the 3mm does. So that means that you need to do circuit, or you need to do a zero knowledge, circuit that validates normally theorem signatures or catch acts, you know, you need to also have a silk with that that emulates ketchup. These are not so ecdsa Orga check is not something, it's not something that's prepared. Doing efficiently the ZK.

So we have to do invent and do things just to to to optimize and to do that things faster. But other more I would say other it more trivial me, tell you some other more trivial things. For example, the transactions in a 30 modencode with our LP, okay. So you need we need to another P decoder inside the inside the inside the prover. Okay. At this is it's a stupid if you do it. It in the normal process or but doing in the in a VM, in a ZK circuit, that's much, it's

harder than that. But I mean, a lot of things have, you know, for example the AVM happened, what has this memory alignment? You know, it's a bike related but then you read the 2056 words or 256 automatics you need to to, to deal with that in an efficient in an efficient way. It's, I would say, is during here now Half that we have been working for this project. Almost two years. Right now, it has been like 12 challenge per per week at least.

And on solving you know, that has been so huge team effort to solve for this engineering challenges that compose the capm. Do you guys know that it's always possible to kind of transpose? This I mean is there a mathematical proof that you can kind of take any smart contract and kind of transpose it into, you know, an equivalency a second? I mean, did you know it was an engineering challenge, was it

also questionable whether it was doable at all, Possible. So mathematically speaking possible. It is. So there is no no restriction for not being the question, is more, who efficient? This is the just as, as a as a number, as in Justice, I die. Tell you one, one, anecdote, one one. One thing from when we started the system, we were discussing with the weight and we were talking about proving computation. We were talking in.

We were measuring that first estimations. We measuring in in hours and the computation power were we're. We're measuring with lots of servers. You know what we're talking about data centers at some point on that at this point, building proof of 10 million gas, it takes less than two minutes. This has been the Improvement of these but the the Challenger was not the single server. Yeah. So that's that's so that's,

that's has been the, the Improvement that we Eight in these two years. This has been mainly a fight about optimization optimization and here is all the, all the possible things that you can optimize. You know, from the mathematical perspective, the engineering perspective of how the way you do it. The programming perspective, if you are using vector vector instructions assembly, we trade also with gpus, we try it with, so it's like taking account that cash, but taking also into account the different protocols. We went to the Goldilocks.

This is One of the things that make us improve a lot and it's a lot, a lot of things, and a lot of improvements and a lot of small details that when you're putting together is when you can have these times. But it's not. This is the result of it's not the result of a simple thing. It's a result of hundreds of engineering decisions and you know and in changing the tire details that when you put them together and you were just fine tuning, all of them is when you are getting this. When you are getting these numbers, But we started, you know, the first expectations

were we're huge. We were in the limit of feasibility when we started. Okay, so literally gradient hard work and you know, kind of optimizing like every single thing that you can optimize for exactly. That's that's been that's been my job that actually the job for the team for the last two years. How big is the team? How many how many people do you have on the team? And what what are their backgrounds are? They mathematicians our cryptographers computer

scientists. All of them we have a team of Engineers that work with journey in the bluebird with the seek a part that will only 56 people we have something working in the in the contracts protocol. Like for people we have like seven people working in the client of the network but we as a polygon we have contributions from any other teams like a polygon 0 polygon mind them. Also brought polygon themes, we

have a big family you're working on this with different profiles from photographers to Engineers but project I would Define as early was saying before it was Julie, was doing a lot of research in the CK. And the feasibility of this implementation, we have great ideas from a long time ago, trolley one year and a half but it has been one year and a half of improvements. Of optimizations and we are still working on it. So, basically, the team the team

is very composed by engineers and they're doing an amazing job. We have some mathematician but is an engineering project. Some time to understand the difference between the approach Z. KV m, is taking versus like something like what Stockman is taking care of, that guy, do lamb. And what I understand is that ultimately, any kind of virtual machine is essentially defines, is set of operations that it can

do. These might be operations, like, add subtract multiply, right? Simple operations, all of us understand but in the etherium machines case are also complex operations is on like take a hash of certain certain data or verify signature or there is something which is called the jump instruction, which mr. Something which basically allows for Loops to exist in the Athenian virtual directory.

So the theorem virtual machine has a set of operations that were chosen in the history of the Mint of these helium virtual machine will be 2014 and and the difference between your approach as as as polygons versus start something like Stark where is you're saying okay is helium will show machine defines these I don't know her and 28 or 150 set of opcodes and you're going

to take these opcodes and we are going to develop a system that can emit zero knowledge. Roofs for a chain of operations that are that are using these op codes. Whereas, star player is saying that actually, let's define a different set of opcodes, which are not exactly the same as that used in the evm. And let's define those opcodes in a way that it becomes easy to write.

Zero knowledge proofs for them but it's a different set of opcodes and because now it's a different set of opcodes. Ultimately, they need a different programming language. Cairo Lang to also run on top of the virtual machine. It has in your case because the set of opcodes is the same as its helium virtual machine developers will be able to write in salinity or Piper or any of these languages that they are Loosely, right? Is that kind of thing.

Exactly. Yeah, exactly. That's a that's not a different approach the approach you you explain it is star one approach or even polygon 0 for example started also these no sorry a polygon made and start at this approach. It's okay. Let's build. Let's build like a new new new virtual machine. This is one approach. There is another approach that sound. For example. The one that was used by polygons Zero or that was is used for for mathematics, for

example. That's okay. Let's try to be compatible but not compatible a topcoat level. But of course, compatible of language level. So let's take solidity and then you just transpile it to our own built on machine, okay? Or to. Well, this is another approach. It was probably the best approach you could choose to two years ago or three years ago when was started because, you know, was doing Of code. Compatible ibm-compatible, had a lot of challenges in there.

So this was a another approach and then the third approach that is the one. That's okay. Let's, let's not do not be compatible at language level, but be compatible out of college level. So that means that this is the one that's closer to the theorem. And this is, this is the project that the approach that we took orders from a scroll. People also took this approach to do a solid for other teams that do this approach. There are different ways, different ways to approach this. The same problem with with

different implications for the end users you know the or approaches is theoretically, it should be less efficient but more butts more easy for the user. What's interesting and here is the video of the main thing is that it should be more of it, should be less efficient but actually it's even much more efficient than the other that the Systems. And here is I think here we are very because, you know, all the other, all these improvements

that we made were not like the specific for what we were doing is very specific to the how we build relapses itself. So the optimizations that we make, I think that this discreet us a lot of big difference between the computers because we have the best of all worlds. We have the easiness for the, for the users and at the same time, we are very, very, very, very optimal. Even more optimal that we know who have The numbers because you know, the competitors we don't we don't, they never publish approver that.

Yeah, it's difficult to hard. But but I mean, it looks like that we are much much more optimal that the, that the competitors. This is actually quite a little bit counterintuitive that it should be the case. Because normally, in the programming and software, engineering, you have languages that are like closer to English easier to write like the JavaScript or Python, and then you have languages that are much harder to learn and harder to

write, like, XT the advantage that the, usually, the hardware to right thing is, is that it is efficient and uses less power. District resources and mr. Varney of JavaScript in between is more computational resource. But I mean, one possible explanation would be that the competitors just haven't seen the optimization optimization to its end, right? So basically, if we kind of put Jordi now on, you know, the competitors and say Jodi please optimize this, do you think you

could get it to a more efficient Point than where ZK e BM, currently is absolutely? Yeah, I'm sure. But, you know, yeah, yeah. Because it's, it's a lot of, it's a lot of things. For example, I don't know who we are writing storage. This is not related. This is who we are Computing. The storage. This is not related to being evm, compatible, or not. Compatible, is just how you structure the stores on, how you, how you did. How do you create? How you define the storage in a way? That's efficient. Okay, this is a lot of knowledge

and testing and and improvements in who were writing the story and this is Can be used in any in any. So in any of these architectures on that, and this is an improvement that we made on that, but it's not. But let's, let's talk about arithmetic optimizations again, this is transversal. So this is not like a specific two or three more, who we are Computing. The icds a while. If you want to if your system was to have ccds is then this is hard and we solve that.

So if you see all these improvements that we make and we put them all together, so all these can be used in other systems that don't necessarily need 30. Mm, compatible we created for a 30mm because this is worth, what, what was your goal was? Was this or specification as engineering? But all this work that we make, it can be used in any most of the words can be used in other projects instead in transversally. And this is the cool thing of open sourcing.

The, the code is like, everything is in there. So, all the knowledge is in there. Of course. Takes time to be absorbed and to be understood and things. But there is a lot of knowledge that's in there that I'm sure that other projects will use it in the in the ethereum space and outside the stadium space, for sure. It's a lot of Innovations, that's the engineering is like the cool thing of engineering is that you can advance. There is like two things, one is

the balance, and when in engineering, sometimes you need to choose between a balance. That's what the thing or the good engineering is. When you don't need to be in this balance when you are advancing in both France, and this is the real progress. When you are creating things that are doing better, no matter what the the variable that you are measuring. So such already like you mentioned, okay? In this space today, all three approaches exist, right? So one is okay, let's define a new virtual machine downside. It will be a new language which

is like Cairo Lang and let's try to build ZK. ZK. P 2 words that can do General competition. That way you have the approach there. Okay, you have the evm. Let's keep the evm upward compatible, and then Music approving systems on top of evm. That's the second approach. They can be something intermediate, which is like, okay, the tailor every VM which is let's build a virtual machine is similar to the VM, but not exactly the same, but still in

that kind of virtual machine, you will still be able to write in solidity, right? That that kind of approach also exist. So this is happening because of course, much of the Intellectual energy of the week a fee is going after these crypto problems. But will it be the case that in the future? There is a $0 proving system for the jvm Java virtual machine has as well. We think in the future there will be a ZK / / system for a language like go or rust as well

or or is there something fundamentally hard about building security URS for jvm and go line. Definitively, what you need to distinguish between the the low level of codes and the high-level languages. Okay? So in general, there are some intermediate representations like lvm or some you'll or, you know, other intermediate representations that America at that bar in the middle. But the interesting thing is

that what we did is we created a processor that's equivalent to the IBM, the same way that we did. The processor that's equivalent to the The IBM, we could easily write the processor. That's equivalent to was mm or that's equivalent to reach five or equivalent to, you know, to aiarm processor, some hole and then you can reuse the stock. Actually. For example, there is a very interesting project is called re0 that it's like, it's a release five emulation and they are just, you know, you can have

a program. That's right. And 4 is 5. You can write that in restoring, see, and you compile. And then you compile for Orvis 5. So you are using all the other compelling stock and then you are running their these things are. You can definitely do we. Actually, we did that for the IBM for a specific process of these, the 30mm processor, but the same way that we did for a processor. We can do it for any other any other processor. This of course, here again is how efficient it is, but it's definitely possible.

And this is the the way it's Yeah, I think this is the way it's going. The the ZK space because space is so every time writing, ZK circuits is is going to be. Is it every time that the thing is going to be writing more in C or in restoring in high-level language that in or even solidity that in that in low-level silk which we know with circle more things like that.

Or why or even now this is like a I would say this Is kind of bright, so doing electronics and the other is just doing real programs. So until now, the ZK was about doing Electronics, who were just doing some gates and putting them together and writing, you know, just doing some electronics that do maybe a specific calculator or do something that's specific. Now, we are creating processors, we are start creating processors and then you are not going to you are you will not need to write Electronics.

You will just read programs for this processor. And this is who is, who is, who is evolving, okay? And as you can see, I'm is clear milestone in that direction. Also like to add that all this technology to build this processor that you're describing is also a contribution. We have in the repositories of the project, all of this tooling is open shorts. Also as Ali was saying before we had this kind of big work of optimization to build a system

like physical system to prove this idiom. All these ideas are just out there and probably other things we Usually catch up which is fine perfectly fine for us. The point is that we get from the situation but we had initially estimating that the center's to prove this this protocol. We have now a single server and the cost we have today, they are so so irrelevant that we feel that this is going to become kind of a super mainstream

technology many in many lines. So the optimizations we have lamented and the ones we have in the pipeline and Module 2 to continue doing. I feel very very soon. There will be more processors running on CK and we are super happy about these two. So basically, the entire development is a little bit reminiscent of the history of Chip design, right? So basically, if you think back to like the not analogy, think back because none of us are old enough to think back that far. But basically, if you look at

how everything kind of evolved, we had like these integrated circuits. And in the beginning, the integrated circuits, they always had one very particular function. The program was kind of hard coded into the chip itself. And only with the advice, the Advent of general-purpose CPUs, that could kind of do anything that kind of opened up this entire space for building in

software. Kind of in order to kind of make a program new. You no longer had to build a new chip Sackett. You could just kind of reprogram a general-purpose one you already had. And obviously, It's not optimized for any particular thing but it still works well enough that you can kind of use it and kind of the advantage, the advantages you gain and kind of speed and execution and a giant has. And so on those kind of trump the fact that it's not optimized

for any one particular thing. And if you look at kind of how this entire space has evolved, like in the last probably like decade or so high-end. Tech companies have actually started building single-purpose chips again, right? I mean, so basically the entire TP using that kind of, I mean that's I mean, obviously that was kind of for gaming and shaders and whatever and kind of this has been taken over by the AI crowd to a large extent, but even kind of if you if you look

at CPUs for instance, Apple Now Designs its own chips and I mean this is just so it can Optimized for very specific things Samsung does the same thing and I think other high-end tech companies do the same. Do you actually see this happening in the zero-knowledge space as well? Or do you think this will happen that there will be certain set of applications that will run on very specialized.

CK infrastructure. That is not general purpose, but purpose built for this particular so things I'm thinking about are for instance, you said that one of the very first Things you build was payments protocol because obviously payments is simple. It's kind of, its kind of like, you could do it on, you know, State channels or something is pretty that you don't need like a generalized state or anything. Don't need, you know, smart contract computation. Do you think we will see the rise of, you know, ZK machines?

That can only do very that are optimized for very specific sets of applications. I mean definitely, yes, but I think you explained it, but very good. So but we are, we can say that we are in the 60s right now in the process or Sarah. Okay. So and you are talking the gpus that's in the 2000's at least the thing. So we are still. So we are still we right now. We have a lot of specific circuits but it's not because we want to optimize them because

sometimes it's the only way to do it is like in the 60s. So there are. You want to do a calculator and you either do it an electronic or it's impossible. You cannot do a processor. Okay, so here right now, for example, in the Starks, I could, I can compare start with the gate arrays, okay? So it's like okay, it's not that you are writing processor, we have gate arrays so you can have, you can you can write, you know, just Hardware in Gatorade stems. And there is a kind of a compiler and and put that, okay? So this is Tariq and peel and

all this technology we create okay we created a greater processor but you know the processors is that we are very evenly in the technology still. So the processors that we are building right now, they cannot do things. So you present, then the quantity of clocks that you can run in a proof is not that much so it's like we are running a million clocks or something like that. Okay. And million, you know, million clocks. How many things how much computation you can do in a day Million clocks. If you have a nightmare, Harris, processor.

This is just one second of processor in a proof, okay? And, and right now are three, four gigahertz. So, just to just to, to see where we are in the processors, in the process of Sarah. So when you have these, you know, these limitations in the electronics because we are still have these theoretical limitations in these in the Z space. We are much better that three years ago but we're still have we are starting to do this and that means that You need to do things that are specific. For example, if you are trying to build the Z KV M with a

normal 30 process of referees 5 processor with the interviews. You will you will. The problem is that the you can do it, but the problem will be too complex and will not fit will not fit. Well, you know, it's like you are doing a huge program and you are trying to run in a very, very old processor. It's like you're trying your building. I don't know. A Linux operating system and you are trying to run it. Tin as z80 processor you know it mean it's just not something you

need more memory, you need more, you need to check one more thing so we are in this in this stage still. So okay, we start having processors right now. Brighton processors is possible. This processor are doing amazing things. If we compare of what we had until the point, but it's still a long long run to do is like, I'm going to a generic, you know, this commodity say. Showing off their of the processing power. We are not there yet. Okay. And so, at this point, I would say, yes, it's going to be

specific, it's still going to be a specific processors, but not that. But that's because you know, if you want to have a lot of payments, you it's difficult to do it in a normal processor. So we probably see this face on that. Everything goes to a generic and maybe at some point need some specific but we need to wait in the kind of the processor. We need to write like 40 years, okay? So for that to happen. Crypto. Okay, broad thing go faster but but it's still on, bruh. 40, regular. Yes I may be like seven Crypt or years.

I'll change my opinion, will be besides technology. There's the we are in a very let's say intense. Exploration phase probably will need more stable use cases to make this, you know, specific purpose Secrets may be worth it because if the generic as you describe this wave of genetic processes will happen and probably will be covering a lot of use cases and we'll have Flexibility for that. The apps. So, probably with some of the apps being stable and we will make sense again to come to this

application specific circuits. I want to cover one final topic, regarding the zika, a VM itself, and that's kind of audits. So basically if you look at the different approaches that we have 40 knowledge Roll-Ups what are the implications for Audits and how much basically you said that a lot of the complexity you kind of abstract away from the user? Does this also mean that you Abstract a lot of the auditing

requirements away from the user because I mean, all of us, most of us, don't read bytecode, maybe you ought to do but probably no one in the entire world reads CK circuit bytecode. I mean, this is just how do you audit this? And how does this compare between the ZK e, VM, and the others? UK roll-ups? Look at that. The nice. Nice thing of this is that or approach of this architecture approach is based on layers. Is a, you explained it very

well. We have the hardware layer, you know, we just we have the what we call it the pill then we have the processor then we have the rum and then we have the program that so the so we have the problem, the ROM and this is are like different layers and that this is, this has been very good also for developing because we can have like different parallel teams, some of them doing Carver's, father's doing so. Were, you know, just see, can see that way course is not Hardware IDs is, these are in meditation on these things. But this is again happens with them. Without its in the audience, you can assume that the lower layer

is okay. And then you are just checking this basic layer. So this allows us also to a structure the and divide and conquer from the audit from the audit front. We have been operating the system for the last three month right now with different Teams different Outreach Auditors that they went really deep and even very surprised on how deep this. I'll detour teams just went there but again said that it's a new, you know, it's a new it's a

new technology, it's a new stack and there is a lot of code that needs to be checked because you need to check the hardware, the software. I mean, check out the pieces and if there is just a single single piece that goes, You know, everything goes wrong. Also. Again said that we are also putting the measures in the smart contract level in the higher level so that if there is something wrong in this proper system, we can fix it or do it

or at least the users don't. Don't don't lose phones. Okay. And this is a here is a would say deployment or security technology that put on that without losing. The centralization or without losing too much interpretation on that. It's a balance here, but it's important. And it's also important that the system to start and see how they work and and seen real up in real. In the real world. Hold a forum and the issues that

may happen and so on. But this is this has been the that the work of the team for the last three months. Yes, we are doing the audits in our system, but the advantage of our approach is that the users, they don't need to relive it when applications then using the same, smart contracts, and Technology. They are running on in Syria, more, polygons POS or other change. So that approach is kind of a clean for them and there's no transformation of smart contracts anything.

So once all of its are good to go users are let's say not gliding any of it. One final questions last verification. So in the early days of zero, knowledge proving We had systems that require trusted setups the most famous of which was probably easy cash when there was a trusted setup ceremony. I think 30 or 40 people came together generated some Randomness together and you had

to trust at least one of these 30 or 40 people would destroy their part of the randomness for the system to be secure. First one was 9, but the first, the first one voice was 9%. So first one was nine persons, okay? And the second one I think was like 84 Or something like it before. Okay? So here to trust one person in 92 beer correctly, the first one, and one person. 84, do we have currently in the second row? Is there anything like that in your system? Let's see.

Yes or no. Okay so so we are planning. We are planning to run to put the so that we it's flunk. So the last the last part of the prover so when it first so all the other properties - Tony Stark's okay starts on required to set up at all. Okay. And this is like 95% of the proof. There is a last stage in the Hoover is Riser that when we convert a stark into a snart. Okay, so here is just a normal circle with silken I'm here we can use either.

We have three options here, we can use glow, 16, long, and flunk. Okay, we probably we are going to try to run with run with flunk. Okay, we are pending because flunkies, very new is very new protocol, and we are running an audit on the implementation of long and on flung itself. So that we are sure that this is correct, okay? If there is nothing strange in the audit, We see that everything is okay, we are going to run it in, we are going to put it in flock.

If there is something, we have a kind of a back-up plan, we see stranded in grow system, okay? Let me explain you. What are the difference? Okay, Grosso Blanc and flunk, they require, what's called Universal set up Universal truths, the syrup, okay? That means is a ceremony that's run once and anybody and then you can use it in any circuit. That's why it's called Universal the ceremony, for example, in a 30. Mm it's has been a ceremony that

there is more than one hundred persons contributed more than 100 contributions and very trusted people here from the metallic. Kobe very white satisfy you can see the list which is like a lot of trusted persons and it is like a 6 you know it it it had a I think was like something like 70 and currently I think it's something like 100 you can you can You can check it because the public, it's a, it's a it's a public Ceremony. This is I would say this is where I accept that this ceremony is okay.

The problem is that growth 16 requires and a specific ceremony. So for for the HCL quit. So every time you do one application, you need to run a union ceremony. You need to go run after setup and this is a little bit annoying and this is I mean this is not, it's a pain running these ceremonies. So or plan here is we will try to And with flunk, everything works with long is flawed, and we will use this Universal you, this Universal ceremony. That's already run from the community. It's the same one.

So, and if, if we have some issue here, maybe we step back 2016. Maybe we'll run a small, you know, a small ceremony with some roasted, without the doors, and turn our people and maybe some members of the community, but a small ceremony, because it's going to be a temporary. Sorry sir, most it's going to be temporary ceremonial till we fix. Or we change to flunk or plunk in case it doesn't, it doesn't work. So, this is really to read. I like, I like about Kaplan, but

the idea is to go to to, to flunk, which is universal mr. Ceremony, and also the good thing of long is that the verification cost is exactly the same. What is very similar to the grossest thing? So we have the best of all was the only problem of flunk is that the proving time is a little longer that it's but it's just the last stage so it's not that much. It's okay for us to to spend this extra time.

So this is the, this is the, this is the thing. Thank you for joining us on this week's episode. We release new episodes every week. You can find And subscribe to the show on iTunes Spotify, YouTube SoundCloud or wherever you listen to podcast. And if you have a Google home or Alexa device, you can tell it to listen to the latest episode of the epicenter podcast, go to epicenter dot TV /, subscribe for a full list of places where you can watch and listen, while you're there, be sure to sign up for the newsletter, so you get new episodes in your inbox as

they're released if you want to interact with us, guess. Or other podcast listeners you can follow us on Twitter and please leave us a review on iTunes. It helps people find the show and we're always happy to read them but thanks so much and we look forward to being back next week. Or other podcast listeners you can follow us on Twitter and please leave us a review on iTunes. It helps people find the show and we're always happy to read them but thanks so much and we look forward to being back next week.

Open the transcript file

Hosts and Guests

Guests

  • Jordi Baylina Guest Feed-stated

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. The DAO Security Fund: Turning a Historic Hack into Ethereum's Future | Griff Green

    Sep 9, 20261 hr 14 minAudio

    Ten years after The DAO hack changed Ethereum forever, Griff Green returns to Epicenter to discuss the next chapter: the DAO Security Fund. As a co-initiator of The DAO, Griff shares the untold story of recovering funds...

    Credit the people on this episode

  2. Why Crypto Finally Makes Sense to Wall Street | Jason Yanowitz

    Jul 30, 20261 hr 6 minAudio

    Jason Yanowitz, Co-Founder of Blockworks, joins Sebastien Couture on Epicenter to discuss why crypto is entering its biggest transformation yet. From institutional adoption and the Clarity Act to token transparency, AI,...

    Credit the people on this episode

  3. Vitalik Buterin on The Economic Zone (EEZ) Ep. 642

    Jul 3, 20261 hr 12 minAudio

    In this special episode, we revisit a fireside conversation between Vitalik Buterin and Friederike Ernst at DappCon 2026 in Berlin. They explore the Ethereum Economic Zone (EEZ), a new vision for Ethereum built around...

    Credit the people on this episode

  4. Why Only 3 Builders Control All of Ethereum

    May 1, 202659 minAudio

    In this episode, host Friederike Ernst is joined by Kubi Mensah, CEO and co-founder of Gattaca, the company behind Titan Builder. Kubi sheds light on the highly competitive and often opaque world of Ethereum block...

    Credit the people on this episode

  5. Institutional-grade yield on USD, BTC, and Gold?

    Apr 13, 202656 minAudio

    In this episode, host Sebastian Couture is joined by Torab, CEO of Move Industries, to discuss the tension of radical transparency and the decision to scrap Movement's complex L2 architecture in favor of a sovereign L1...

    Credit the people on this episode