Encode x Worldcoin Educate Series: Introduction to Worldcoin

Encode x Worldcoin Educate Series 2024 · 27 Aug 2024 · 59:04

DC Builder, a research engineer at the Worldcoin Foundation, sets out why Worldcoin exists and what it is building: a global proof-of-personhood and financial network for an internet full of AI-generated content. The session introduces World App, World ID and its zero-knowledge proofs for sybil resistance, the Orb, and World Chain, and previews the rest of the series on hardware, biometrics, cryptography and use cases, with questions and a pointer to the white paper.

Speakers

Topics

From Encode x Worldcoin Educate Series 2024, hosted by Encode.

Transcript

he hey hello everybody Welcome to the first event uh in the anex worldcoin educate series uh it's so Lov to see you uh that you that you joined us for this this first event uh and first of all I want to introduce myself my name is nean I am an operations manager at anchor Club um uh and I'll be hosting today's session before for your actual program mention for the for the series back on Wednesday so a couple of words about us as a company uh we are a global web 3 education Community uh which basically means we organize different kinds of events educational events uh in the web3 and AI uh Fields uh and through these events we hope to advance your careers in these sectors we do this through

different kinds of Education events the educate series like this one heel boot camp recruitment stuff and a couple of other side things as well like for example iners hacker houses iners stuff like that and over the last couple of years we're very proud us that over half a million developers have gone through our ecosystem I assume most of you are not new to our communities which basically all this already but but let's go to something new which is the event schedule for this par education uh today we are starting with

introduction to or coin by DC Builder who's here with us stage already and then we will be talking about or hardware and software on Wednesday next week zml and MPC and Biometrics and then the week after that we will talking about B ID use cases and SDK cryptography and finally three weeks for now from now during the final week series I will have two final events one on world chain and the lp stack and finally we'll finish things Wednesday the 18th of September with the future of work technology also from DC Builder so yeah that's pretty much it feel free to register for all of

these or just some of these events on our web page or our Luma pages and yeah we hope that you enjoy the next four weeks as we dive into worldcoin finally before we kick things off with the first session a reminder to join our Discord Channel as this is where most communication with all you be taking place and where you should be if you want to get all the latest updates on the series as well as be the first to get stuff like resources or recordings and stuff like that cool thank you very much for listening in I'll stop sharing my screen now and yeah I'll give give

you to this builder for the first session thank you all right let me share my screen really quickly I'll present so can everyone see the slides yes perfect a cool so hello everyone I'm a research engineer at the world coin Foundation I go by this pseudonym called DC Builder on the internet and today I'll be talking about like worldcoin what it is how it got started why is it here what are we trying to do and some interesting things that we've been doing for the last couple years um if at any point in time you feel like I should talk slower or maybe there's some technical issues

or you have any questions uh feel free to ask me over in the chat uh the chat uh I should be able to see any any questions as they pop up so uh I'll be able to answer them uh and also there will be time plenty of time after the the main Talk itself for you to ask questions and maybe we can open it up to a more more discussion Q&A uh like format an introduction to worldcoin right this is a part of um one of the eight um talks that we'll be giving over over the next couple weeks around different things within worldcoin pretty much we're going to set the stage right what are the different topics we're going to be talking about

as n mentioned we have Hardware orb Hardware the software for the orb Biometrics World ID use cases cryptography World chain and the future world coin technology I'll in this presentation I'll lay the groundworks for what these sorts of things mean and why is it important so today I'll be starting with like why World coin got started why do we exist why did it get created and why do we think that building something like worldcoin is valuable and meaningful and important for the future of the internet so what worldcoin is trying to do is to build the largest identity and financial Network by giving access to everyone so what does that mean right like we've

seen over the last like decades the financial system has broken down into many different systems that are each administered by their own countries and in the last 10 years or so we've seen the Advent of public blockchains like Bitcoin ethereum and many others that are tried that trying to solve a bunch of different problems that we have in our current Financial system especially when it comes to decentralization like individual sovereignty like having control over your own assets having transparency and Trust being able to validate the state of the of this blockchain or this like Financial system as opposed to having to trust them intermediary and an equivalent also goes for identity right we've seen over time

that as you use the internet especially in the age of AI now that you have a lot of like generative AI models like modern llms you can think of chpt or Claude or Gemini meta metas Lama like there's many different models and all of them have started to become more and more powerful and over time people can use them to attack different systems by creating AI generated content which is UND IND discernable for from Human generated content which can impact a lot of services that we have on the internet and would severely worsen the experience of most humans using the internet so this is also like one of the biggest

problems that we have nowadays and it's going to become ever more prevalent over time and also for all the other identity Solutions all of them are centralized and they don't scale they're not interoperable they're not privacy preserving so there's lots of issues around different parts of of the stack and we believed that that there like this immediate need for something that is able to address these issues and so we started building towards this future so why now as I mentioned AI is getting ever better over time especially if you take the limit of where it's going if you think of where it's going like the next five 10 15 years you can even achieve most likely

you can achieve this state of AI which is called AGI or artificial general intelligence where different agents AI agents are able to essentially be completely IND discernible from human beings like they have the same capabilities as a regular human being and they're not able to be pulled apart there's problems when it comes to building governance protocols you've seen like maybe if you've interacted with any blockchain voting protocols or governance protocols for different Dows a lot of them have very little governance that is democratic most of them are plutocratic in the sense that I have one token I have one vote but there's very few like one person one vote type mechanisms and this sort of like inherently creates

a need for humanness either on chain or on the internet as and also if you assume that these agis create economic value because they're participating in the economy right if you have intelligence you can create economic value and if you create economic value that is created by AIS then there's like a natural question where it's like who should be the beneficiary of that value and so if you want to have some form of maybe like an experimental Ubi process where you can distribute the the revenue that is generated by AI you also need to have some form of human humanness Oracle that that is able to tell you like okay one person one share of some specific thing that is generated by I be that economic value be that some other output

that is valuable so what we're trying to do is to deliver on This Global promise right this original promise of scaling a global system that is able to to be inclusive for everyone like it doesn't discriminate it should be able to support billions of humans uh billions of users unique users and it it should be able to provide you this sort of like identity primitive that allows you to prove that you're unique person on the internet and onchain also as well so the way that we do that is with a different set of tools so worldcoin when it got started originally it was mostly like solving the personhood problem right now I'll introduce some of the things that we're building at the moment like the main product line if you

will so the world app is like the hub for anything World coin if you want to interact with anything that was built by the worldcoin team or like within the worldcoin mission then this is like the the interface for that so what the app does is that it's a it's an interface for you to interact with their identity protocol it's an interface for you to interact with the wallet and also with the world coin token as well so essentially it's the first wallet that we developed as part of the world queen ecosystem it was developed by tools for Humanity so for context I work at the foundation World coin foundation and tools for Humanity is the entity that is the building the the first contributor and a lot of the founding

team comes from that team so they're the first team to develop like a bunch of different solutions including the world app as we go forward and we decentralize ideally there would be many different themes that build many different parts of the stack including an alternative front end or interface in the end this is just a hub for users to interact with different services that we've built as part of world queen ecosystem and so this is like the main place that most people interact with from dayto day when it comes to worldin if you're a user right so we either if you're an Android or iOS you can interact with World app so World ID World ID is this proof personhood protocol that we've built it's a

protocol that allows you to prove to anyone on the Internet or on chain on ethereum or optimism main net at the moment but we're expanding as well you're able to prove that you're a unique person the way that you do that is that every user when they get signed up at the orb at this Hardware device which I'll get into later every user gets a or creates a PR private public key pair and they're able to then authenticate this public key once they're verified and with this private key that they have on their phone they're able to create proofs of personhood they're able to provide a cryptographic proof that preserves their privacy it's called the zero knowledge proof which is able to essentially prove

that you're part of the set of verified users and this is what world ID enables you're able to prove that you own a private key to a public key in the set of verified public keys of verified users we call these public Keys identity commitments which is like one every user has like a unique public key that is pseud anonymous and they're able to prove the ownership of them and you can prove that they're part of a set of verified humans without revealing which specific element of the set they are so essentially this is the main enabler for building C resistant applications so for those who have not heard the term sub resistance I'll also type it out so that U maybe the spelling um uh is understood so this is how you

spell cber resistance um so cber resistance is this property where if you want to build a protocol that assumes that some action within this protocol is unique so you can think of like voting right U when you build a voting protocol uh let's say you have elections and you want to vote for a specific candidate you only want the the voters to only vote for one candidate you don't allow them to vote for multiple so this is one such like designed C resistant protocol and the way that you usually enforce C resistance in the traditional world is usually like having to do a kyc check where they check your ID your voter ID or like your I don't know like your personal identity card that is issued by

the government and then they're able to note that down that this person has already voted and they allow them to vote and that that's it right the person if they show up again to try and vote people will check if they've already voted and if the person's already voted they will tell them they cannot vote anymore this is like the main property of cber resistance however if you want to build a cber resistance protocol or a protocol that sort of enforces this property of one person one one action it's it's really impossible to build that at a global scale with any solution that we've built so far uh it's a very new set of problems because nobody has had to do this before right like we we always just assume that okay like on the internet we might not necessarily need

these things but as we've become a more digital heavy species and we've started to use um a lot of Digital Services for our day-to-day lives um these sort of properties become more important right like if I want to do a vote about some important thing in a digital way without having to showing up to show up somewhere in person sorry excuse me just gonna mute myself so yeah so if if you want to build a protocol that requires this property of C resistance on a global scale on the internet there's really no proper Solutions so this is what world ID is trying to tackle right we have a bunch of different Integrations any developer can integrate World ID into into their own app

using our SDK called ID kit if you're curious about that one there is a link let me think if yeah okay it formats the link correctly that is the documentation for World ID if anyone is interested on how to integrate but essentially it's it's a toolkit and a protocol that allows you to um essentially integrate this property of C resistance you can do any onchain or web application that essentially allows you to make any action be Sil resistant in the sense that you can only do it once or a given amount of times you can repeat it maybe five times or 10 times or or other ways but you have this like programmable way of making sure that all of your users are unique users and when they're interacting with your application they

don't have to disclose who they are they don't have to show their ID don't have to show anything else all they do is that they're proving that they're part of the set of verified users that worldcoin has through the orb okay let me get to the next slide over the last several years we've been growing our user base the way that that we do so is that we have to manufacture these Hardware devices and distribute them around the world there's operators for them and essentially like you get users to download the world app and they interact with the world ecosystem by either verifying their world ID or by interacting with the wallet and all sorts of different things so the project got started around 2019 I think because

I joined later so I'm not too sure about the exact date but we started our beta during 2021 and we started onboarding users in a bunch of different pilot countries and over time we've expanded and grown and faced new challenges because as you grow a lot of the infrastructure needs to adapt and this is like what what the current Outlook looks like so the more up-to-date numbers this is all the way up to June So currently if you go to the World coin.org website you can see the latest up to-date numbers when it comes to us users verified on world ID so there's over 6.5 million World ID verified users at the moment when it comes to being verified by the orb and about 13.5 or 13 million

plus users that have downloaded the world app and there's a rate of like about 8 8X of like year-over-year monthly active user growth I wanted to also explain like like how we've evolved in our onchain thinking like how do we start in the very beginning during our beta and how do we grow so in 2021 we launched on this a custom solution that we developed internally this is before my time so it's it was an optimistic rollup for those of you who have not heard or don't know I'm not sure maybe can if anyone uh that hasn't heard of what a rollup is uh can you let me know in the chat that would be great just so I know the context of of

how technical you guys are when it comes to like scalability Solutions on blockchains and such essentially rollups are the scale scalability Solutions um I can also really let you know like this there's this really good website called lb.com which explains a lot of things around these so optimistic rollup we we built a custom optimistic rollup which is a scaling Solution on ethereum however this scaling solution only supported payments right so only supported people sending tokens back and forth so you can send like usdc back and forth and okay you don't know what a roll up is okay you can only send tokens back and forth and so forth um so let me backstep a little bit so so I can set the context for you guys

um blockchains have this problem where if you want to have lot of transactions um like per second you want to have a lot of throughputs allowing a lot of people to interact with the blockchain there's a fundamental set of limits um if the blockchain wants to be decentralized meaning that there's thousands of nodes validating the network that are verifying that every single block that is on the blockchain is valid then they need to reexecute everything and then since you have thousands of computers re-executing the same block blocks and same transactions there's a fundamental limit to like some Computing bandwidth that you have where like the entire network needs to be in sync they need to propagate blocks to each other they need

to achieve consensus on the blocks either through proof of work proof of stake or some other consensus algorithm and they're they need to have some form of Economic Security that sort of validates that hey these people cannot cheat when it comes to proposing new blocks and so ethereum um has chosen to be really safe and really decentralized so it's it's quite hard to do an attack on ethereum when it comes to like value that you need to put at stake to be able to perform an attack on ethereum it's several billions of dollars and the problem is that ethereum also has this constraint that it wants to be verified by regular regular Hardware like Hardware that is consumer friendly any consumer like you and I we can walk into a store buy a

regular computer like average computer and we we would be able to run ethereum we'd be able to validate ethereum that is one of the constraints that ethereum was built with and this creates a hard limit when it comes to like how much throughput you can have because consumer Hardware is only Sole performant and so if you want to scale that there is a bunch of different scaling Solutions which are called rollups which are able to inherit um ethereum security through a bunch of different mechanisms but this is essentially what a rollup is it's a scalability solution that allows you to do more transactions on let's say ethereum whilst inheriting a lot of the security guarantees of ethereum so if if you want to read more about rollups I recommend you read more of this presentation and we'll get

deeper into rollups for one of our latest presentations when it comes to World chain we have a presentation about world chain and World chain is an OP optimistic rollup uh currently we're in optimism which is also a rollup so yeah okay so that's like some preliminary explanation about what what they are so when it comes to our our own onchain history we built this like custom optimistic rollup and this rollup only supported payments so on ethereum you can have things like smart contracts right you can have programmable ways of interacting with the blockchain you can interact with for example applications like a Unis swap right I can I can borrow money I can lend money I can swap tokens on a automated Market maker like

Unis swap I can do all sorts of different things I can like mint an nft I can have a smart account wallet I can do a bunch of different transactions with different logic and so this is the feature of the virtual machine that ethereum has the evm or for Solana you have the Solana virtual machine and other blockchains have their own execution environment that allow you to have this programmability within the blockchain so for us our first solution didn't have this we didn't have a general programmable environment we only supported payments uh and the reason for that is that we thought that it was only going to be mostly important for people to just send payments back and forth in 2021 it wasn't obvious because there was no applications on chain so we Mo mostly wanted to optimize for this throughput

and so we built a custom solution however over time we realize that users really want to interact with things we like we want to have things like automated market makers we wanted to do swaps and things uh Brian I'll answer that question a bit later then we essentially realized that we want to have things like automated market makers we wanted to have swaps we wanted to have blending we wanted to expose our users or like at least allow our users to interact with onchain applications and so we migrated our infrastructure from this custom solution that we built called Hubble to polygon posos so polygon is a is an L L1 and it also time stamps its state on ethereum and so we launched on polygon POS during our beta so this was when we had around 700,000 users

and over time we started like deploying our architecture of smart contract wallets so for every user we deploy a smart contract wallet based on this tool called safe I'm let me find really quickly if I can find in this other tab a link that I can send you guys save there we go sorry for this I'm just going to want to show you guys like what it is so you can see so it's a smart contract wallet that allows you to essentially interact with ethereum but instead of having an address on ethereum uh the regular address called an EA externally owned address you have a smart account address so you're able to do things like better recovery you're

able to do things like multi signatures right so you can have multiple people own the same wallet um and different things so for every World coin user that is verified by World ID we' have deployed one such smart account wallet called from safe right smart wallet from safe and this allows us to do a bunch of interesting things like sponsoring transactions for them right so we for every user that interacts with worldcoin within the world app they don't pay for transaction fees and the way that we do this is through this safe smart account and this standard called meta transactions which allows us to subsidize transactions for users so when you're using World app you don't pay for transactions and then in 2023 around

launch so in July of 2023 last year we launched on optimism main net so we migrated to this really popular optimistic rollup and now we're part of the optimism ecosystem and as part of the optimism ecosystem we're expanding because we since you saw the growth numbers right like the these numbers as we grow as we grew we ended up consuming more and more block space or like essentially space on optimism to do transactions and we've reached some hard limits of like how much we can scale and so we decided to launch our own optimistic rollup which is part of the optimism ecosystem or the op super chain ecosystem which is called World chain so this is a really

like short hint of what it is we'll go much much in depth much more into depth into this once we have a presentation on world chain on its own so yeah and this is going to be launching this year we've already announced a death preview so developers can already start building on world chain and deploying their smart contracts and as we migrate all of our user base from uh optimism main net to World chain then once everything is ready and all of the dependencies are ready and all of the applications that we need are there then we're going to make it like a public mainnet announcement uh which is going to come in a in some few weeks or so so yeah so that's like a brief history of our like onchain story of like how we went from having a custom

solution in our beta to to expanding our beta to polygon p and then eventually migrating to optimism and now World chain essentially all of these migrations happen due to some limitations that we had where there's some really hard limitations when it comes to how much transactions we can do on this network since we have like many millions of transactions for for every single user there ended up being more and more problems and in the end you need to have some ownership over some scalability parameters and you need to have some ownership over some infrastructure so you can expand things based on your own needs so as we had different needs and different constraints for building our application and building different world coin Services then we had to expand to other places so now I'll explain briefly what

this orb is what is this Hardware device that we're building within the world coin ecosystem you have to have a way to prove that the person is unique and that they're a unique person right so this is a really hard problem if you can think of like all the existing solutions that you might have used maybe if you fly a lot maybe you've used things like clear which is this biometric scanner at airports maybe if you've vote voted for elections maybe you had to show your ID maybe if you've interacted with some website they have you like put your email address and do some verification or maybe your credit card number or something essentially there's different solutions that people have used to try

and verify that the people interacting with the with the application are unique however all of these have become really bad add at verifying uniqueness you can think of like a capture right if I have a puzzle and I need to like quit for example I need to click on how many of these images are bicycles and I need to label them you can think of AI nowadays like for them it's a trivial problem because they've been trained like convolutional NE networks have been trained on just okay this is a bike this is a bike this is a car so it's quite easy to solve these captas nowadays for Bots and so all of these solutions that have existed in the last few years years have really become overrun by by AIS and other

automated systems that are able to game this so the Orab is like this Oracle or source of Truth for what is a unique human and so this is like why we built this if you go through the set of existing Solutions none of them were really good maybe if I can let me quickly find a quick okay I I can show you like some we have a good documentation in our white paper and in the white paper there's a really good graph uh that shows like why we chose uh to build our own custom solution as opposed to using anything else uh that already exists maybe if I'll find it maybe I'll

show that later I'll go through the white paper after finish through the slides for those who are curious also this is the link essentially the this presentation is like a dilute Ed version of the white paper it's a lot more succinct and more sparse what the orb does is that it verifies that the person in front of the orb is a unique person and that it's a real person so at first it does this check that the person in front of the orb is a real person as you can see in the image there's a bunch of different sensors there's a camera there's a gimbal mirror there's a calibration system there's a custom lens there's the motherboard with capacitor and there's a battery a GPU a heat syn for the GPU

there's all sorts of different components but what they all do in the end is essentially to prove that the person standing in front of the orb is a real person the thing that is hard about this is that it's really hard to prove that not only this but also do it in a privacy preserving way right the you can think of like existing solutions they are not privacy preserving because they collect some Biometrics about you when it comes to when it comes to the or is able to produce this thing called an iris code which I'll show you later in the white paper but what this Iris code is it's it's a representation of the uniqueness that is encoded in the iris for every single person so essentially every Iris for every single person is really unique by unique I mean that

there is enough random information like every single pattern on people's ir's are unique and so if you're able to create an algorithm that encapsulates this uniqueness without like leaking information or without leaking too much information then you're able to essentially use this representation of the randomness and you can match the randomness representation to other peoples to be able to make sure that the person is unique and then there's also a bunch of other checks within the orb itself which allow you to prove that the person is not wearing contact lenses glasses it's able to essentially prove that the person standing in front of the orb is a real person and the second part using the iris code is able to prove that the person is unique

the actual like technicalities of how that works are explained in depth in the white paper and if we have some time I have 29 minutes left as I can see um then maybe towards the end I can show you some like specifics and you can have some intuition uh all of these things are open source so also like I can share you the links for GitHub for this um uh open Iris so this is let me just double check that this link is correct yes so this is the open source repo for how the world coin Biometrics pipeline Works um then we have the orb Hardware so the hardware schematics for how the orb is assembled with components and how it works and then there is the

orb software in the next presentations we're going to have people from tools for Humanity who are working on different parts of this stack uh to explain to explain these different components uh most specifically Daniel gersich from the tools for Humanity team will be explaining uh how this works um and or- software for those who are curious we have like open sourced and published like how these things actually work like what is it underneath and within the white paper you have technical explainers that explain like how this works on a high level so yeah so the orb does these two main things it proves that the person in front of the orb is a real person and it proves that the person in front of the orb is a unique person and the orb is like this source

of Truth and it's also the thing that enforces like the truth right and how you do that is that the orb itself has a lot of security mechanisms to prevent to prevent it from being tampered you can assume that in an adversarial scenario people can try and attack like the Biometrics pipeline within the orb to try and create multiple identities or multiple Iris codes and try and gain the system right so what the orb is it has a lot of like security features that also prevent it from being tampered with on the hardware level on the software level on the Biometrics level there's different like Security checks and tamper prevention checks that essentially enforce and prove that the

person is actually real and nobody else can tamper with this so this is like why you need to be to build your own custom solution because if you can think of other Solutions let's say your phone the problem with like let's say face ID many people think oh why don't you use your phone why don't you use face ID so the way that face ID works for example is that the the phone will do like a 3D scan or like it will take a bunch of pictures in different orientations of your face and try and map that to a 3D model that we'll try and create and then whenever you're unlocking your phone it will match your frontal picture to that model and try and authenticate whether is the same person unlocking the problem with this is that it only works for like about 15 million people right so for

every person that has a has a face ID so if if there's 15 million people there's two people that at least are able to unlock the same phone because these systems don't have enough resolution to be able to tell whether this person is actually unique and also you're keeping like raw Biometrics in the sense that you're keeping like an image of a face the reason why this is okay is because it's happening on the phone itself this face image like this facial structure image that the phone is taken never leaves the phone is this sort of like client side machine learning algorithm that is doing everything on device so since it's happening on device it's fine but if you want to have this for a global scale to tell unique uniqueness it it it doesn't work for

more than like 10 million people or so 10 to 15 million people and also like you would have to store images of people's faces somewhere which is not great when it comes to privacy same happens for all sorts of other Solutions not to mention that your phone I'm not sure if twins can bypass face ID but it's quite likely mostly because there's not enough Randomness between them to be able to tell them apart essentially there's there's enough people in the world to be able to unlock the same phone and so if you want to build something that is truly scalable it wouldn't work and also something that would be decentralized and privacy preserving it also wouldn't work either because you would have to you would have to upload your images of your your essential like frontal camera to some

service which wouldn't be really great because it it would compromise your privacy in in several ways and another important part of the orb is that all of the compute happens on device right the orb essentially is a self- Encompass system which has a computer like it has a operating system it has a CPU a graphics card and all of this computation happens on the orb this is really important because it means that world TN servers don't touch any parts of the Biometrics the the only thing that leaves the orb is the IRS code and the IRS code is this sort of like uniqueness representation and then there are some other added steps that I can go into depth once we talk about the cryptography side and other different

aspects of the protocol cool so moving forward from the orb we have the world ID infrastructure World ID um is quite a sophisticated system um not necessarily because it's it's U it's too hard there's a lot of like moving pieces uh that you need to build so that you can actually do these things in a scalable way so as I mentioned currently we're in optimism main net and so the way it works is that when the person goes to the orb and gets verified by the orb um their public key which is created on their phone um is inserted into a set of verified users when the

orb verifies that they're a unique person and so the way that U this is implemented under the hood is that there is a smart contract on ethereum mainnet and this smart contract has a registry of all the public keys or identity commitments that are on on on the world ID verified user base right all the set of verified World ID users so whenever a user gets verified they get inserted into the set the way that this set is verified even though this set is verified so essentially you have a set of public keys and all of these public keys are public keys of users that have been verified and the way that world ID works works is that it it allows you to

prove within this smart contract that you own a private key to a public key in the set of verified users without revealing who they are the way that this is implemented is using a protocol called semafor so semafor was originally built by the ethereum foundation by the Privacy Skilling Explorations group within the the ethereum foundation I'm going to send you a link to where it is so World ID underneath uses this semaphor protocol to essentially prove inclusion in a set without revealing which one you are so this is like how you're able to prove personhood in a privacy preserving way right if if we walk through the entire flow user gets verified their public key gets inserted into the set of verified users and now

that you have a set of verified users you need a privacy preserving way to prove inclusion in this set and so the way that is implemented is using a zero knowledge cryptography and this data structure called the Merle tree and so you're able to prove that you're part of this Mark you without revealing who you are so this is uh a really hard problem because also it needs to scale to billions of people so we've built a lot of custom Solutions on top of semaphor that allow you to do things like batch insertions so let's say that there's like a thousand people that have verified in the last hour you can put them in a batch and update the state of the of the set of verified users all at once and there's a bunch of like other different services that we built around that because there's a lot

of really hard problems because all of these zero knowledge proofs and all of this cryptography that we're doing happens on the users devices on users phones because you need the private key to create this proof and so since the private key is custody by the users that's like how you're able to create these proofs and so there's a lot of hard problems around like having this cryptography performance be fast so that the application is still like easy to use it's fast there's not bad bad user experience and all these sorts of things so this is like also like why it's quite hard to build these systems another one is this third item that I have over here this uniqueness service in MPC I'll go much more into detail for this also there's a

presentation from two two teams which is let me find it I think I don't have the updated yeah I don't have the updated one yeah essentially this is the previous structure or table of content now these two have merged into one and there is a third one which is on Z ML and multi-party computation so there's going to be uh two people presenting on on these Solutions but what this essentially means is uh when you're doing the uniqueness check like the proving that this person is actually unique the way that that works is that you're checking Iris codes against each other but it's not done in a sort of transparent way it's

not done in a way where the IRS codes are public the IRS codes are encrypted but you're still able to do uniqueness checks on this encrypted version which is really interesting this it's really fancy piece of cryptography I can send you a link to our article on this so if you're curious and learn something about this before we have presentation on this from the people who built it together with us then I recommend you read the article I just sent in the blog in the chat so yeah essentially there's this uniqueness service that allows you to prove that you're part of the set of verified users and this offchain component to it that checks it's not homomorphic homomorphic cryptography or

fully homomorphic encryption allows you to do computation on private data this other part of cryptography called like multi-party computation that's what NPC stands for is technically fully homomorphic encryption is a special case of multi-party computation where there's only two parties so FHA and two party computation have a lot of similarities uh but yeah it's it's a different slightly different type of encryption if you're curious I recommend you like I don't know ask sh GPT like how it works more or less from first principles or read some articles uh we also have a really simple explainer uh in the block post so if you're curious you can also read that one but we'll go much more into depth uh for this uh in

the next couple presentations with tasio and we have a presentation from Lucas from tasio and Brian plus Daniel from modulus so there will be presenting a future I think I'm not sure if it's the next one or the one after that but really soon there's going to be like a a presentation on this topic so you'll be able to ask questions and you'll see more explanations that are much more in depth and so other than that there's also this like a bunch of other technologies that we're trying to explore like zero knowledge machine learning trusted execution environments uh the orb itself has this like custom Hardware that allows you to sign things and there's a private key in the

hardware essentially there's a lot of different types of cryptography and privacy enhancing Technologies that's what PS stands for so there's a bunch of privacy enhancing technologies that allow you to do a lot of different things also I have a technical explainer on this I was on a podcast like a few months ago earlier this year that if if you're a really technical person and you want to learn more about the actual code or like how these things are actually implemented uh in reality you can also watch this verified user so your question is I'm an Android verified user can I log in from an iPhone into World app currently not right now there's no way for you to recover your world ID

within a different device so if you have an Android you can only recover it from an Android device because of the back the way the backups are done and then if you have an iOS device you can only recover from iOS device but this is like a question more for the tools for Humanity World app team my understanding is this is how it is right now I'm not sure if there's like a product a feature in the timeline that would allow you to do these things moving forward so in this podcast episode I explained all the technicalities behind how these things are actually implemented on the smart contract level from the world ID smart contracts to the bridges to other networks the developer portal and how everything ties in to to each other like

all the cryptog graphy and stuff stuff but I'll also get into this a bit later when it comes to the cryptography explainers that I'll have later the world chain ones and and a few other things as we've grown throughout the last few years there there's been a lot of really hard problems that we had to solve because as you can think there's very few people who have reached this scale not at the moment not at the moment there's very few products or projects that have reach the scale and especially with such a big onchain footprint so with having all these like really hard problems we've had to build a lot of custom Solutions as I mentioned like within the

world app there is a custom like safe smart account so for every user that is World ID verified you have a a safe smart account and within this you're able to do like transactions and all of them are sponsored right so we've had to build a lot of infrastructure around this currently we're working with the safe team on upgrading the safe instead of using a custom private public key for actually like signing transactions on the safe we're going to update to the standard called pass Keys pass Keys is like this feature that allows you to use your phone's uh trusted execution environment to sign transactions so like the way that you would experience this is that instead of having to uh use your own private key you would have to um just

use your iCloud like Pass Key authentication or your Google cloud or whatever else you use for pass Keys is just like you have this face ID pop up and you can sign transactions with like your face ID or with your touch ID or with anything else it's a much better user experience so this is like one of the features that we're building right now with them we're also migrating to this thing called EIP 4337 EIP stands for ethereum improvement proposal essentially this is the thing that does these features that people call account abstraction essentially allows you to pay for transactions in any token outside of ethereum because most blockchains take eth or most l2s most scalability Solutions take e but if you want to pay for example in wld or if you want to pay in usdc you're able to do so as

well and a bunch of other infrastructure that we we're building things like recovery gas sponsorship flexible signers there's all sorts of things that that we're working on and we've worked on in the past we've over time we've also learned a bunch of different problems like we've realized a lot of things about the space and how World coin feeds into the current state of technology in the blockchain ecosystem and like a lot of things that we've contributed to a bunch of different things one was that layer twos or Roll-Ups scalability Solutions were very early and they're still quite early like they're not ready yet to support a billion users but we're getting there if if you give it like a

few more years there's a lot of scalability solutions that are on the way and a lot of problems that people are solving like different researchers engineers and we're also trying to contribute our our best to that we've had to build a lot of infrastructure ourselves because nobody or very few people have reached the scale that we have so if when you reach scale there's a lot of problems that reach with that that that come with that because you need to have still like a lot of robustness scalability all these things and there's very few like projects or tools that allow you to have that so you have to build all of your tools inous so that you can solve those problems 4844 this references EIP 4844 so if you're curious about what that is there's also this

website so EIP 4844 is this e theum Improvement proposal around scalability we contributed to this ethereum Improvement proposal but it took longer than expected the thing that this enabled is essentially cheaper transactions on scalability Solutions but it took quite long so we had to for example like when we're subsidizing all the transactions for our users we had to pay a lot during a lot longer than we expected to there's also a lot of custom transaction stuff that we've done with custom compression for safe smart accounts and currently one of the biggest problems that we have is this layer two execution gas um bottom NE so the the thing that this means is that on

layer twos there's again a fixed set of transactions that you can do on a block and a fixed set of blocks that are produced uh per unit of time currently on optimism mainnet you can do um like a block every two seconds and each of these blocks have uh these like units of gas and per block the maximum is 30 million gas and each transaction consumes a set amount of gas so if let's say you have like an average transaction of let's say like one transaction is 100,000 gas and you have 30 million where you can only do 30 million right so you can 100,000 million right so you only do 300 transactions that have 100,000 per block

right so this is a hard limit of how many transactions can fit and this is for the entire blockchain like for the entire optimism chain so if you want to scale to a billion users um you C you have to get past this limit you have to enable more transactions per a shorter amount of time by having more execution gas that allows you to do more transactions so this is the current bottleneck for us and we're working a lot of this when it comes to research and Engineering to contribute to the ecosystem to scale all these things so this is like where World chain comes into place we'll talk about this much more in depth in its own episode or chapter of this educate series but essentially what world chain will enable is priority

block space and transactions for Unique humans right so instead of having to compete with Bots if you're unique human your transactions are going to be included first uh this is something that we're working on it's going to uh probably take a bit longer because there's so many considerations because this is touching a lot of the core infrastructure of op stack itself so we have to collaborate together with the other partners within the optimism ecosystem World chain is going to be open source permissionless andse secured by E theum right so World chain is just an instantiation of the op stack which is open source I can also send you the link for that optimism optimism GitHub I can give me one second I'll

find the link for you so it's using this teex stack this is the GitHub but op stack maybe there's like an introductory article from optimism yes this is the one okay so if you want to learn more about the OB stack and what it is there's also this link but we're going to get into depth in future one of the future episodes that that I'll be giving so it's it's World chain is also meant to essentially have applications that want to Target real users right so we have a lot of users and a lot of applications that are building on ethereum and other blockchains and other

scalability solutions they don't really know who is a unique user within their own user base so if they want to deploy in a network where they want to Target unique users they can deploy in World chain because it's a permissionless network anybody will be able to once we launch everybody will be able to deploy a smart contract and have it in interact with our users in all sorts of different ways and as I mentioned before we're going to launch with the world app right so World chain is going to launch with World apps you're already going to have a strong user base there so what is next for World chain currently we're thinking about a bunch of different things but as I mentioned before the current bottom line for us is execution and scalability so

scale will be the primary objective so that we can do more and more transactions at the height of it we were about 60% of optimism main net so we consumed about 60% of optimism main net block space and currently we need to mitigate that if you want to scale to let's say 5x the amount of us that we have right now optimism would not be able to support uh such a user base so we're doing a lot of optimizations in different aspects of the stack and launching launching World chain itself so that we can scale this sort of like heart limits we can support more users and not have to pay more for gas fees there's a question relevant question from Ric you mentioned World coin covering the gas fee is it still quite

expensive after EIP for for four because claiming grants can rack up a lot of gas so yeah it's still quite expensive but it's like orders of magnitude less expensive than it used to be on optimism M at before 4844 the reasoning for this is that blob space is a lot cheaper and execution gas is now quite cheap the thing that is also a bit expensive is the the data availability side of things you were paying for this blob space thing and then also for the execution gas on the L2 the reason why it's expensive is not necessarily because optim is expensive is because we have an insane amount of volume right like if you have millions and millions of transactions all the time then each transaction even if it costs a cent like if you multiply a cent by a million it's still like 100,000 or

$10,000 and if you have like millions and millions then you still have like millions of dollars of worth of transaction fees that you're subsidizing for users so yeah there's like a bunch of different things you can do here but within World chain there's going to be like a native subsidy thing that essentially will also make it cheaper for us to do because since we will have the sequencer control the sequencer in the beginning because sequencers are not yet decentralized a lot of the transaction fees that we are going to be paying are going to go to the sequencer which is owned by us so it's not not not not negative value that we're losing by subsidizing as currently because currently we're paying for optimism and optimism sequence fees go to retroactive funding to give grants to different

teams to build an optimism so yeah this is like one one Nuance also I think I forgot to answer one of the questions from Desh um any possibility for all or verifications in India so this is not a good question for me because I'm not on the tools for Humanity team the tools for Humanity team has a lot more context on which Market they should we are going to be expanding to I know that currently all you can do in the world app is uh in the world app you can choose the country you're in and you can like subscribe for notifications I really that's my best tip you can subscribe for notifications like when orbs come to your country it's a really hard problem because you need to manufacture Hardware set up operations expand grow and there's a lot of things that come with

that when it comes to compliance and all all sorts of other topics so yeah that's my best answer honestly this is not I'm not the right person to answer that so yeah sorry for that so yeah World chain what is next there's this execution client called ref which is built by this team called Paradigm and since we use this programming language use rust called rust in world queen for a lot of the things we are contributing to this execution client to be able to scale if you have people interested in pitching World ID to a country who should you contact at this point in time we don't really have a an established process this is comes more from an internally like we do our own internal

research and we're able to to assess or like tools for Humanity is able to assess which markets to expand to next um the only thing that you can do is maybe if you want to become an operator for an orb you can subscribe in The Operators page oh I want to become an operator I'm from this country and if you put your contact information people can contact you later from tool stre manity to see if you want to share the link operators become an operator I think it's become an operator worldcoin I'm trying to rush things up because I only have four minutes left so sorry if I'm bit fast let me know if it's too fast but we're running out of time I shared the link cool so and account

abstraction which I'll also go into depth later is this sort of really important set of tools that would make interacting with blockchains a lot simpler and easier so I personally I run this thing called the human Collective grants together with two teammates or a few other teammates at the world coin Foundation what this grants program is is that there's a lot of really interesting problems that we have within worldcoin within the worldcoin ecosystem that we don't necessarily have all the bandwidth to solve and we believe that there's a lot of other people who are much better equipped to solving these problems and so they're within cryptography protocol development and a few others some of the problems are listed here World coin.org RFP request

for proposals and so there are in different categories they're within identity cryptography infrastructure and all sorts of other things so if you're interested in that you can also check out our community grants program if you feel like you have expertise in any of these then you can feel free to apply and we give these grants to teams to work on a bunch of different ones and yeah that is everything that I prepared for this presentation hopefully that was good I will have I will go more in depth into other topics with within the other discussions but hopefully this was like a good introductory presentation uh thank you for

listening yeah uh it definitely was an amazing presentation thank you very much D Builder uh and thank you everybody else for coming in and for the all the wonderful questions and interaction which you have provided uh unfortunately yes this build said we are out of time but this is only session number one out of eight sessions total so feel free to join us uh for the next session on Wednesday uh on software and Hardware Hardware uh and join us for the following six sessions over the next three weeks uh and I'm sure most of your if not all your questions will be answered by and then uh until then uh this build or any final words of was and for the audience um for me it would be like if you want a more sort of in-depth walkr

of how everything works because I had to like really fly through a lot of things it's quite hard to give you like the proper context of how everything works if you want to just have no not not so rushed explanation of the introduction of world because there's a lot of different moving Parts I would really recommend you go through the white paper um I will resend the link here uh the white paper has a lot of these different things if you have questions uh that you want to ask me during this offchain off offline um I also have my telegram so you can send me a message here um this is my telegram profile um so yeah you can you can send me any message message or also on X I'm also active there so yeah that's

everything I wanted to to let you know if you want to read more in depth about the introductory topics then the white paper is the best place to go perfect thank you very much once again everybody else see you on Wednesday cheers byebye [Music] n

Related talks