Episode 49

ZK for Web3 with John Lilic

Watch on YouTube

About this episode

In this episode of Untangling Web3, Jack and Alec sit down with John Lilic, a seasoned Web3 pioneer and executive director at the Telos Foundation.

John shares profound insights into the revolutionary impact of zero-knowledge technologies in enhancing privacy and efficiency across blockchain applications. The discussion explores how these technologies foster more secure and transparent digital interactions, emphasizing their crucial role in advancing self-sovereign digital identities and broader blockchain adoption.

This episode underscores the importance of innovations in Zero-Knowledge technologies in shaping a more decentralized and user-centric Web3 future.

Transcript

Auto-generated from the episode audio.

what type of innovation exists to close the gap so that you can continue to have properties and characteristics around security and privacy without sacrificing performance essentially so ZK is an innovation that allows tremendous resilience tremendous security tremendous privacy and it can potentially enhance performance significantly and in the context of identity what if you could establish your identity on chain and now you have a canonical identity and from that canonical identity you have Persona constructs that describe who you are in different contexts and so you can have attestations from others that describe your gamer Persona without revealing all this other information welcome to another episode of the entangling web 3 podcast today we're joined by John Lich on the show John is a veteran of web 3 space having been involved in the Bitcoin Center NYC amongst the very first employees at consensus and is now a top 50 web3 angel investor following his recent appointment as executive director at the Talis Foundation John joins us today to discuss the importance of zero knowledge Technologies in

web 3 John it's a pleasure to welcome you to the show oh thanks for having me guys it's uh it's wonderful to be here with you thank you very much hey John yeah how are you doing today you just told us before we got you on that you're in the Philippines that sounds exciting I can see you've got a kind of a maybe a more tropical t-shirt on to make the most of the weather out there but how are you doing oh it's like 30 degrees Celsius I'm sending messages to all my friends in North America and Europe right now it's a wonderful part of the world the weather is incredible during the winter time and uh Telos is kicking off an Asia road tour so actually when you look at the map the Philippines is in the center of Asia it's like an hour and a half flight from Hong Kong you can get pretty much anywhere in a couple hours so uh we're going to be doing lots and lots of events throughout

the region and uh very fortunate to be uh kicking off here in at the moment I mean we've kind of talked about on the show before that the Philippines is an incredibly interesting country in terms of like crypto adoption nft adoption Global remittances it's kind of a prime candidate for a lot of the things we tend to talk about in web 3 but we're not here to talk about the Philippines we're here to talk about you John so yeah Jack gave us a little bit of an intro into you but can you tell us a little bit about your early career yeah sure uh basically uh I got into Bitcoin by just extreme dumb luck uh I happen to be living in London at the time we were chatting o off screen before the podcast started I was living in a basement apartment in C in in Camden across the street from the Saints berries and I was doing e-commerce I was basically buying domain names optimizing for SEO and then drop shipping this is

like before Amazon took over the internet and so you could use a CMS plug it into wholesalers if you had a SEO optimized domain name people would come to your landing page they could place an order you would have a merchant services account I.E be able to process a credit card payment and then the wholesaler or the manufact urer would drop ship and you could take like a little percentage okay so that was my business it was doing pretty well we were selling all kinds of things from garden seeds to a variety of household products and then one day the bank called me they froze my merchant services account Froze all my money I said this isn't even what are you talking about I used to think having a bank account was like a human right but anyway they froze my merchant services account they did an investigation it took nine months they froze all my money I had no I had nothing finally they released my funds they said I wasn't doing anything legal

but I was doing things that were hurting their reputation and on the basis of that I lost my account and everything and so in a panic I started looking for Alternatives and what was a massive stress ball at the time turned into just incredible dumb luck because I stumbled into to bitcoin like at the tail end of 2012 I got extremely obsessed immediately moved to well actually first I went to the Bitcoin conference 2013 in Amsterdam atrick burn CE Overstock was a speaker there I met lots of bitcoiners realized there was bit Dev meetups in New York I went to New York I met a guy named Nick Spanos who was running the Bitcoin Center nonprofit right next to New York Stock Exchange in Wall Street I spent basically a year volunteering there arguing with Wall Street Bros meeting lots of great people I met ethereum people including founder of consensus and sort of got into ethereum and spent the next six years from I guess 2015 to the end of 2020 intensely working on

ethereum and consensus after that I happen to join polygon but it was Stillmatic Maho is like my brother very good friend of mine he was doing a lot of research in 2017 and 18 and I was like oh my God this L2 stuff this could be something and this will segue into the ZK stuff we're gonna talk about in a second but so basically just pure dumb luck really is how I got into this stuff and then just after that like obsessively following the tech as best as I could and um riding the wave I guess so that's pretty much it really wow I mean you're so right like so many people think of Bank accounts as a basic human right and I say like for 99% of the experience that probably tends to be the case right we don't have too many issues but then you look recently into the protests in Canada everyone keeps bringing this up it is possible to just turn off someone's bank account if you disagree with the government

if you disagree with the bank itself and I think that has led to a lot of people really believing fundamentally in say the tenance of Bitcoin for example or other cryptocurrencies and maybe some of some resistance as well to cbdcs more generally but it's really interesting you went in as a lot of people do into Bitcoin initially because of those properties and then more into the technology you've mentioned a couple of things there zero knowledge proof and you mentioned layer twos we do want to aim this like this episode towards zero knowledge proof and most of our listeners might not even know what that means could you give us a little bit of a background into what is zero knowledge Tech sure so with blockchains and by the way I'm a Canadian and I I'm just totally embarrassed by what what happened and by the way the Canadian Court recently said what the government did was totally wrong so even if it's totally wrong they can still confiscate your bank account which means that custody

and and and self- Sovereign identity and custody of your assets is a fundamental core tenant I think to being a sovereign individual particularly in in these kinds of scenarios where your assets or potentially your identity are threatened and crypto assets do a very good job of that obviously with private public private key pair infrastructure but the thing is the way the system is architected inherently has quite a number of limitations that generally into a very tradeoff it's the difference between convience andity so the morei something is the less it is if you've got your crypto on your phone and you're using a blockchain Network that has one or two nodes then you can easily fire around crypto at the speed of light for a very low cost and that's a super convenient experience it's obviously not very secure um and the extreme opposite right you keep your crypto in a vault in a Swiss Vault somewhere deep in a mountain and you're only using Bitcoin well you have to go and get those keys and

bitcoin's still not going to be like super fast although it's very secure and so from that standpoint you have these tradeoffs now how can you work within the margins and what type of innovation exists to close the gap so that you can continue to have properties and characteristics particularly around security and privacy without sacrificing performance essentially so ZK is an innovation that allows tremendous resilience tremendous security tremendous privacy and it can potentially enhance performance significantly and so like a simple I guess analogy so it's like imagine you have a digital secret like a password right or some personal information and you need to prove to somebody else that you know it but you don't want to actually reveal the secret or the password itself right so zero zero knowledge is is a clever solution it allows you to demonstrate the knowledge of the secret in a way that convinces others uh without giving away any details about the secret itself and so if you can for example without revealing your password to a secure website

instead you could use zero knowledge proof to prove that you know the password by performing a series of for example calculations that only someone who knows the password could successfully complete this way the other person can have confidence that you know the password without actually learning what the password is so that's a tremendous Innovation that of course Bitcoin Pioneers like halin and others have been working on for a very long time Nick Zabo and others but this technology or this mathematics is being implemented into blockchains right now and it's reshaping the landscape of the entire ecosystem uh because we're sort of like on the cusp of like significant improvements in privacy scalability performance um all the good things that you don't necessarily want to trade off uh in order to have the benefits of of of what the blockchain can give you yeah and I think one of the examples that we've given in previous episodes we talk a lot about digital identity and self- Sovereign identity is that you need to prove you're over

18 to someone they don't need all the information about you on your driver's license or on your passport to prove that you're over 18 all they need to really know is that your date of birth when taken to the current date shows that you're over 18 and that's an example of somewhere that you could use a zero knowledge proof they also really need to kind of prove that corresponds to you as well so there needs to be some kind of privacy preservation and actually proof that you're holding a secret there but I think that's a really tangible use case that a lot of people can understand in their day-to-day lives yeah so that's a great point with in the context of identity you sort of have to rely on somebody else I.E the government to prove your identity what if you could establish your identity on chain and now you have a canonical identity and from that canonical identity you have Persona constructs that describe who you are in different contexts and for example you

can have your gamer Persona and maybe your gamer Persona has nothing to do with your banking kyc persona for example and so you can have attestations from others attesting to attributes that describe your gamer Persona without revealing all this other information and then you can have this notion of selective disclosure where let's say you want to interact with a video game platform you can selectively disclose some information related to your gaming Persona which is just a branch from your canonical identity all of which you own and control because you have the private keys and so imagine a world in internet where instead of all of your identity uh attributes and attestations residing within the Facebook box or the LinkedIn box or the Google box which you don't own like I've never gotten a check from Mark Zuckerberg I wish he would send me a check because he's got a lot of money these days and so whenever you um take action that builds attestations and reputation around your identity within that box they get to

sell more advertising you get nothing and you don't really have any say in the privacy policy ZK like inverts the model and so you can imagine websites in the future and even now really where it's just like a QR code and you navigate or I don't know it's a you connect with your metam Mas wallet or whatever and that's how you browse the internet and you log into things by selectively disclosing some information I'm really glad you bring up that term actually selective disclosure because I think you're really conveying one of the main benefits of zero knowledge Technologies generally right we're saying the zero knowledge in the name is that we're giving away zero knowledge about some statement but I'm still proving to you that it's true like Alex example with with verifying age and then that also minimizes how much information you're giving in different context as you said I think that's really powerful way to think about it so just to bring it back to core of the technology then about what zero

knowledge Tech is and what we're talking about in in web 3 specifically right so my understanding as I've seen it is this concept and again it sounds a little bit like magic as well so we've covered it in a previous episode and you know if you you hadn't heard that one any listeners then just take our word for it these things do exist in it and they do work to my knowledge zero knowledge proofs and zero Technologies are used in two different contexts in web 3 so you have it being used at let's say layer zero or layer one so basically your blockchain level for primarily scalability is my understanding but then you also have it used more at the application layer as well for General computation for digital identity that kind of thing we've been speaking about so what's your view on that John like where do you see the role of zero knowledge why people use it in these two different contexts yeah that's a great question so let's just go back to

the idea identity example I used if you establish your identity on chain in the original early ethereum context everything would be there for everyone to see so even though you could have a canonical identity with Persona constructs and you can have selective to disclosure granular authentication depending on the use case um everybody can still see and so from a privacy standpoint at the protocol level I think that's like in my opinion probably the most important part um another example is energy web Foundation my buddy Ed Hess he built this like incredibly powerful energy trading and basically it's a virtual grid that emulates assets that are in a decentralized grid like power generation storage and how EVS can come and pay for power transport power discharge their batteries basically it simulates the grid and so when you have these kinds of transactions the regulatory requirements are that customer information cannot be disclosed except for to the regulator and so in this kind of a context this is more at the application layer wherein you can have

a transaction where perhaps some grid asset interacts with another grid asset for example to pay for power consumption and it can transmit payment and within that there can be some information that's sensitive like customer data which nobody can see except for potentially the regulator who may have the ability to unlock that transaction and take a look inside of it so you can um configure depending on the context at the application layer at the protocol layer I think the foundational element for me is really the privacy and offering the users the opportunity to selectively disclose whatever it is that they want to share obviously that's a little bit of a contentious issue these days and there's privacy pools which have been sanctioned Etc the politics of whether or not we'll have this as a right I guess are being worked out but that's I would say one base layer sort of um foundational element uh aside from that security as well and again this goes to the protocol level when you do have that kind of

Integrity in the system it makes it very hard to have hacks like Equifax in America where every single American's credit information is released um so enhancing security I think is another really important again protocol layer component and again I tend to lean more towards the protocol utility because the application utility there's a lot of different ways people can apply it and and then I would say also of course of course trustless efficiency scalability and what's really interesting now is liquidity aggregation is an example of um when you have this type of infrastructure where you can like securely in a trustless way efficiently uh share data essentially then you can apply that to effectively sharing liquidity and so you don't get these like siloed pockets of liquidity which is one of the one of the problems or challenges we face in web 3 today and so at the protocol layer if you have that then at the application layer you can build all kinds of really cool defi stuff that maybe takes advantage of that and

finds better apy spreads or just better pricing better execution Etc so yeah that's in my mind how I think about the difference between the protocol benefits and at the application layer yeah that's really interesting I think you've covered a lot of the main areas where I've seen Zer knowledge proofs and technology used in web 3 right I think another one is maybe in the proof reserves area right I think that's a hot topic for lots of you stable coins and things like that and now people are using these ever more clever ways of using Ser knowledge technology to prove what reserves you have and there are all sorts of different problems you can solve in that kind of proof of ownership of money even if it's not for a stable coin maybe you want to prove how many assets you own to the government maybe you want to prove it's above a a taxing threshold but you don't necessarily need to you know give the exact amount to someone like your accountant or something like

that I'm just spitballing so one one thing I'm interested about because I've also seen it used a lot in the idea of scalability right in the ethereum and and and you said you came from the polygon world as well that's where we're seeing Zero knowledge proof used for rollups we've got ZK sync now which is a huge kind of protocol trying to to to you improve how we use things like ethereum and other blockchains so you what's your view on the use of it for scalability and also then how is it used for Tor specifically right because I'm intrigued to know is it being used more in the scalability area or is it being used for the applications that you mentioned yeah that's a great question so with respect so just going back to the example you gave maybe you want to prove some assets without disclosing I would say I certainly remember Occupy Wall Street be Sterns you look at the global derivative Market it's 700 trillion to 1.5 quadrillion I don't think anyone

really knows and so the extent to which a large financial institution or actor or minority set of actors in some type of um position requiring trust can actually prove they have the ability to settle in the event whatever triggers are met that would force the trade to go a certain way without it being like a surprise that oh we don't have the billions of dollars we need to pay you which then sets off this cascading wave of systematic failure and so I imagine scenarios where even in traditional Finance you do need to be able to prove without necessarily disclosing certainly who owns the money for example which customers or in which segregated accounts but you do have the capacity to pay I think that would bring a tremendous amount of resilience into basically the most the largest most speculative Market in the world by far and so those are the kinds of use cases I'm really excited for in terms of scalability I'll just say this uh I love ethereum very much but we started

off talking about the world computer okay we didn't build a world computer AWS Microsoft Azure Google Cloud that's the world computer we built a global US dollar bank account basically system and that's fine I I I personally feel like the dollar proliferating around the world is good for the world um just being honest about it but in the context of the world computer meme that came out at the start of ethereum we talked about sharding for example, 24 shards and then it was like okay this is actually very hard maybe 64 shards and then I think in 2018 valala quietly posted on his blog about one Shard so scaling is very hard it's very hard the people who are working on this stuff are my heroes I admire them tremendously and I've worked with a lot of those people it's like very hard so you know the extent to which we can create abstraction layers I l2s whatever L3 L4 L5 who knows where it's going to go obviously there's rollups there's all sorts of

innovation there's data availability Etc you can create these abstraction layers and the extent to which you can get the abstraction layers to talk to each other in a fluid Dynamic way at a very large scale because you can enable this trustless and this ability to talk to each other without revealing um sensitive information that you otherwise would not want to share um but proving that you do have that sensitive information which is good enough to satisfy trust levels and then from there you can have transactions with total confidence okay that essentially enables this very large what is otherwise disperate abstraction ecosystem to functionally interact even cross chain and so it's like an elegant solution I think for getting the kind of performance that we need particularly and it's not really an issue until the Mania returns okay after the having after about a year or two and the spike comes and suddenly the gas prices are totally crazy and everyone's like really upset it's at the margin when you need it and of course we're

seeing consistent growth all the time but I think in my opinion when the next tremendous wave of activity comes it will be very sharp very intense and I think much more sustained because this time around I think a lot of AIS will be basically serving as autonomous agents on this large Financial system and uh the activity will ramp up tremendously and it's at that margin where you need your transactions you need the scalability to work so that your transactions don't cost you an arm and a leg so that's how I think of it from a scalability standpoint with respect to uh Telos itself so so generating proofs is expensive it's also energy intensive by the way and we're coming up with this notion of multiple independent actors can contribute to aggregating many zero knowledge proofs into a single proof that is more efficient to verify on chain and so decentralized proof aggregation okay it's the idea that um generating and verifying ZK proofs well first of all it is computationally even efficient stuff like snarks

you know there's non-trivial costs right and that's like a hard problem and it can be a bottleneck and part of the way we're thinking about it is distribute and optimize uh the workload through recursive proof aggregation so basically many different users submit a ZK proof to certain transactions or statements right and you can call that a bass proof and then a network of independent prover take these Bas proofs and combine them through basically recursive compositions so multiple base proofs get merged into aggregated proofs and then that encapsulates the underlying proofs and so basically you're aggregating thousands of underlying base proofs and and this aggregated approach we think can be faster and cheaper and so basically the work of proof generation and agregation gets crowdsourced to many Prov nodes and it's really thinking about the bottleneck problem and how to distribute that and lots of people have thought about different ways to Aggregate and basically batch proofs but that's essentially it's it in a nutshell without getting like super into the weeds of It kind of

the approach we we're trying to take at Telos and really focusing on this aggregated approach so one of the thing so we've been talking about so we think that we know the zero knowledge proofs and batching and ZK rollups can help with scalability issues right the cost of transactions through put all of this on and layer ones but what you're also saying there is actually it's quite computationally intense to kind of set these things up on the layer 2os to batch all these transactions into one giant zero knowledge proof that we can then relate back to the layer one so right now it's The Balancing Act it seems of okay is it is the computational intensity of actually setting all these zero knowledge proofs up on the layer two worth what's actually being put on the layer one and is that something is defined right now or is it still up in the air and we're still trying to work out actually is it more efficient or not oh me I mean I'm very old

and skeptical okay I'm like turning into Republican already okay so there's a lot of things I just am probably salty or suspicious about the ethereum world computer meme I believed it wholeheartedly I was very young and naive at the time there's lots and lots of ZK stuff happening right now and derivatives of that and like I I don't know maybe some of it is great we'll see I'm not so sure I think where and lots of this stuff we find out like I said at the margin when the tremendous demand comes how it will perform likewise if you implement a system incorrectly ZK system incorrectly or you just do it wrong you can get locked into something that it's really hard to extricate yourself out of where I think this is ultimately going is I could imagine ZK as a service with a hardware components and Asic that's extremely efficient that you just plug in and it starts basically doing your proofs for you that's the Holy Grail there's some really spectacular ZK research teams

out there I'm obviously predisposed to the polygon team and higho Su deep those guys are like my brothers I love them very much they worked intensely with a group called ponos PS technology you should definitely talk to those guys they're probably like not to slide anyone but these are probably like the most uh Talent they're just like super smart incredible researchers um at The Cutting Edge but I think where it's going is aggregation is one theme that I think will win out and ZK as a service with a hardware component uh wherein in addition to the performance characteristics of doing the proofs and posting the proofs and the cost the energy requirements or are also like improved and that will be the box that you buy and plug in and run interesting we have a long way to go we have a long way to go before we get there the speed at which we get there might actually increase and intensify we'll see a lot of great approaches right now I'm just not sure

how much of it is like going to actually work out versus if you put lipstick on a pig it's still a pig I don't know so we will see it's very exciting it's hard to parse it's hard to parse through it all but you know it's happening so that's really exciting yeah yeah I'm really glad you make that point right because we should note that this a lot of this is still experimental in a way and it's interesting to me that web 3 and blockchain has been the vehicle for lots of this experimentation like the actual core techniques for zero knowledge proofs have been around for 20 30 years now but they're only being proliferated and tested and changed by what's happening in web 3 which is really interesting because there's so much demand for it in the realm of scalability in the realm of the application layer security privacy preserving I think there's so much going on as you say and it's now kind of competition of ideas so just to summarize so we

can use the zero knowledge proofs and zero Tech to number one to improve scalability of blockchains effectively by moving the comp some of the computations and verifications away from the base layer blockchain to a higher layer right and they're being a proof system that connects the two which is really fascinating and again take our word for it that this stuff does actually work go and watch the previous episode if if you haven't and then you can also use it in a number of really interesting ways the application layer to prove statements about yourself your digital identity your bank account information Etc without having to actually reveal any of the actual information so you could prove a statement like I have more than £10,000 in my bank account without telling them actually you have two million right that's the kind of statement you might want to prove to to someone if you're giving a loan or something so yeah I think it's it's such an exciting space I'm curious we're coming to the end of the

episode now what are you most excited for in the next kind of near future maybe one to two years out what are you most excited to see in the space with CK Tech and also for for Telos generally true so you you mentioned it's been around for a long time here's a tweet Hal finny talking about it 25 years ago Hal is a hero of mine yeah just a tremendous uh tremendous guy and his wife continues his legacy running Bitcoin a great charity contributing to ALS research for in the name of halin so yes long time these and Nick Zabo and these other people they've been talking about this stuff it's just when you introduce the incentive out you know with these tokens which I'm not going to swear on your podcast a lot of people say sh exclamation point whatever coins but actually the incentive around basically the way the networks operate today has been driving all of this attention into this technology and into this realm and so I think that's a tangible

measurable benefit as just exploded the ZK research is unbelievable these days what am I most excited about I mean well of course first of all I'm most excited about Bitcoin to be perfectly honest I just think that it's just so resilient and we're making tremendous progress across the board and all the L2 stuff and all the different things that people are trying to do which I don't think will ultimately work just shows how and anti Fragile the system is it's just very hard to change it's elegant and it's Simplicity it's like if I wake up tomorrow morning by the grace of God two things will be true right like I'll see the Sun and Bitcoin will be around um so I'm very excited about Bitcoin um you know as far as the broader web web 3 ecosystem uh of course I'm excited about Telos I still run my BC fund so I'm excited about a lot of different projects super chain as an example and Arana and some of these other things but specifically as

it relates to Telos I think we've got a tremendous opportunity because there was no IC no premine no nothing it started as this like weird EOS project which is like since evolved and gone to evm I think I'm going to push it much more in the evm direction lots of innovation on the ZK side and just try to like compete and see if we can actually at the Peak at the margin when the Mania returns can we actually do 50,000 transactions per second and do them for less than two cents per transaction that's kind of like the litness test I'm excited for and we'll see but yeah Bitcoin is definitely something I think about every day in addition to Telos of course I like that a lot because we often talk about Bitcoin and all these cryptocurrencies that have come out you mentioned coins I think Jack can bleep that out if he wants to um I mean the goal was work for me in the editing room Alec come on I mean the goal

was to be these electronic cash systems right payto pay cash systems and a lot of them because of the scalability issues don't live up to that but I still see Paradigm in the future where they can act as cash and I can transact using Bitcoin not paying these incredibly High transaction fees that take too long to get through sometimes but yeah John this has been a really fascinating episode we at the end of all of these episode we bring guests on we ask two standard questions we' love to see how the answers change between person change across time so if you're ready I'll ask the first of these questions in one sentence what is web three to you web three is the evolution of the internet wherein self- Sovereign identity can finally be realized by everyday average users ah powerful I've not heard that one before I think that's our first focus on self- Sovereign identity which me and Jack a big proponents of so that's a good one I like that and the second

one is if you could choose anybody on the planet today or from history to sit down and discuss web 3 with who would it be and why well of course halin is somebody I would have loved to have the opportunity to to meet with and probably everybody would say or many people would say aliny but I would actually love to talk to cernus because cernus observed the expansion and contraction of the monetary Supply when the Lord or the king of the realm would mint more gold coins or take them out of circulation and that was like a key moment in monetary Science History and from there derived or evolved many other things that eventually led to tulipmania and fractional Reserve banking etc etc but I thought it was like a pivotal moment in monetary Science History I would have loved to have talked to cernus about Bitcoin that would be kind of a trip yeah that's a a great answer I think it says everything you need to know about Bitcoin that you're talking about

halin and cernus in the same answer that's a beautiful way to end the show John it's been a real pleasure having you on uh thank you so much for sparing your time thank you so much for joining us wherever you may be and you can join us next time toang got a little more of web3 thanks for tuning in to another episode of untangling web 3 produced by Emma caleri don't forget to send us your thoughts questions and comments on social media and be sure to follow us on your favorite podcast provider to catch the next episode see you next time to untangle a little bit more of web 3 the views we express here are our own and do not reflect the views of our

Topics: Blockchain & Crypto · Digital Identity

Related episodes

All episodes