[BUIDL Asia 2022 Panel] ZKPs for scaling and privacy

BUIDL Asia 2022 · August 2022 · 43:03

A panel on zero-knowledge proofs for scaling and privacy, moderated by Teck Chia with Alex Pruden of Aleo, Adrian Brink of Anoma, Eli Ben-Sasson of StarkWare and Jane Ma of zkLend. Panelists share how they came to ZK technology, from private voting systems to proof-system research, and compare what their platforms offer developers building full-stack decentralized applications. They also discuss hardware acceleration for proofs and the practical trade-offs of building on a ZK platform. Recorded at BUIDL Asia 2022 in Seoul.

Speakers

Topics

From BUIDL Asia 2022, hosted by KryptoSeoul.

Transcript

hello welcome to this zqpp panel uh represented by three platforms zka platforms and one developer application so we get to hear from both sides i guess we can start with quick intros i guess you've already heard from three of the platforms but so quickly introduce yourself and also maybe a fun fact about your genesis story of zpps how you discovered it and why you got into it we can go this way maybe i can start yeah hello i'm adrian um i know my unified architecture for full stack decentralized applications i mean i gave the talk so you should all know roughly how it works

so it's not just a zk platform it's more like a generalized architecture to build full stack to centralize applications uh maybe fun thing how i got into the space is i got into the space because i built private voting systems on ethereum back in the day to help the catalan people secede from the government um this was my thesis and then i discovered dkp's as a result and the and then like zcash yeah cool ali ellie from starkware so i i've by training i'm a theoretical computer scientist which is a kind of mathematician and i've been doing this uh i was a professor for for many years doing research

and i was working on deploying uh proof systems uh before i learned about blockchain and actually when i was walking around trying to find the use cases for them this was in 2013 i chanced upon the um bitcoin conference in san jose that's where i got uh red pilled was the most electrifying conference i was at and since then i was involved in it so i'm one of the founders of zcash which is based on an academic paper we wrote and starcr is based on other academic papers also so it all came from math research for me thanks ellie hi guys i'm jane i'm one of the co-founders and co-project leads of zk lend so a little bit different from

these guys um i'm actually part of a project that builds on top of stark net which is a layer two and we are a lending protocol on stark net um so a little bit of background about myself i guess i'm a web 2 person by training worked worked in web 2 for a really long time uh but then started becoming a d5 d gen and i guess started aping into different things and really fell in love with the space um so kind of given my training and my interest decided to start a d5 protocol with a couple of friends uh hey everyone you just heard my talk so i'll keep it nice and short so elio i'm the ceo of elio a platform for private applications it's based on a

research paper called sexy which is short for zero knowledge execution um so the way you can kind of think about it is zcash with a little bit more functionality for smart contracts was the research called sexy i personally learned about zero knowledge proofs as a student um i was a student at stanford several years ago and and that's when i was exposed to it through a very good professor or the professor i had at the time cool yeah i'll give a quick intro i'm tech i represent uh organizational gnosis builders which is a new uh uh organization that helps uh the new gnosis chain uh go to ecosystem also part of this fun new fund called factors the crypto fund and previously i was at uh adventure on finance called binance labs uh yeah so let's get going with the questions um

first one is around architecture and design principles i know that you guys already talked 30 minutes for the platform but feel free to compress it into like two or three minutes and go maybe a little different direction around that so i know that um uh you know you know each platform uh has their own different architecture and more importantly as well you know for the developer facing uh abstraction if you will you all have different languages or dsls or what do you call it uh what's the motivation principles behind those decisions and uh and i'll ask a separate question for uh for jane for for the application side uh whoever wants to start yeah go for it go quickly first

um so with anoma i think the big thing for us is that practically speaking developers need the ability to have transparent shielded and private state at the same time and need to have the ability to write applications that sort of bridge across all of this in one unified system so it's like um it's not that you can just build privacy preserving applications on a normal you can as a developer pick sort of what your level of privacy for the preservation should be in your application because different applications have different needs so for that end we're building juvex which i think out of all the languages we are building is probably the highest level

language juvix can compile to transparent wasn't it can also compile to something called vampire which is an intermediate representation for polynomials that then can get extracted to different proof systems uh i think eventually vampire will be able to actually output starks as well as snarks and i so vampire is sort of a vampire i think it's the same level as leo and cairo maybe i'm not sure um but yeah so people if you want to ride hard cause your knowledge proofs use vampire if you want to write sort of high-level applications eventually you'll be able to use duvex to do that cool lu and tarpacario yeah so we're often asked so so cairo is a new

pro programming language and at its current state it is harder to write things in cairo than it is to write things in solidity and we're often asked why you know why didn't you go for this thing called zk evm which has been very uh it's been a topic on twitter recently and i guess you know we all know in technology of these things that sound like a good idea but they don't quite work out you know google glass um facebook coin facebook turning web 3 meta sounds like a good idea but then it you know doesn't work out to be a good idea the issue with uh trying to do a zk vm or to zk solidity is that

ultimately um you won't get scale and the reason you won't get scale is that the constraints that shaped solidity are very different from the constraints that shape uh stark systems and by the way also snark systems you have a algebraic constraints that push you in a different direction so we opted for getting maximal scale out of starks and this forced us to create a new very minimal architecture that is uh what cairo is and that's our design we need real scale actually in production and for that we

need a minimalistic language in which you can craft anything you want and will give you the scale when you actually need it yeah so just to echo what ellie said i think yeah it's a question we get asked a lot too where it's like well hey why don't you just you know there's plenty of languages out there why don't you just plug into one of these languages why don't you let people write you know leo programs or you know write uh a leo programs in solidity and as a as ellie pointed out you know it's just we're talking about two fundamentally different things like a zero knowledge proof is a cryptographic object right computers are kind of designed to do bit-wise arithmetic um and and that's it's very different than what you're doing inside like uh adrian pointed out you're talking about polynomials and coding a program etc

these are these are apples and oranges and again as ellie said the challenge of shoehorning a model like the evm into the model of the zk proof is hard and comes with a lot of performance overhead so we also chose to implement basically our own stack and the advantage of that is you get a little bit more efficiency and so the way it works in elio is we have leo which is a high level language and your you know the ideas for it to look like and be familiar to anyone who's written javascript or you know maybe rust and so you can get some somewhat of a familiar look and feel and then leo compiles down to an intermediate representation similar to vampire where that you know is a little bit closer to you know the the r1cs which is the ultimate target right and the idea

of the the intermediate representation actually many people in this room may or may not know that solidity actually has an intermediate representation called yule and yule is closer to the evm bytecode than just the solidity code so a lot of people who are interested in optimizing smart contracts will just write in yule as opposed to writing and solidity right so so avn and the in our model the equivalent is the avm so you can write avm instructions directly and then those avm instructions compile down into r1cs which is what you know basically the logic of your program and from which you can synthesize proofs from um so that's that's kind of how it works end to end and you know the zkavm space is very fascinating and again i think if we just looked at the history of zero knowledge proofs and the development over time you know you've

seen a lot of things get more efficient i think hardware acceleration potentially has a lot will have a lot to do with all of our you know all of our different systems but in general it's much much more efficient to build a purpose-built compiler architecture for this particular use case as opposed to shoehorning in something that wasn't really built for it yeah go for it so this is maybe not not obvious to everyone but i think sort of in the past the space was driven by distributed systems people and then my cryptographers and i think the future is going to be driven by compiler people um once we get into sort of this level most of this problem becomes a compiler stack design problem on like how do you hook these different components into each other in a coherent fashion so i think

the plt people like in the next five years love blockchains so jane you're coming from the developer perspective uh obviously you know zk len is on start net so i want to you know maybe talk about your consideration when you picked out stock net maybe that's the only thing that is production level at that point but talk about your considerations uh when you pick a dk platform yeah definitely um i think these guys talked a lot about obviously the technological um i guess differences when it comes to l2s or their respective l1 but i think for us specifically the tech was probably 30 of it when we decided to build on starknet um at the time we

decided to build at the end of last year so it was still a relatively new ecosystem um i think that was like right when main net was coming round so you know couldn't tell you right then and there like we knew exactly everything that was going to happen six months down the line we knew that the tech was arguably superior because we wanted to go into l2s with zk roll ups and optimistic roll ups and we felt that stark net was kind of the farthest along um in the development journey but i would say the other 60 of it uh comes down to the team and the ecosystem um first off on the team because um the star wars guys have built multiple products in the past including starkx so for those of you who heard ellie's talk

you know stockx came first and they had powered i guess isolated l2s i guess that's how i would characterize it um but for the likes of diversify and so rare and immutable x so for us we knew that the team had a track record of building um and you know this this definitely came to fruition because now that i think about the state of stock net you know things like account abstraction and recursion were not like top of mind um in fact i probably didn't even understand it fully if you asked me at some point in november what they were but now um they are front and center of stark net and there are parts of the differentiation for the network so i would say team was a huge part of our decision and then finally the third one is

ecosystem um starting at ecosystem is actually pretty small if you compare it with the other guys but if you look a little bit deeper you'll realize that the folks are actually quite different because the language uh everyone codes in cairo it's more difficult because you have less tooling and it's arguably a little bit more frustrating but at the same time people who are developing on startnet are not there to kind of copy and pop copy pasta what what's already done on solidity because why would they do that right why would they bother to learn a new language so then you draw in a new crowd of developers ones who want to build games that are not just like um i don't know about farming right they

want to build like real games that gamers may uh will enjoy um there's another project that's really fun called brick you can like build sets of like images or nfts with bricks and and and so i would say the community really thinks outside the box um and and that's another reason of what drew us to uh starknet cool thanks i want jane to answer all the questions right you probably paid her behind you know before this but um let's move on to scheduling i think zkp's that proven you know obviously we're starting that uh there are two models of uh skill uh to scale layer ones on layer two's uh zk roll ups and uh optimistic roll ups uh and and all you can comment on it i

guess you guys have l ones it would potentially want to scale later on but stalking is already kind of uh live uh to some extent um maybe you can comment about the differences between zk like the trade-offs between zika rubs versus the optimistic model of rollups tricky question okay i'll be trying to be political here first of all when you uh choose a layer two check how production ready is the technology is the core security features underlying the security as an l2 i mean remember what does l2 mean it means that your security lies only on assumptions on ethereum which means that all parts

needed for your l2 to work be it fraud proofs in the optimistic roll-up case or validity proofs are actually turned on now i promise you that for starknet and starcx systems they are from the start to end check with other l2s before you deploy whether the core technology that is securing your users assets is actually turned on as intended but given that let's say they give people now if we assume that which is a big assumption and if you you know look in the fine print you'll see that it's not always the case let's go beyond that let's suppose that all of them are actually deploying the the the technology they they they intend to well there's a big

difference between validity and optimistic roll-ups optimistic roll-ups require all witness data to be rolled up okay and i'll give an extreme example suppose you want to process a block of let's say dydx transactions that involve thousands of oracle price feeds now if you do this with an optimistic rollup you're going to need to upload onto ethereum all of the signatures on the price feeds because that is needed if you invoke the core technology of fraud proofing you need that in order to have an arbitration process on starknet you don't need that you only need to to upload to ethereum the diff between the start and end state of

the system so all of the witness data all of the signatures are not needed so because of these things the future proof the future proofness the ability to scale is much greater with validity rollups than with optimistic um rollups i can give the uh politically contentious answer here that ellie didn't want to give which is that i think so far none of the optimistic rollups have deployed like in production fraud proofs that are callable by anyone which means that you know i alluded to this in my target it's a single operated database it's like a single key that operates effectively in an exchange um you're placing a tremendous amount of

trust without three assets into the optimistic roll-ups i think long-term i'm actually not completely convinced that you need l2 so i think we should be building many more blockchains and have many more l1s that are interoperable with each other but i'm personally much more bullish on zk roll ups i think the big appeal here why optimistic rollups became a thing is because one thing you cannot do on a zk roll up unless you assume that zika evm eventually happens is that you sort of do copy and paste your maintenance ethereum to your optimistic uh to your rollover right and with optimistic rollups you can sort of hope that in the future theoretically you can just copy and

paste the code and you get perfect thought proofs um i'll wait i would say generalized fraud proofs on ethereum we've been trying for like four or five years now it started with trubit in 2018 they are hard and it's still an open question to me whether we can make them work okay yeah and i i guess just quickly to weigh in i'm gonna take maybe the answer a slightly different direction again so we're not an l2 on ethereum so i think i have slightly different perspective i think about i think maybe in the future i think there's aspects of both approaches that are desirable i mean if you think about bitcoin what was the real innovation of bitcoin it wasn't cryptography right was this insight that you could introduce this economic incentive and then therefore align all the actors in the system together right

that's that's kind of what optimistic roll-ups you know purport to do again these guys mentioned very real challenges that are facing them today but i think in the future we talk about systems of modular blockchains potentially and you at different layers you may have different parts that are it's you know secured by zero knowledge proof and others that maybe you know you're incentivizing the actors to do something in the right way based on economic incentives and so i i kind of view the future to be a blend of these two approaches because some things are very very hard to secure using a zero knowledge but like for example like what is a fair sequencing like how do you ensure fair sequencing on a rollup and okay maybe maybe that's like a good use case for like an optimistic thing we're like okay we have some concept affair and then if if

someone deviates from that maybe they're slashed or something so this is like sounds a little bit closer to an optimistic roll up than ezekiel wrote but then you can use the zero knowledge proof to ensure the security of the transaction and compress effectively the information in the way that elliot was talking about so i think the future honestly five years from now i think it we won't be talking about zk rob's optimistic grow-ups we'll just be talking about some concept of a roll-up or maybe even just a modular blockchain and we won't we won't kind of draw this distinction i just want to comment that since there's no optical folks here they can defend themselves but uh what do you describe me as an intermediate state but their end state supposedly will have properties who have the exit game that works you know somewhere nicely and then but what i'm alluding to

is like is there a trade-off when you do zk roll ups validity proofs where it's less generalizable than officer which is just replaying you know or just like rolling up transactions and using fraud proofs to roll back i mean is there any constraints around generalizability on the complexity of the things you can write it's a circus you can produce so i think you have better chances but i think another difference is which will persist long term that in an optimistic case you have this challenge so you always hope that someone has an economic incentive to actually figure out whether there was fraud um that is so you have an economic game similar to like a commit reveal kind of system

where like someone has to be watching and if there's fraud then they have to submit in a zk roll up you like you don't have this so like in my mind the main trade-off will always be like do you believe the economics over the cryptography because the cryptography may be broken too right but is there a constraint on the generalization i i i'm i i don't i'm not aware of any any constraint that is um or any you know in the long term or the near term in which um optimistic roll-ups give you a better trade-off it was claimed again on crypto twitter but this is you know evidently not supported by facts that mid-term or it would be easier and hence faster to roll out the technology that

is optimistic roll-ups but the facts are and and uh as adrienne pointed out the technology of starknet is in production as intended for over a year and that of i'm quoting in that of the optimistic roll-ups is not yet turned on in any system so the facts are that even this one advantage that some people have said is supposed to be the advantage of of optimistic roll-ups doesn't hold so i don't see any advantages yeah okay yeah and i think um i guess i'll say two things first just as an aside it's kind of funny how in crypto we just rediscover the same thing multiple times so you know uh adrian a minute ago mentioned true bit which was this kind of it's like an older version of

optimistic grow up and that you know kind of the thing about truebit which everyone focused on was this concept of the verifiers dilemma where it's like okay is there actually an economic incentive to run to find these these deviations from the rules and that itself came from you know people who consider like okay well should our full nodes on ethereum are actually going to replay everything or are they just going to take the other node's word for it right so anyway it's just you know if you go back in the history of the space i think you'll find that we constantly are rediscovering and giving new names to the same things in the same context it was called verifiable computing way back and it's the tributes to economic uh uh incentive and then using zk's using uh right but none of these were ever deployed in production right

yeah yeah agree and i think i think the other thing that i just wanted to say is you know there's this concept in the optimistic roll-up case like ellie was saying you're like okay well it's easier it's faster you can just port everything over um you know but i i don't know if that i guess the from a developer ergonomics perspective um i think that's that's arguably the most the biggest draw right because you can just literally at least in theory port over exactly what you wrote over in this model but you know i think other than that the there's many many other advantages of zkrop especially around security that i think you know especially i mean look just even just get to the last two days there's been two hacks of how how many millions of dollars right so this concept of security i think a lot of people

overlook because they want to do something easy and fast and you know ellie is the cryptographer here he can tell you know doing things easy and fast is a good way to get in a lot of trouble and i think the having these cryptographic security models is a much much more foolproof way to go especially when you're talking about potentially systems they're going to secure millions and millions and millions of dollars all right all right let's move on to privacy um uh which is the domain of alia and perhaps enormous and maybe you know stalking as well maybe uh but um you you know no yes we'll talk later yeah privacy is a very elegant solution to sensory resistance mvv resistance uh data sovereignty and all those things

and it's it's kind of overlooked right now nobody cares about privacy but i think privacy is going to come to the fore uh very soon in this market um due to all these things i talked about um so i guess starting maybe with enoma talk about your privacy model why privacy is not widely prevalent today and why do you think it's a problem i'll get fit very soon or in the near future yeah so i'll start with why privacy preserving tech really hasn't taken off that much um it's really new this is really the easy answer to this it's like zcash came out 2015 something like this uh computing approved still took eight gigs of ram you had to run it on a linux box and sapling came around in like 2017

2018 with the upgrade all of a sudden it was capable of running this on a mobile phone on any modern mobile device uh so tech is really just new and i think we're just hitting sort of the beginning of the exponential growth this tech is going to get exponentially better it's going to get way easier to write circuits i mean we're all working on languages that either compile to circuit circuit that can be used to write the underlying circuits so all of this will make it way easier going forward to build this stack and then secondly i think historically um we really haven't had the need for a lot of privacy-preserving tech because institutions were capable and i think we generally at least in the western world we felt well protected by institutions that institutional trust is eroding

really quickly and all of a sudden people start caring about does privacy actually matter and when it comes back to the yes and abortion rights like all of a sudden period tracking apps are like well should we be using these things or can they be subpoenaed and i think actually i think this like uh that case is probably going to be the biggest single biggest trigger point for privacy preserving tech in the mainstream because all of a sudden people start to realize that you know something that was legal five years ago may now like my data still around but now it's being turned into something illegal and people are going to use my old data to prosecute me and so i think the intersection of the tech getting exponentially better at this point in time and the use case becoming very much clearer where it's like people really

need to start defending and failing institutions and erosion of privacy rights is going to like lead to a very cool intersection the next couple of years i'm like really cool privacy preserver tech uh maybe alex you want to oh yeah change up the order a little bit yeah sure so i actually i don't like to frame it anymore of and this is i agree with what adrian said but i i have found in my experience that framing it as you should care about privacy because you know all of these abstract things is a hard way to get people to change their behavior because i think it's just like yeah well i mean there's some other analogies in behavioral economics but i guess at a high level like you really need to provide a tangible benefit to somebody and the way like i like to present it is okay what

can this technology enable that you can't do in another context i think like in web 3 and jane mentioned this earlier there's like different types of gaming of like classes of games that you can kind of only really do in the web 3 context if you if you hide some information using a zero knowledge proof that's cool that's a capability that you didn't have before that now you have my favorite use case personally for zero knowledge cryptography is this concept of self-sovereign identity where it's like you know i want to prove to you that i have some kind of verifiable credential without you knowing everything else about me right and i think that you know as the world moves more and more online is more and more digital i think you know people will see the obvious utility for something like that and really it's not possible

to create that system without something like zero knowledge proof so i really like to focus on the utility of like what is the having the privacy give you and then if push comes to shove if you know if i am talking about the value of privacy i don't even like to use the term privacy i like to say security right because like privacy is kind of a different way of saying like you're securing some information from other people's knowledge right and that's kind of a silly way to think of it but i think people if you say security in general be like oh i definitely want security if you say privacy people are like that sounds like a good thing maybe i should think about that cool ellie you want to comment a little bit about maybe yeah um i i root for anoma and alio and i hope that that

you know bringing privacy preserving technology to blockchain will work um my experience through zcash and also the strategic decisions we made in starkware point to not focusing on privacy first for i would say two reasons first the sad reality is that people talk about privacy but there's this paradox we talk about privacy but we don't act so much on it that's reality and the second problem which adrian touched upon is that the biggest friction and challenge in let's say doing things privacy preserving for instance in zcash is i

think all of the integration with the rest of the world so exchanges have a very hard time dealing with shielded transactions users has a very hard time there are hardly any wallets and certainly not good ones and easy to use ones if you want to let's say generate a snark for for a z cash transaction so all of this uh together just drove us to say let's focus on scale first so but but i'm sorry and applauding those who are trying to change it and i i think that you're absolutely right i think it's hard for people generally to grasp like the utility of it but i i think it isn't it's and i think it is important to try as leaders in this industry to try and make this the standard to your point about

coinbase you know it's like it's difficult for the world to you know adapt to these privacy preserving technologies like shielded transactions i think we're at kind of a unique crosswalk roads in this moment where we're defining the future of finance i think and i think we we have a choice to build it in a way that empowers people and and maintains their some sense of digital liberty i think the the natural path is to just go with something that everyone just is going to agree to and i think obviously certainly regulators prefer everything to be transparent and easy but i think there's a lot of reasons and adrienne you talked about people who are in the third world like it's not always clear that a regulator or a government or just some other third party has your best

interests at heart and i think you know i know yeah i think all of us are philosophically aligned on this point that i think it's it's it's important to think about as we architect these digital systems that may be around for the next 50 or 100 years yeah i i want to share like a user's perspective or from the retail user perspective why why privacy is important right because for example for our product we actually have a product for retail users and institutional users but how do we actually get institutional users on board it's great to be like okay we want to bring in institutional adoption like that sounds great and all but like how do you actually incentivize these guys to use it it's not gonna be showing up all your transactions on chain like um maybe crypto native institutions might be open to it um and and i i think the

crowd is is there for it right because you think about three arrows if you think about celsius um you think about like okay if everything happened on chain then i would be able to track it but at the same time like that's not what large institutions want and so privacy preserving features in my mind is a must um now the other part of it is like again it all sounds great but when it comes down to the actual implementation right like so i guess if i want to trade something and i don't want other people to know exactly how much or when i'm trading i'm able to kind of like use like let's just say a noma to to mass this transaction but when when it comes to lending protocols it's actually not as simple as that it's not like i want to borrow three million dollars i

don't want anyone to find out i can just use enoma and that's it like that's not the way it works because if um if that were to happen there's actually like interest bearing components in in my protocol where i actually need to account for this so i would say in theory it all sounds great but there's still a long way to implementation to actually see it happen in protocols and i think that's exactly what we were talking about earlier yeah absolutely um but maybe to like on whether scale was privacy first i i think the real challenge to get actual mass adoption in the space like outside of like we are like a magic bubble like everyone in this room is like in the magic bubble this is

not real world adoption right like real world adoptions your parents using it maybe your grandparents using it this is so this is what real world adoption looks like people that don't know the tech and don't care that just want to have payments or something like this and i think the single biggest hurdle there is going to be that no sane government is ever going to allow the their financial system to be a transparent system readable by anyone simply because all of a sudden you have to worry about attack vectors like north korea scraping your entire financial system and so i think like in order to gain mass adoption we both need scale but we also need privacy and i think we need both of them otherwise we're not going to get to mass adoption if i sorry if i could just mention that um so even

though i i was saying that that at starcore we're not you know focusing on privacy um if someone builds layer 2 like a dedicated starkx system or a layer 3 which is layer 2 off of stark net then the operator of that system um so the users the end users uh reveal basically all of their information to the operator but the operator has privacy and shielding from the rest of the layer one or layer two this is already the case with our star kick systems so you get sort of half privacy or privacy for the institution running it which is i think also what jane was referring to a little bit so that's also the operator can mdv those transactions

yeah well the operator yes the operator this is true also with conventional work sure systems yeah yeah or or conventional exchanges right like exactly sure yeah amazing we should be building better systems we should not agree i mean you can encrypt the transactions and mvp is gone but but anyways let's move on you know just the time i want to go back to the zke vm topic a little bit around you know the one of the great strengths of open systems like blockchains is that it's by definition composable and interoperable and also more important like for applications like zklan portable right you write once deployed to multiple evm compatible chains so talk about composability within your ecosystem and then outside ecosystem can you achieve

composability portably all those things can you cross compile things and things of that nature yeah i think this is one of the big reasons why we've been focusing on building out an entire compiler stack to support this because you could for example implement an evm backup to juvix and you then the output just becomes evm evm byte code right um this makes so you by building high level languages we can build abstractions into those languages that are platform agnostic this is still very early and this is but this i think is going to make things more composable um over time as in you can move different applications between different systems

um this is also true for like proof systems i'm not convinced that like different applications on stocks and different ones want snacks like peop like and you probably don't want to define this in like the specific program that you write you'd rather say like a compiler flag i want a stock proof out of this instead of a snack proof right so i think that's this is why compiler stacks are going to be so tremendously important to make the entire ecosystem composable i prefer the jane answers yeah i um i guess i have a little bit of a controversial view around this which is um composability i think you know dapps do want to get on as many chains as possible there are some strategies where they they want to capture as many

users as possible but in a world where we actually believe that things are going to go multi-chain i i guess i struggle a little bit to understand why dapps would try to go on to every um every different network if if the bridging process is as seamless as it should be so i don't have a long answer to this but um it's something i'm i guess i'm still personally struggling with because i see a lot of protocols they're like i'm going to pour it over here i'm going to pour it over here to capture more of the audience but at the end of the day if we think that indeed in the future everyone is going to be able to move let's just say easily from enoma to starknet l2 to l3 um and then back on to ethel one then and then i struggle to see why you need to be

present on every layer i uh just comment on that like uh targeted posted something earlier this year about he believes that it's a multi-chain world but not a cross-chain world because of the you know security issues but what about composability where you're building on top of other protocols uh is that important probably important for d5 protocols right where you don't have to reinvent the wheel from the ground up uh so i guess stark maybe maybe you can comment because she's on starkwear starting out well i i just think that uh yes you can have composability first of all like within start net you'll definitely have composability uh between the various layer twos and layer threes we already uh two years ago wrote a blog post about how you can have a cross l2 uh composability using ethereum and other

techniques and these will definitely happen and of course you can have bridges between with all the you know advantages and disadvantages so i think the future is bright for composability also on l2 yeah and i also think i mean i think yeah the future i mean there's a lot of ways where it could play out to jane's point of view there's going to be the emphasis going to be on bridges across what layers is it going to be just l1 some people are going to bridge them are they going to be you know composability across lt i think i think it's it's a little uncertain how it's going to play out one thing i do think is zero knowledge proof since zero knowledge cryptography is a powerful tool for bridging potentially i mean if you look at some of the work that's being done on the chains that

have these these basically um super light clients where they use recursive proofs to just you know compress everything down and it's it's in some sense a more secure infrastructure to enable bridging and we certainly need more secure infrastructure for fridging given the events of the last week and and prior months but back to i think composability within an ecosystem one of the things that i'm particularly excited about for elio that i don't think has been done before is we have this concept in ali of a program registry where you can import basically libraries that are circuits that other people have written directly into your program and it's kind of it's always shocked me that something like this hasn't existed in web 3 before where it's like you know if you're a solidity like okay how do i what's the library i need to import to you know make sure i

don't overflow an integer and you're like well you don't import a library you just copy and paste all of this code from safe map into your contract right and that's i mean it's it's uh every other programming paradigm or language ecosystem i can think of has this concept of a library that you can say hey import this import this import this and you don't have to worry about okay i actually left off the last line when i copied when i copy pasted this and so i think that's that's kind of what ensures there's more security there's more composability within programs and within circuits and you could potentially have circuits compiling into things that many people worked on and then it also opens up the opportunity because this is in the web3 environment like you can have microtransactions effectively and pay authors of these libraries like safe

math which like really has no there's no economic incentive to write this really like it's just a public good but you can potentially introduce you know micro transactions like okay every library that got imported you're paying maybe a small very tiny honest not not noticeable feed to these people to help sustain these critical pieces of infrastructure so for for us that's like one of the things that we're really excited about and focused on at alia i think an important thing that most people don't realize actually about the composability of um of sort of privacy preserving applications is that um if you want to have a shared state so if you don't have something intact if you want to have shared state you can't really do this privately because the person that generates the proof needs to

have access to all the state um so this is like an actual like real world limitation right now in i think in all our models actually whether it's tiger for us as a unified execution environment or the other vm um or i guess in cycling this is also true that like you can't really have private unit swaps um this is going to go away eventually though we're going to get to a point where fully homomorphic encryption is going to be good enough that we can actually make this work in practice this is probably maybe five ten years i don't know or some time away but or even constructions with mpc right so npc and fhe you can combine these things and this is why i said in my last talk this is the beginning of the beginning of the beginning like this is such an exciting

time to be in the space and i think you guys yeah i think it's it's great that you're all here okay last question quickly we're running out of time looking towards the future what areas of zkp research or zkp development are you uh excited about and what would unlock new stuff uh you use cases and everything better languages to write circuits in um and i think our and i hope sort of like vampire is like not specific to a nomad just a way to encode polynomials for proof systems uh this is i'm pretty excited about this because it will give people the ability to like much more easily write things like zcash or the starknet circuit or the earlier circuit or the tiger circuit um it's just we need way better tooling to write

circuits in not to build on top of circuits but to write the underlying circuits because currently really it's still you like handwrite constraints in rust and it sucks i agree the programming language is new models for you know creating these proof systems we just worked probably next week on the turn on recursion we just posted the paper uh a math paper on using elliptic curves for you know better starks so you know there's a lot of exciting things that's going to happen i'll tweak the question a little bit um talk about things i'm most excited to see ck proofs apply onto um so want to see a lot more real world

use cases i mean doesn't necessarily need to be transactions on the street but like voting systems right i think um adrian mentioned that medical records um i want to see us kind of move away from financial transactions even though i'm in d5 but i want us to to think about things that are more applicable to people besides finance yeah and just to piggyback quickly on what jane said one of the cool things about this paradigm when you're computing something off chain and verifying it on chain is the runtime becomes unlimited so you could do like ml on medical data and not be constrained by the gas model of the evm which i think is really cool a nuanced point that not a lot of people realize for me the thing that i'm most excited about is hardware acceleration for snarks i think you know people i

remember a time when if you use the internet to use in to load an https website took noticeably longer right and it really took intel to you know implement at you know low levels a set of instructions at the hardware level for that you know for aes specifically an encryption algorithm for that time in human terms to really go down significantly and i think zk snarks and starks and all of these zero knowledge proof systems have there's an opportunity to optimize the level of hardware to get things to the point where you know today we're like oh man this is just completely impractical but you know hardware acceleration potentially holds a hundred or a thousand x uh gain in terms of efficiency and so i'm really excited about that and so that i'm wearing a shirt called zpr with the z prize logo

so adrian and i are both participants in this initiative which is all about incentivizing hardware acceleration for starts there's an eight million dollar initiative to try and get people to do this work and then open source it for the good of everybody cool i think we're out of time thank you so much palace thank you thank you [Applause]