Builder Show w/Steve Dakh from Ethereum Attestation Service (EAS) w/Austin Griffith & Eda Akturk
15 Oct 2024 · 45:42
Steve Dakh of the Ethereum Attestation Service (EAS) explains to Austin Griffith and Eda Akturk what an attestation is: a structured statement digitally signed with an Ethereum wallet, onchain or offchain. The conversation covers how EAS works, real use cases, the tradeoffs between onchain and offchain architecture, its integration into the OP Stack, and how transitive trust could support relative reputation systems. Steve also discusses privacy in decentralized identity and points developers to the EAS documentation and a Scaffold-ETH 2 example for getting started.
Speakers
Topics
Transcript
so optimism implemented EAS into the op stack so every chain that deploys with the op stack automatically has uh EAS built into [Music] it it's nice to get back to recording these episodes together with Austin and today we have Steve from ethereum attestation Service uh who's going to be talking about all what even is ethereum attestation service and I think we're going to be picking his brain a lot um so so I directly want to dive in it would be great if you can explain what attestation is uh and maybe we can start there and kind of move forward sure um so simply an attestation is someone saying something about anything uh so
you know me saying that I met you in real life can be an attestation uh someone posting a tweet can be an attestation um someone giving you a credential is an attestation it's uh in in regards to EAS an at to station is just a digital signature signed with your ethereum wallet on a structured uh piece of data uh about something when I first came into the space I had to learn two I had to learn Arbitrage and attestation I didn't know what either of those were plus I had to learn like a bunch of economics and things that I didn't Game Theory things that I didn't plan on learning as a computer nerd but one uh term that comes up a lot is credible commitment it it credible
commitments on chain like when you put them on chain everyone can see them they're cryptographically backed attestations incredible commitments similar things one inside the other what what's the the verbi words there so I would I think attestation for for this case makes more sense uh because you know an attestation doesn't necessarily have to be a commitment right like it wordwise like commitment might not make sense you know you might have an attestation from a machine that's attesting to some you know supply chain movement uh you know it's it's essentially an adastation covers covers it pretty fully and actually we we wanted we really wanted to not have to
use that word because it's it's not a word that people really use but every time we tried to find a new word it just nothing uh kind of gave it was as descriptive as at the station and and kind of at the heart we have this like ecdsa key pair that can that can sign a thing and you can prove using math that this account for sure signed this thing and that's I think kind of technically the heart of making an attestation work is that people need to be able to trust the information was signed by the person and we can use math basically to prove it is that right right and um you know um now that you know so many people have uh ethereum
wallets it's so it made sense to to build this in this way you know because you know you have you have already Technologies built around like verifiable credentials and signing with kind of various Keys uh but these Pro all the projects that kind of do this they they they build these like siloed ecosystems and uh just creates more fragmentation when it comes to like trying to build identity Proto protocols or or or things like that um and so uh we we realize that like it makes sense today now that today so many people are you have wallets why not build like the verifiable credential for V evm right uh that's that's lightweight uh does what a
a verifiable credential does but like specifically built for efficiency uh for onchain and also offchain um the also lets you make offchain at to stations which is pretty cool but specifically um for ethereum evm based uh attestations uh that's that's what EAS is for um so one thing which helped me understand more is especially like that it can be used for other use cases like reputation uh so I'm like uh we mentioned digital identity but what are like the other use cases you can use EAS or an attestation service for well I mean an attestation can be a vote it can be used for supply chain it could be
used for uh verifying that some real world asset exists um you know it can be used for credentials I like to tell this kind of story like why we why we um kind of built it in the first place um you know I was really interested in decentralized identity uh it's super important uh thing to solve but identity is like highly complex and EAS isn't like you said it's it's it's really not meant for just identity but it was a really important problem uh that I that we we wanted to solve and um you know the pro the thing about identity it's like super
super complex right in the sense that uh it's both relative right in the sense that you know you might trust me as a as a good developer but someone else might not it's also contextual in the sense that you might trust me as a good uh developer but maybe not as a good dancer or something like that right and so uh started like to think like look at all the platforms out there that were kind of messing with this and they're all building they all like kind of presuppose what identity is identity is is so much and it's and it depends on who's looking and so I started to think like well what actually you know what is identity how can you really like understand it and then I started to
think well at some point I had no identity right and then I did and so I started to think well when I was born uh my mother named me stevenh right and and you know you could say that she attested to my name right and then I went to school and the teachers they attested to my grades right the kids in the class they could have attested to whether they liked me or not and the government attested to my passport and my driver's license the universities attest to your diploma uh and an employer can attest your employment or if you're a good employee or not and so I realized actually you can represent something as complex as identity as an aggregate of attestations
but the attest agents you have to be able to attest about anything right maybe someone's you know Mickey Mouse Club subscription when they're a child somehow has some value to some person and probably many people it doesn't but it's important to be able to have this mechanism where anybody can attest about anything and from those attestations any other entity can derive some sort of uh relative reputation and and so like this kind of also solves the issue where like you know um the it solves the one world uh government score problem because rather than as rather than looking at attestations just from government agencies and being like Oh well this entity has a score of 400 no matter
who's looking right but that doesn't make sense right you'll always trust your friends more you'll trust the friends of your friends more and so EAS allows you to aggregate these types of attestations and then for yourself derive what what do they mean to you you know based on how much you trust the people that are testing and so um but it but it's useful for so much more even though initially it was kind of designed or or you know kind of came to it because I was trying to solve identity and then realized like because it's just it's just such a simple primitive that can be used like for any uh kind of attestation it's it's super useful for anything signing documents um you
know showing that you trust someone or that you met someone um there's there's there's honestly infinite use cases uh because I mean we say things all the time about things we just don't have a digital way to kind of sign it like I say I trust this guy I say that you know I rate a restaurant you know five stars or something but the way I'm doing is I'm putting it in a silad system I go to Google Maps and I and I give it five you know five stars for stars but uh with e you can have an attestation that can be imported into Google Maps but then used somewhere else you know and and that's kind of the the beauty with that um I think that's a great intro especially um it's pretty flexible in terms of like
the sentence or like the the statements which you can test to so I'm curious like um so what exactly is e itself like is it um yeah can you like explain to me technically like what it is like how it has like the offchain component as well like I'm quite curious yeah absolutely so um so yes has two uh compon components it does an onchain onchain smart contracts and then uh a protocol for making offchain attestations and so the way the smart contracts work is you have two main smart contracts and there and it's very simple by the way like the contracts are very easy to read um and this primitive does have to be simple right because like the building block can't be too complex because then you're limited to what you can build and so uh
there's something called the schema registry contract and allows anyone to register any type of schema so for example if I want to say I met you in real life maybe the schema just has like a single Boolean field that says met IRL and and that's it right but you can make a schema as complex as you want so it can have like nested data and all sorts of stuff and um so you design a schema and the schema defines like what is the type of attestation that you're making so like you know uh coinbase for example ATT tests uh to users who they've kyc and they'll attest this is a verified account and even optionally like uh this entity uh
exists in in this in this country um and so you have the schema registry and and they have a schema for that and so anybody who wants to know whether or not someone has a verified account they say like are does this address have any attestations of this schema type from coinbase and so they know that's a verification type attestation and so the schema registry is really important in kind of creating like the category of attestation right and then once you have a schema registered registered uh you can attest uh you can attest using the EAS main contract and you reference a schema so you say I want to attest met IRL you reference the schema the bytes 32 schema ID and then you attest to the the data
true or false whatever the uh data set up like um an attestation has a few different properties so uh it has an an attester address right this is the signer uh it has an optional recipient so you know I might attest to Austin's address or maybe I'm attesting to my own address or maybe I'm just attesting with no recipient like if I'm tweeting I'm not necessarily tweeting to someone specifically maybe I am but maybe I'm just saying something to the world doesn't require a recipient um at the stations have a Tim stamp super important um attestations can be revocable attestations can expire and
attestations can reference other attestations which is pretty cool um another another thing that's pretty interesting is uh in the schema registry like it's very simple to create a schema is very and in general everything is permissionless however um we added this really cool feature to schemas when you register a schema you can give a schema and optional resolver uh smart contract address when you when you create it and so when you do this anytime an attestation gets made of that type it runs through the logic in the resolver and so the resolver can prevent certain entities from ATT testing it can you
know it can it can create an nft for once someone it tests it can send a payment it can do you know it allows you to basically extend the functionality of attestations to kind of whatever you want so you know you can have schemas that are fully public anybody can attest with them you can have also schemas that are public anyone can attest with but there's some logic there and then you can also have some permission schemas like for example coinbase has a schema in which they only they are allowed to attest with it so if you see an attestation from the schema there's no way anyone else but coinbase uh could have could have made uh and so that that's that's the general onchain uh mechanism and so for offchain outstations it follows the same thing in order to make an offchain attestation in
general you you would re register the schema onchain but you can make the attestation offchain and so it uses EIP 712 to make an offchain uh signature on the on the on the attestation data and so it's it's we we created an SDK which makes it extremely easy to make these offchain attestations and verify them uh also create QR codes from them so you know with we have a we actually have a EAS Explorer application on on all the chains that we support it's called EAS scan and it allows you to like View and see it's like The Ether scan of attestations you can see all the attestations that come through you can
validate them you can load offchain attestations and verify them you can make offchain and non-chain AD stations and schemas uh it's it's a pretty cool tool and so um we provide these tools to make it extremely easy for anybody to be able to just start a testing right away and also what's cool about this explor is you don't even need to necessarily have any technical skill to be able to attest right so if if I create a schema of some particular type I can share it with somebody and you know even if I didn't build like a specific UI for making this attestation can point someone to this this the EAS scan website and have them uh make these types of attestations directly in the UI there's some kind of technical interesting things here thinking about
offchain attestations firsts on onchain attestations thinking about how an attestation uh has an expire that makes a lot of sense like if it's an offchain you're going to want to have that expire on there so you know everything happens right when you sign it and then you don't have any control of it after that it kind of goes right and so that makes sense but then uh you said that there was a revoke and the only way to make revoke work is to have that thing on chain and I think that's what the data availability I think but maybe let me just like pitch that back your way don't don't you need that smart contract on chain with that data availability to make that revoke work so you know we built something pretty cool for that so uh two of the functionalities that we
added uh for offchain at to stations and it's built into the es contract one is a timestamp function allows you to so every ATT to station has its own unique identifier which is a hash of the ATT to station so by uh calling like we have a time stamp function on the es contract you simply pass the uid which is a byes 32 and it stores a mapping of the bytes 32 to a Tim stamp so you can actually know that actually this attestation happened uh at least you know before this time um and it's and and it's for revoking similar uh when you want to revoke an attestation we have a revoke timestamp except the way it works is it stores a mapping of revoker and timestamp and so if you want to know if
a particular offchain attestation is revoked you would check did the attester call revoke like call that revoke function and time stamp it on chain and what's cool is also you can uh Merk create a Merkel tree with like thousands of attestations that are being revoked or timestamped and you can verify that all of them you know have been for very cheaply you can you can make this atation for the cost of one bytes 32 uh you know mapping storage the very cheaply stuff leads me to the chain question which is next but before that I want to ask the 712 I think I think you you mentioned EIP 712 when when we're doing all of this schema registry stuff it just feels like the sign type data
standard what how do those things work hand inand in term I think I think you said EIP 712 earlier is is that the EIP you're referencing yeah okay so how how does EAS and 712 kind of work together because it seems like they're very similar things you define a schema and then you attest to things within that schema so so the like the the type data uh in in the offchain testation includes only like the main attestation field so you have the you know a tester recipient uh time stamp uh but the data the data is just typed as one bytes field um and so like you know we we built like we did build like a metam mass naap and other tools to be able to
like decode these uh offchain attest stations in the in the extension when you're sending uh a transaction um but uh the the T the the the schema doesn't change for the offchain atation 712 schema does not change for every single atation and and it would actually create a lot it would create issues and make it a little bit harder for other developers to kind of verify this stuff on chain because they'd have to write a completely different kind of verification logic um yeah and the data the data is just ABI encoded uh with the schema so it's similar but different not exactly the same standard there was there were things that you needed and I think really like the the thing to hammer home
here is how generic you made everything and how open source and easily accessible you made everything you didn't want to add any kind of the subjectivity comes on the next level the relative subjectivity and all that stuff what you want is a nice dry layer that does exactly what it needs to do and everyone can get to it and it's super generic uh and everyone can get to it leads to my next question sorry you're about to say something and that's the chain thing how many what chains are you guys on of course main net but what else yeah so I mean we're pretty much on every chain that's currently being used let me just like not being used sorry but has like developer activity uh we're on Main net obviously optimism base arbitrum arbitrum Nova polygon scroll Linea ZK
sync solo and then a bunch of test Nets as well good list of l2s thank you and and we're always growing it you know and sometimes people even deploy the contracts elves to other chains that we don't support yet and then you know if there if a lot of developers go there we'll amazing the Explorer on it and we'll like run our resources and you know an important thing that you mentioned before is that it you know that it had to be open source or that we did it open source it has to be right like I it I kind of look at this example like imagine if email was closed Source right and and then like everybody had to pay for it then you'd have like f mail and kmail and all these different you know versions and
you like oh which version of mail are you using and that doesn't make sense we wanted to really solve this problem and we're thinking like no one's going to so if we charge for it or we try to extract value at this at this layer someone else a different version of it and like we definitely don't want we definitely don't want that that just creates more fragmentation um so so okay so like as a developer it's like completely permissionless I can go ahead and I can integrate into my dap uh no fee to pay so it's free service as well and um so I know that you're public goods so basically um yeah not really extracting value from the users but just kind of providing it to the whole Community to use uh I'm curious like can you talk
about like we talked about the use cases but like how do you see EAS being used now like by developers like are there any use cases which you think are cool and being built right now um yeah just kind of how are developers using EAS today yeah so a lot of the use cases I mean many of the use cases have been around like uh gating certain things like so for example you know you have gitcoin passport right gitcoin passport they maintain all their scores off chain as like verifiable verifiable credentials however they have a tool if you want to be able to prove to some smart contract that you have some particular score you can pay gitcoin passport and they will make an attestation on EAS with your score with
your scores um so you're now able to like you know bring your uh you you know your gitcoin uh score or gitcoin passport score uh to to for example use it and like a gated airdrop and so that like you know prevent sibl uh from attacking attacking it uh same thing with like coinbase coinbase has like a massive Pro program called coinbase verifications they've made like almost 700,000 different attestations uh for different uh coinbase users and they and they have a bunch of tools like like base paint and uh they they offer like for example if you have a coinbase uh one of these coinbase ad stations you
get like uh uh you can use the faucets like much more often and you get a lot more uh from the faucet also there's coinbase one attestation I believe if you have the coinbase one attestation you get like some of your gas fees subsidized um we have like platforms like um uh receipts XYZ which allow you to like bring all of your like web 2 Data to web 3 so like they will you know they have like an ooth setup where like you connect to your like for example uh to your straa account and then you have uh attestations being made about like how many miles you've run or you know how far you've swam and stuff like that
um optimism attests to uh Global was attesting to uh like people who were like who were like meeting each other at like their the recent event in Brussels um there's it's actually like kind of crazy there's so many different platforms that are using it for so many different things um a lot of it a lot of it has to do with with gating and I mean over time you know as more and more people attest and entities attest you start to have this kind of like rich like data that can used for so many different things and uh you know it it ends up being kind
of like a chicken or egg problem because you can't really build a lot of the platforms until the Attis stations exist but now they're starting to and so we're seeing like lots of growth um you know a like I think three months ago or two months ago we were at like 1 million attestations and now we're like four and a half million attestations like and this is you know we've only been live since uh you know 2023 in in in March you know we launched at e Denver so uh you you mentioned uh like attestations for how good of a dancer you are let's pretend like we're a developer and we're building a dancing platform and we want to attest to your dancing skills uh as a developer we would go set up a schema we
would say you know this this is you're gonna we're gonna have a name we're gonna have a dancing style and then we're gonna have a score and that'll be our schema and and I probably could do that even from ether scan that that scheme is probably super easy to set up and then as a developer now I want to start sending attestations into your system I would have to write some code to have them uh uh uh basically I would have to write some code to prompt them to sign that information probably something so so I would fill in the schema and then i' have them sign something and then I'd send it to your contract but could we get in a little bit more of like I'm a developer I'm building a dance app and I want to start sending these attestations on chain do you have an SDK do I talk to
your contractor so so I mean there's multiple ways to do it right so we have a schema Creator right in the Explorer so you can like literally set up the fields and data types right there deploy the schema and then you can click on the schema and then just start a testing right in the UI uh to the schema that you just created um so you can do it that way or you know you can a developer can build like a nice react app uh with appropriate fields for the specific you know like maybe like pre-filled boxes for different dance styles with icons for showing you the the different dances and uh you know the attestation would just automatically happen and the user just gets this really nice interface and then they can you know point the user to
the ass station on EAS when someone wants to verify oh this actually is an attestation on EAS uh but in general like developers will probably be building on top on top of it building uis on top of it it's kind of like um you know you can use e the Explorer to attest but it's kind of akin to like using Unis swap with ether scan but like a little bit a little bit not as bad but depending on how complex the uh the schema is so so no SDK is that right I I would oh yes there is an SDK there is an SDK right there's a typescript SDK okay okay that's probably what I would use if I was building it I'd probably go grab your SDK and kind of look through your docs and I'd probably make the schema
raw with the editor because I only need to do that once but then having them fill in and sign the SD kit or the having them fill in and sign that type data I think I'd go start messing with your SDK and see if I can bring it in my react app or something exactly that's how you would do it cool okay so that brings up the next question and let me see if I can bring it on stage is that true you uh you guys made an EAS is true app uh by forking scaffold e which is this is really cool I love love to see Forks of scaffold eth in the wild uh but could you tell us a little bit about uh is that true and is vitalic actually seven feet taller um so yeah so we were thinking about when we were coming into coming to
Brussels we wanted to just uh build we wanted to build some an example application for developers because we we were um we were at eth Global and we were um we were just helping developers use EAS and uh we wanted to give like a demo application that was newer we we previously made one called met IRL which is like a cool application allows anybody to like a test to someone that they met in real life and then the other entity to respond and say yes I did meet this person um but I wanted to I wanted to create a another simple application that you know had some server side stuff going on um and so I was like all right like you know I can I can you know build a next JS app from scratch or like you
know I can use something that's already there that already you know has everything all plugged in and so I uh you scaffold eth and and put this together you know quite quite quickly actually probably like an hour or two that's um and so uh the idea with this application is you write some sort of statement um you know true or false and the statement gets sent to the to the server the server sends it to open AI uh you you can actually if you click on any of these so there's a view attestation details on any of these and you can see this is the offchain attestation it just decoded in your browser and you can see there this is the schema uh to testing to the model the validity
the validity can be a few things it be like valid like it can be like invalid it can be like V like vulgar like unur and uh yeah so this this makes it super easy that you can just share this off and we did it with offchain attestations because we wanted to just make it free first off uh and just make it someone might ask a question that they don't necessarily want on chain but imagine right imagine you're writing an article and you make some sort of statement and you want to be able to like you want to kind of be able to site it uh but without having to you know like cite it from some other website somewhere else I can say you know vitalic is under seven feet tall
and then I can take this attestation off station as a URL and just post it as a citation and then someone else can see oh well the address that signed this was actually this company that you know is Ed and and runs this llm and does this additionally uh you can also attest uh up vote and downvote the attestations and what that does is here yeah yes so if you upvote the attestation or downvote it what happens is you actually make an attestation referencing the initial attestation ID uh with with a completely different schema just a a schema that's like is true so um like so I'm not sure if any of these actually
have uh scroll down oh yeah there is one so there's a reference that's me right there oh yeah nice yep he I've met him in person he's not seven feet tall he's tall but he's not seven feet tall is under seven feet under he is under seven feet Yes I I can attest to that nice awesome okay and uh I would love to uh get this uh you should just link to this so we can throw the this in the notes if someone wants to for this specifically it'd be cool if they could take this and Fork it also just to see how you built the app uh on top of things absolutely yeah um we have the uh we have it public on GitHub so great
able to find it I'll steal that link from you and we'll throw it in the notes sounds good uh yeah we will'll add it to the the description below uh I also want to talk about um yeah so I know you recently launched transitive trust uh which is from my understanding like an algorithm for reputation system based on your closeness but I'd love to hear like your explanation on like what transitive trust is like how it fits it together with e all right so it's super important like if you want to be able to solve decentralized identity you have to be able to understand like you have to be able to have something called relative relative trust be able to derive how much do I
trust this entity based on how much I trust other entities right rather than just trusting a single uh you know a single entity to tell you how much you should trust everybody which it doesn't make any sense or you something that's a little bit more natural right like for example if I if I'm looking for a plumber you know I can go on Google and find like what people are rating as a plumber but I don't know if those reviews are real I don't know if the those guys even know what a good plumber is right but if I ask my friend and they give me a recommendation for a plumber that has like a lot more you know there's a lot more trust there and even if my friend's friend recommends somebody there's some value there too right but as you go like a few hops away
it becomes really hard to make sense of any of this right so um we built so before we built this we were looking at all these different algorithms that existed uh that were that that people have been using to calculate uh scores for for for different types of uh edges which could be attestations or any kind of uh signals um and we you know we we we messed around a lot with page rank with with igen trust which has nothing to do with igen layer it's just a it's one of actually the the biggest ones like there's something called open rank I believe it uses igen trust as well um the thing about igen trust is this was
an algorithm that was built in 2003 specifically for deriving reputation of of of uh Cedars and leechers in a bit torrent like filesharing Network right and so it wasn't really built for something like deriving like how much you should trust somebody and because the when you're when you're deriving the scores uh for the file sharing networks there's multiple points of verification uh so like you know it's not you're not just relying on you know one what the one entity is saying that this person's uploading or downloading you're getting it from like a bunch of entities so it works in that type of system and also it's not super Mission critical if like you know one person
gets like a high reputation even though they've just been like leeching from everybody like okay you're gonna like lose a little bit of bandwidth but you're not going to lose your house and so um these algorithms when you uh these algorithms have like these properties that you know make them uh not super useful for deriving reputation because there are cases where say for example I want to say that I trust you but if I do that somehow I will lose some of some of my score and and that just makes no sense like that like you need to be able to have a scoring mechanism that doesn't necessarily change when things like this happen and so we started we we built this new
algorithm from scratch um and it it deals with specifically given that I trust you and you trust someone else and that that person trusts someone else and then I have other people that have trusted some other person that trusted somebody else that maybe also trusted that person and then maybe I have another person that distrusts that person how do you derive like how much should I trust this other person in the network from my perspective not just from the global perspective and so uh this algorithm is really fast it's much faster than I can I can trust for for things like this and uh it it actually it actually works you know um Jacob Jacob kerm who worked for us he's also actually my my cousin he
actually wrote this algorithm and we released a paper a few weeks ago um and uh yeah I mean like we're we're we want to have more and more people kind of um look at the paper and and test it out and uh you know it's really it's really amazing though because I've been since 2020 actually uh I've been playing around with these types of algorithms for deriving relative reputation and have never found a single one that that had that gave you scores that made sense and this one actually does so it's definitely something that cool to play around with and it it's not necessarily related to just attestations you can use any signals uh maybe it's like you know transactions that you're that you're
using as um as edges uh but it's completely open source uh and you know we think it's you know state-of-the-art for deriving reputation relative reputation so your cousin's the math nerd the graph the graph scientist he is massive math nerd and and all of this stuff that you're talking about is kind of a layer up once you have EAS and you have the dry system that works and does exactly what it needs to do and lets anybody attest to anything that's like step one then it's like all right now we need all of this relative trust stuff and this graph Theory stuff trying to almost like get yourself some product Market fit with the thing that is already kind of doing what it needs to be doing one thing just to ju uh just to be like um transparent we're we are not
we actually don't plan to like we're not planning to build or use like EAS will not derive scores for people right that's not that's the point we're just releasing these tools so that other people other entities can derive reputation in their own way um we're just giving people the building blocks so that we can actually really solve you know decentralized reputation for real right like I you know you know when ethereum came out everybody was like so sure that we're going to solve you know real estate and voting and all these all these things on the blockchain but like if you have no solid reputation you know you you can't solve this problem and like before EAS imagine I wanted to say like I want to I wanted to find some sort of way to say I trust you or I met
you like do I hire a developer to build a smart contract that like just allows me to make this kind of intention like it doesn't make sense and that's why it it required this primitive and also why I think you know um and I didn't mention this so optimism implemented EAS into the op stack so every chain that deploys with the op stack automatically has uh EAS built into it because they thought that it was such an important uh tool that it should just be built into to the chain and so like on op stack chains the address for uh EAS is like zx42 all Zer and like two and 21 um which is pretty cool makes it easy to use and and know
that you're working with like a legitimate contract like you said when people are deploying their own chains they're kind of deploying some of your contracts it's just a set of smart contracts and a protocol like it's just software that runs on top of it and anybody can Fork it and use it that's pretty cool we need I was thinking reputation we need a reputation system for like stakers solo stakers for a slido and somehow be able to attest to out or something but that that would take a whole system of of weird math figuring out pings I don't even know what it would take so uh Eda brought something up really uh interesting earlier that I want to ask and that is privacy like all of this stuff is kind of like public and out there and maybe it's just a bite string and it's
not I mean I think you just decrypt the bites and they show up right so does ZK Tech come in here how how are you guys thinking about privacy and attestations and zero knowledge is that it's kind of coming into like mainstream like users can actually use EK Tech now so we've built some tools for that right so um so for onchain attestations right the data is public but you know what you know you like the way you encode the data like for example uh we built a tool called uh for for private data for private data and and selective uh being able to selectively reveal uh private data so imagine um some uh some Med some some like doctor's office attests to all of
your medical records right uh and then you want to prove to some to to another doctor like that you received some or the insurance company that you received some specific treatment right um how do I prove that without revealing all of the data and so uh we built a really cool tool we we implemented into the SDK and the uh EAS scan Explorer um and the way it works is you can you can basically attest to infinite amount of data we meriz it into a Merkel root right and the only thing that goes on chain is just the Merkel root right and all of the all of the leaves are salted too so you can't like brute force them um and uh you're able to if you want to
reveal some particular uh piece of that data like for example one particular treatment you can just show that leaf you just all you do is you basically just show that leaf to the person who needs to know and you give them all the side hashes right and you don't have to manually do this it just you know SDK handles this and then allows you to verify that oh actually this was attested to by this you can see that it came this acation came from this entity to this entity and you so that's one that's one mechanism right um offchain attestations are private by default so like when you make an offchain AT to station like EAS has no idea about it even when you do it in the on the Explorer like we have no idea there's we have no way of knowing even when you're
sharing them with other people we have no way of knowing because everything happens in like the browser um and so like you can have Assist stations that are just shared on a need to know basis then also uh what we're working on right now is the ability to make zero knowledge proofs off of offchain ass stations and this has been really fun uh so imagine you have the government that attests to your birth date right maybe like your birthday Tim stamp and then now I can make a proof a zero maybe they attest to a bunch of other stuff too and I'm able to make a zero knowledge proof that I'm actually over 18 right without having to review any of the other data except that the attester uh was like the government or some entity that someone cares about so
this is something that we're we're actively working on and we've been making a lot of like good progress um and so we're like we' we've actually been me been using the risk zero implementation they open- sourced their proving code and verification code so we've been getting some pretty good progress with that and hopefully in the next couple weeks or so we can uh release something that everybody can use you you were talking about the government attest to your birthday or something and that reminds me of like well it reminds me of the nft craze and how we were talking about nfts being passports and instead they became thousand frogs they're now $1 frogs but but it reminds me uh the the government does attest to so many things
like you you have an RSA signature and your passport from a government signer and like all of this stuff is coming together and and like eventually this will be all mainstream and all of this stuff will just be like a utility kind of underneath the abstraction to people but this is like this is a a a base utility for attestations that I think the future in in the future All Humans will use they just don't know they just won't be knowing it right they they'll car they carry their passport around and yes it's an nft but they don't know it's an nft and yes it's on chain but they don't know what that means they just know they walk up and hit a thing and it lets them into the place right so uh backing all the way okay no go ahead were you gonna say something there let
me back up let me I was just going to say es will be successful when no one know no one knows that they're using it blockchain yeah yeah yep okay so it seems like an obvious home run application someone should build web3 docu sign the little docy sign links you get in the email you click a thing you go in you sign in it's all attested to e has everything there who's built it has is it out there yet I maybe some there's been some attempts but I haven't seen docu sign just get replaced by an EAS competitor so I mean we we we built like a schema called sign documents right and uh we even built a UI into the Explorer where you can just drag and drop any file it automatically hashes in the
browser you can write a little note and then you know make the attestation and then anybody else can see that attestation drag the a file into there and see whether or not the hashes match so we've done stuff like that um but but there we haven't seen like during hackathon we've seen like example applications like this but nothing full full featured you need the CEO you need the product person to say okay I can make this and I can go to humans where they are now right we're not asking them to come to blockchain we're going to go to them where they are and we're going to create this docky sign system that uses all this Tech but it just works for them and email and dynamic or something privy or something like that yeah it's such a it's such an important tool because today like if you doc you sign
like they can sign any of your documents if they want right like you're just trusting doc you sign as this like as a um uh not as like a notary that you know that they're that they're there witnessing this the signature but like you're not actually you're you're logged in with like a password you know like anyone can steal your password and start signing documents on your behalf like how much better would it be if you can use your Hardware wallet to make a sign a signature on a document and that's what you can do today with EAS uh just you know there might not be yet a beautiful uh front end application for this but it's actually quite simple to build um I think there are like really good next steps for developers like
especially like to build the apps we just talked about like doys side uh but also you mentioned like to look into transitive trust and like build around there uh the first thing there comes to mind uh is more around like building something for Craigslist like when you buy something it can be like you can have more trusted reputation than like randomly buying like a motorcycle or something um but Steve this was great uh I think there's a lot of nice next steps um maybe some last notes especially curious where people can find you I think you guys are like heatons just yeah thank you so much for coming on here today too thank you it's been great to be on um so uh the main website for EAS is ATT test.org and you can find like all of the developer resources and
and and documentation uh for how EAS Works example examples of things you might want to build example use cases um and basically everything you need to get to get started um I would I would start there ATT test.org [Music]
Related talks
- Bhutan National Digital ID: an Experiment in Civic Tech
- 👩💻 Web2 to Web3 🚀 - Week 1, Day 3: ENS, DEX, Identity, Inventory, Sybil
- Ethereum Attestation Service 🛠️ Building with EAS The base layer for attestations
- Season 3 - EP. 2 - Ethereum Attestation Service w/ Steve Dakh
- Ethereum Attestation Service: Unlocking Decentralized Identity
- Connect Wallet !== Sign In - t.mirror.xyz awkweb.eth
- ENS, Identity in Your Apps I Greg Skrill
- ENS 🛠 Identity in Your Apps
- Dev & Tell | trevormil - Blockin
