EFP & the emerging Ethereum identity stack
ETHCC 7 · 8 Jul 2024 · 23:02
Brantly Millegan, former director of the ENS core team and creator of Sign-In with Ethereum and the Ethereum Follow Protocol (EFP), argues that identity on Ethereum should be a stack of focused building blocks rather than one app, because identity is many hard problems. He describes how ENS grew from a naming system into a web3 username and profile. EFP, he explains, is a social graph where any Ethereum account can be followed without signing up, with follow lists stored on a layer 2 of the user's choice and optional tags. He lists feeds, filtering and web of trust as uses and demos it on a testnet. In Q&A he covers blocking and says over 50 launch partners are using EFP.
Speakers
Topics
From ETHCC 7, hosted by Ethereum France.
Transcript
Beautiful. It's working. All right. Hello, everybody. Thank you for being here. I am Brantley.eth. And I'm going to be talking about Ethereum follow protocol and the emerging Ethereum identity stack. Alright, so just a little bit about who I am, real quick. So I am Brentley.eth. This is my profile pick. I like what I use like on Twitter and on different apps and things like this. I'm the former director of the ENS core team.
I'm still very involved in ENS. I'm a delegate in the DAO. I'm going to be a key holder on the Security Council. Still very involved in that. I'm also the creator of Sign with Ethereum, which is an authentication standard for signing in with your Ethereum account that complements ENS. I'm also the creator and lead of Ethereum Follow Protocol, and that's what I'm going to talk about today. So the idea of using identity, I'm sorry, using Ethereum for identity goes back to the very beginning.
And really, of course, using blockchains for identity goes back before that. I mean, people were talking about things with Bitcoin. You know, was an identity project. That goes back even before that. So the idea of using blockchains for identity goes back a long time. And a lot of early attempts uh kind of thought of identity as an app. Like people would say that they're building identity on Ethereum. And that meant they're building a particular app that will kind of try to do everything that you wanted to do with identity on Ethereum. And you probably haven't heard of them because they all failed, and that's okay.
You know, people try things, they don't always work out. And in my opinion, the reason they failed, or at least a reason, is that identity isn't a single hard problem. It is like 20 hard problems, maybe a hundred hard problems. And if one team sets out to try to solve identity with Ethereum, maybe if they're like really smart, they'll solve like five of them, but they're not gonna be able to solve all 20 of them. And you end up cutting corners, you end up not getting really what we want, and it's people don't adopt it. Um, and I this is a key thing about just web 3 in general.
Building things in a decentralized way is way harder than in web 2. So a lot of people are like, I'm a web 2 programmer, I've done this before, I can just do the same thing in web 3. Whoa, way harder to do. Uh and a lot of people underestimate that. So, what's the solution? Well, um, what I think the solution is is actually inspired by the success of ENAS. So, ENES is a project I I used to be very involved in, and um ENS is arguably the most successful identity app so far. What's funny about that though is it did not start as an identity app. So it began as just a naming system for decentralized websites.
I'm talking like way back in 2016 when Nick Johnson was first conceiving of this, and as a result, it was modeled after DNS, the domain name system of the internet, so DNS ENS, right? And a lot of the architecture for it is very similar. Um, and then it kind of got into naming for payments, you know, very quickly. That's so it was like ENS as D web and payments. That was the idea. Then years later, in 2021, which now was a long time ago, but it was a long time into the history of ENS. We realized that ENS was actually, like accidentally, what we had been building was your Web3 username and profile.
So that's what people were actually doing with ENS. They were using as de facto their username kind of to represent themselves in Web3 in crypto. And so we realized we had accidentally built an element of like an identity stack. Now here's stack. Now here's the thing about ENS. Does ENS do everything you want to do with identity? Of course not. It just does one part, just names with data attached to those names to be like a profile, and that's it. And by the way, just doing that is really, really hard. And getting that to be you know successful to get used, extremely difficult.
It's kind of a miracle that ENS is even where it's at so far. And that's all it does. So remember, not trying to solve 20 problems or 100 problems, just trying to solve like one or two hard problems. ENS uh has done that. In fact, we realized that the username is actually the meta use case for all the other things that ENS does. So it's like, you know, your your website, your decentralized website, well, you just go to your name for your page, right? You want to send somebody crypto, you just send it to them, like their name, right? So then in 2021, kind of thinking about all this, um, this idea that your Ethereum account uh can be used for your your identity with ENS, is that will then you can use it for authenticating to services, both crypto and non-crypto services, by the way.
And at that time, people were doing this, but there was no standard. People were rolling their own uh signing messages, which is terrible, it's very insecure. Friends do not let friends roll their own signing messages. Don't do it. There is a standard EIP4361. If you want to have somebody sign in, so by the way, this is a difference between connect wallet and sign in. So connect wallet, you're just letting the web app know that your wallet exists and it can propose transactions for you to approve. And if that's all you need the user to do, you just do connect wallet. Sign with Ethereum is if you need to authenticate to a server, because like maybe you're storing private data for that user on your server, and you need them to authenticate that it really is this wallet, then you use EIP4361, use that message.
Not only is it more secure because whatever you're doing, it's probably wrong. We've thought about all the mistakes, okay? Not only that, this standard is recognized by major wallets. So like when MetaMask sees an EIP4361 message to sign, it recognizes that this isn't just any message signing, it's a sign-in request and actually calls it that in the UI. Rainbow also does this, so it's actually recognized as a sign-in. Because by the way, should users just be signing random messages? No.
So don't have them do that. So basically, then what's signed with Ethereum is like, okay, we have another piece of the puzzle, authentication, right? It combines with ENS, because you can use that as your username and profile. So what at least this is my vision. Um what's worked so far is basically building out pieces of identity individually, and then your identity is not an app, it's just the sum of all these pieces. Okay? So Web3 identity is the sum of the information relationships held in various decentralized protocols and open standards, which I call the Web3 identity stack, or you call it the Ethereum identity stack, either way. Because uh Web3 is Ethereum, is the Ethereum ecosystem, basically the important part, right?
Okay. So in doing it this way, the identity stack itself then is decentralized rather than being vertically integrated. And I think this is a good thing. So we're different teams are working on different parts. Um what has happened, what has been successful so far, and what I think is the better path going forward as well, is for us to unbundle the elements of identity to their smallest viable parts and have separate teams solve them individually with decentralized protocols and open standards. And by the way, if your team is just focused on the one piece, it's much more likely that you will have success in solving it without cutting corners.
Because you're just trying to do that. Don't try to boil the ocean, just solve that problem. The the other benefit here, then is that each part can stand or fall on its own merits rather than being an all or nothing proposition. So let's say in this identity stack, if it's vertically integrated, maybe you like this part and this part, but you don't like that part, but because it's vertically integrated, it's all or nothing, you you have to take it. If we decentralize the parts of the identity stack, maybe you like that part, but you don't like that part. And so you launch a competing service for that part, or somebody tries this but it fails, or something like this.
And because it wasn't linked up to the other parts, the other parts live on. There's a lot of benefits to not making the whole identity stack uh vertically integrated, but rather making them different pieces. So that is what has been successful thus far, and it's what I think uh the right approach is going forward, which explains um why I'm doing what I'm doing. So I made this uh diagram just to explain how I think about the current Ethereum identity stack. This is not perfect. You might say, Oh, that should be on there, or I don't agree with that, but it's just an idea. So, of course, you know, the base of it is your private key.
I know people might say, Oh, we're trying to get rid of private keys or something, but you know, right now this is what we're using. Your wallet um is a private key management program, is what a wallet is, and the current uh way people have been thinking about wallets is as your crypto asset manager. I think this is changed by the way to include identity, but right now that's this is the current state. And then you have off-chain uses of your private key, because by the way, you can sign things off chain once you've got that private key. So things like authentication that's done off-chain, you know, snapshot like for voting and DAOs and things like this, you know, your your decentralized website that's also off-chain.
And then on-chain, you know, you have your ENS profile that's your name, you know, maybe your NFT, you have different assets that you own, you have your on-chain history, that's part of who you are, by the way. Like we've all done this. Let's say somebody uh does something on-chain, you want to know who the heck is this person. Well, you pull up etherscan, what tokens do they own? What NFTs uh do they own? What have they done? How long have they been around? What other wallets are they connected to? This is part of establishing who you are, what roles do they have? Are they in different multi-sigs? Are they uh um a delegant and a DAO? This all again adds up to your identity.
This is where I hope uh the identity stack go towards. So we still have the private key, but then I think wallets should be reconsidered as Web3 identity managers, and that your assets are just part of kind of who you are, but it's just one piece of the puzzle. So, like I said, you're still doing all these other things. Messaging is on there. There's a you know, you know, there's XMTP, there's DM3, there are some major attempts going on there. XMTP is doing a lot of great work. You know, privacy, we have to work that in somehow. That's a hard problem with blockchains.
And then, of course, here, EFP, Ethereum Follow Protocol, it's like your connections or your social graph. So, again, this idea we have components. One major component that's missing is social graph, so that's what I'm attempting to build with Ethereum follow protocol. That would be on the on-chain side. So let's talk about Ethereum follow protocol. What is it? It is an on-chain social graph protocol for Ethereum accounts. It is designed to complement the existing elements of the Ethereum identity stack like ENS and signed with Ethereum. And so far, our small team has been funded entirely by the ENS DAO. So the ENS community has been very supportive.
Um, I think because they recognize that if EFP as a social graph uh is successful, that it strengthens the value of the entire identity stack of which ENS is a part. Um, this is just a little bit of one way this information can be put together. You see, you know, let's say I connect my wallet to something, uh, or I'm looking at somebody else's account. Well, I've got my ENS name, I've got my NFT avatar in my ENS profile, I've got this new thing, a follow button, where I can maybe follow that person. I can see how many people they're following, who's following them, um, and I can see you know who else of my of who I follow follows them, so who of my friends follows them.
This to me is a much richer uh set of information about who this person is. So how does EFP work? Uh very simple simply. Uh what you need to know is the first thing, actually, number zero. If we're gonna count like in uh in code, if you have an Ethereum account with EFP, people can follow you without you doing anything on EFP. So with EFP, we don't have special EFP accounts. You just use Ethereum accounts for EFP. That means if you have an Ethereum account, even if you've never heard of EFP, other people can follow you. So the first time that you ever see EFP data, you might actually already have followers.
In fact, my my plan is that when we launch, which will hopefully be soon, I plan to follow as many people as possible. I I want to be like the guy like Tom of MySpace who like follows everybody, and hopefully you guys will follow me back. Um you'd be like, whoa, like all right, I already have friends on this thing, you know. Okay, so that's that. And then if you want to follow people, you want to do an action, you first mint an NFT that represents your list. You specify a storage location, so we let you store on an L2 of your choice. You then store follow and tag operations so you can follow people, you can also tag, um give them tags so you can say, well, this person's my friend, or this person's uh um somebody in the ENS community or this community or something like that.
You can kind of tag people of different groupings uh with tags. What are the use cases? You know, things like context and contacts and messages filtering, on-chain activity news feed. Um, but I think the biggest thing is this idea of web of trust. So I think EFP can provide additional information for who an Ethereum account is. So, for example, let's say I'm on Twitter and I see my notifications, Vitalic.eth just followed me on Twitter. Wow. Like I've made it. I'm finally getting the recognition I deserve. Okay, I have to be careful how I tweet now because like Vitalik's gonna see it. Okay, right?
And then you know I click on his uh profile pick, takes me to his profile, and wait, I'm confused. He only follows 10 people. Oh wait, nobody follows him. Nobody I follow follows him. Oh wait, what did I what I just realized? It's not the real Vitalik. How do I know that? Because this account is not embedded in the structure of relationships in the crypto community. Because here's the thing. Um, I could get a name that looks like someone else's, I could follow, you know, other people. Something I cannot fake, I cannot fake other real people following me. I can't just spin that up.
I'd have to convince them to do it, and that's a very high uh likelihood that I'm a real person, really who I say I am if there's other known people who follow me. So I tweeted this. Uh, this is one way I think about it. Uh, we have name with Ethereum, we have sign with Ethereum, and now we want follow with Ethereum. Okay, now I'm gonna do a quick demo. So this is on testnet. We have not launched yet. Hopefully, we will launch soon. And uh, you may see, you know, our web app uh may have some imperfections about it, but you'll get the idea. So this is like a home screen.
You can see here I have all these later followers. Wow, the center.eth followed me, jackflash.eth follow me. This is amazing. Uh, here's some other people here I could follow. I can go to my profile, see those followers. I can see who I already follow. And if I click here, tags, I can see how I've tagged them. You know, Jalil dot ETH, you know, I know him in in real life, so I've tagged him that way. Krista.eth, that's my wife, so I've tagged her as family. I can tag people however I want. Let's say, you know, I want to follow some new people. Um, okay, so I'm gonna follow this guy, Nike Air Jordan, that's cool. Encrypted DGen, okay, yeah, awesome.
Euro millionaire, okay. Yeah, I wanna be friends with people like that. Okay, so I'm gonna go here. So the way this works is because I'm storing this on-chain uh on an L2, in this case, uh base SupoLia. When I click follow, I don't immediately follow the person, and I also don't immediately trigger a transaction because that'd be terrible. What it does is that action goes to a cart here, unconfirmed changes, and I can add up a bunch of unconfirmed changes and I can confirm them all in bulk. So there's just one transaction, or if I'm following a huge number of people, it might be like two transactions or something, but it's much better uh UX that way. So here we have recommendations.
Oh, okay. Oh, validator.eth. He's on the ENS core team. I'm gonna follow him. Follow this person. You know, I'm gonna let's just do Vitalic.eth. Let's add him here. Does that work? Let's see. There he is in the cart. And um I'm gonna go to uh let's actually not follow that person. Let's go to this person, their page here, and I'm gonna block them. Yeah, I don't like this. Steven Malone, woo that I don't like this person, I don't like the way they look. I'm gonna block them.
You'll notice that the way you block somebody is you really just follow them, but you add the tag block, and that's interpreted in our system as a block. So I'm gonna go to confirm and it's showing me what I'm gonna do. I have seven list ops, list operations, because I'm, if you go back here, actually. Let's cancel. I'm following one, two, three, four, five people, and blocking a sixth person, and then there's that tag. So when I'm done, I will add five followers. This should say 14. So let's see how this goes. Initiate.
Transaction needs approval. Confirm. Transaction pending. It's done. All right, now I can hit finish. Boom, there you go. Now I'm following 14 people. And if I go to my block and mute list, I can this new person, Stephen Malone.eth, there is blocked along with these other terrible people. Okay.
There you go. All right. Hey, any questions? Anyone want to raise their hand and ask a question? Anything? How do we thoughts uh stable chain? Good question. So all list operations are saved on chain. So the way we store list records is that if you follow someone or unfollow them or tag them or untag them, these are just like operations that get saved to your wherever you're storing your list. And then if you want to know who somebody follows, what you do is you take their whole history and you just like run a script that sees like the current state. And you might say this would never work on L1, correct?
Which is why we're doing it on L2s where it's actually very, very cheap. Somebody had their hand up in the back. Yep, go ahead. Yeah, I was just curious what your thoughts are on like the trade-offs or pros and cons of this over something like Lens Protocol. Yeah, so uh Lens is great. Um they're more vertically integrated. So a big difference here is that one, this is in the Ethereum ecosystem. Uh number two, it doesn't try to do anything else other than social graph. So it doesn't have its own naming system, it just assumes you use ENS, it just assumes you sign with Ethereum, assumes you use everything else.
And so this is meant to complement, fully complement that stack that already exists in the Ethereum ecosystem. So when I'm following somebody, I sign it with uh with my key, which means it's like this Vib of Trust. It's like PGP, right? It's like GPG PGP of trust on chain on VIP3 native. Yeah. So I kind of hope this is like web of trust that actually ends up working. So Web of Trust is a great idea. It's been around, you know, it's just never really taken off. And this could actually take off. Hopefully.
That's the idea. I hope it takes off. Somebody else had a question over here, their hand up. Yep, go ahead. I think you just kind of does it require you having a same just subscribe to an arbitrary EOA address. No, good question. No, you do not. So we just have examples here. You follow Ethereum addresses, and you don't have to have an Ethereum, sorry, ENS name. Okay. So I'm just you showing examples of people who have ENS names set up because it's better uh UX. And I would encourage people to have ENS names, but you don't have to have an ENS name and you are actually following Ethereum address. So like when I've added Vitalic.ether, what I'm actually doing is taking his name, forward resolving it to his Ethereum address.
Right. We're actually following his Ethereum address, and then that's just displayed as his name in the UI, but it's all just the Ethereum account. In the NFT contract, that that's how it's mapped. In your in your list records, correct. Yes, right here. Uh yes. I mean, one tricky thing about smart contract wallets is that they work in a particular chain. Although my understanding is some people are working on trying to make them cross-chain. So right now, you know, you'd have to deal with that. So we have we'll like have our core contracts on one place. You probably want to be storing your records on the same chain. Um, but yes, otherwise it just should be no problem.
I'm sorry. Great question. Um, so that is up. So what happens on EFP side is that you followed them with a block tag, and that's interpreted as block. What that means in a particular app is up to that app. So we have over 50 launch partners who are using EFP in different ways, like you know, for a feed or for showing who somebody is or something like that. Any app can take the social graph as represented in EFP and use that in their app in the way that makes the most sense. So, what block means in a particular app might mean different things.
It might mean you can't see that person at all, or it might mean you can kind of you can't do certain things. In our manager app, all it means is you just showed up as blocked. But ultimately the social graph uh means whatever it means in particular app. Yes, follow it. Good question. So on a protocol level, they can still do anything they want. They could still follow you, they could block you back. Um, this is all public. So I actually think this will be one interesting thing we'll have as a leaderboard for not only showing like who follows the most people or has most followers or most mutuals, but also who is the most blocked. And like I think that's awesome.
Like the bad boy of crypto can be like who is the most blocked, you know. Anyway, I think my time's up. Thank you very much, everybody. You can ask me questions afterward.
Related talks
- Lessons from 10 Years of the Ethereum Identity Stack
- We Finally Have the Elements of an Ethereum Identity Stack
- The Grand Vision for ENS
- Weekly web3 news: Solana outage, Farcaster record, GoDaddy x ENS and ERC404
- ENS Domains | Brantly Millegan (Meet the Nation)
- ENS, Identity in Your Apps I Greg Skrill
- Identity for Apps, Agents & More with ENS
- The Next Era of ENS
- White Chocolate - Digital ID: Today's Dreams, Tomorrow's Reality