Stealth Addresses for Everyone: ENS as the Universal Stealth Meta-Registry
Devcon·Sun, Nov 8, 2026, 12:00 AM
Transcript
[music] [music]
Thank you. So, yes, these are stealth addresses, actually real stealth addresses. So, thanks for um coming today. Uh it's the last day of uh Devcon, so that means double to me. Today I want to present you what uh we will uh we have been working on uh in the last few months.
That's going to That's basically an evolution of what we've done in the last 3 years. And everything I'm presenting here is a public good uh granted by ENS. So, let's start exactly from this point. So, first of all, uh uh this is not built You're seeing me now, but this is not built by one person. The code uh presented has been uh coded by my co-founder, Moritz.
He was not able to make it this year to Devcon. Uh I am the CTO at Fluikey. I built uh all the infra and the current stealth address generation in Fluikey, and I'm part of the reviewer team. This has been uh funded by the ENS DAO as a public good, as I mentioned. But, this is also been shaped by many people in uh the ENS community.
The story I want to tell you about uh and the project has two main characters. The first one are stealth addresses. Now, uh raise your hands, who knows uh what a stealth address is? Just to get me a sense of how familiar we are. Okay, perfect.
Uh I will give a little bit of a recap. I'm not going to deep dive in stealth addresses, otherwise I would need uh uh the full hour, not 20 minutes. But, I have done a um a talk also uh like we were saying uh this week uh at the Cyberpunk Congress. Uh I did one at EITP, and you can find that online, and I will link at the end of the slide. Now, uh stealth addresses are addresses that uh looks like regular addresses, but they are not exactly regular addresses.
I mean, they are of course regular addresses because that's the only thing we can have on on a blockchain, no? But from outside, they look all complete different independent separate addresses. But under the hood, they are all controlled by the same person and by the same private key. And we'll see a little bit later how we uh that happens. And anyone can generate the address without knowing the private key controlling them.
And this is probably the most interesting aspect of this because I can generate addresses of a person and pay that address knowing that only that person can move the funds. To do that, you need two keys and one public listing. One public listing because if I am the payer and I want to pay someone, I need to find somewhere what's the public keys and we'll see what we need. The meta start addresses are called where to pay the user. And that and there and there are two public keys.
So, there is one spending key that is the key that then controls the addresses. This is the magic private key that then derives all the private keys to control the other addresses. And then there is a viewing key that is used to find payments made for me on the blockchain. Okay? Because there's a problem here.
Remember we are in a decentralized trustless world. Okay? I don't want to say to the blockchain, "Hey, this payment is for Alice." Otherwise, everyone knows that. I need to say that in an encrypted way.
And the viewing key is the second key that allows me to do that. Both of the public keys must be published and they are called the stealth meta address. Remember this word because we will need later. How payments works? This is the mechanics under the hood.
So, you have a this meta addresser typically the spending public key. You do some math with randomness, and this is how you generate different addresses because the randomness generating these addresses, and every time a new one comes out. And you end up with a new address. If you do this with a public key, you end up with a new address. If you do this with a private key, so the receiver, you end up with a new address private key.
So, if the randomness randomness can go from the sender to the receiver in a safe way, the receiver can generate the private key of the new address. And the magic is done. Again, I'm not going in the math here. Okay, there are talks about that, but just to get a concept, I think it's important in this talk to go home with concepts in mind. The sender is the one that creates the address.
The viewing key of the receiver finds it on the blockchain, and the spending key of the receiver controls it. Spending private key in this case, of course. And this is a standard. Okay, we it's not something we came up with. Uh the first implementation was made by Umbra, by the way, and this is what inspired us.
Okay, it's a it's a it's a work of public goods uh built over many teams around it. The first concept that I think is super interesting, and I'm sure this is going to shape how the blockchain will work in the next few years, is that the concept of one user is one address breaks completely. One user is one address per payment. And money stays there. Balance spreads across many addresses.
So, then when you need to pay out of those, it's kind of a new TXO operation. It's not perfect privacy. This talk is not about how perfect this private is, but definitely is much better privacy than the current setup. But where do these addresses come from? And here we are going to introduce the second main character of the talk, That's ENS.
Now, for who is maybe less familiar with ENS, I think everyone knows that. At least just for being here, they are sponsor at the at the main conference. So, So, ENS works like there is a an ENS name. When you enter in your address, uh it goes to a resolver. It's an an on-chain smart contract, and the resolver returns a static address.
This is how we normally think about ENS. ENS is what DNS is for the web 2. Okay, so allows me to remember a name and gets an address, either an IP or a blockchain address in this case. The same address the same every time. What does it What's the downside of that?
Is that it's a great identity, super easy to remember, but also a public bank statement. What nobody wants. We are in the year of social media. Everyone posts everything on chain, online, so sorry, not on chain, online. But no one ever wants to post exactly how much they have in their bank accounts.
And this what's the out the outcome if you have one static address revealing everything. But ENS has one thing that's pretty interesting. And it's called off-chain resolution. It's a standard. Again, we haven't come up with that.
And allows basically a name not to have the address hardcoded on chain, but to have this address being generated offline in a server, for example. So, how does it work the off-chain resolver? Basically, there is a wallet. Regular wallets, any wallets that implement ENS implement this methodology. If you input, for example, meet tony.
eth, and meet tony.eth is configured to work with a resolver off-chain, the resolver responds to the wallet, "Hey, I don't have the address on chain. Please check this URL. The wallet call the gateway, the server, whatever you want, uh, and gets back an address. Not just the address, the address with bunch of a verification data.
[gasps]
The wallet call back the resolver and said, "A, I called the URL you gave me. This is what I got back." Do I have to trust that? Can I Is this a valid address? And the resolver checks it and if it's valid says, "Okay, it's valid."
No? And this is basically technology used by currently flu key, but also cb.id, uni.eth. So, it's kind of a widespread standard.
Watch out because as of till now, before this ENSIP I'm speaking about, uh, easy mint trusted. What does it means? That, uh, the gateway decide, where the money goes. Because the gateway basically returns a different address every time in term in case of stealth addresses. And now this address I must to be sure that, uh, is connected, to the recipient I want to send.
So far, this was not possible. If there was a compromise in the gateway, any address can be returned. And this works also the same problem what with cb.id, not just stealth addresses. Okay?
And the wallet can't tell the difference. The wallet just receive address with some verification, but this verification so far had only the fact that was, uh, authorized gateway returning the money. So, the private key of the gateway was returning that money, that address, to the front end and with a signature basically verified on chain. Not that the address, uh, is really connected, uh, with, uh, the person I want to pay. This is a subtle, but very important difference.
So, today, if you go on, uh, uh, on the ENS app and you search for uh, an fkey.eth for example domain. Every time you refresh the page, all the addresses change. This is how an off-chain resolver works, returning always the address and never have those addresses written on chain, so they cannot be linked by someone else. What?
Okay. This is the work we've been done to improve this status quo. So, it's a ENS improved proposal that and allows to verify that the address returned by me is really owned by the person I want to pay. So, how does it work with this ENSIP in place? The wallet still calls the resolver.
This makes instantly compatible with any ENS integration existing. There's no change needed in the wallet. That's the least thing you want when you create a standard. Ask someone, specifically wallets, to integrate them. Can take years sometimes.
No, so there's nothing to ask them. Works. The wallet the resolver, of course, returns the the gateway URL, same as before. We don't change the CCIP read. The wallet calls the gateway and they ask for a stealth address specifically.
Okay? The gateway return the wallet the address plus the randomness used. Not just the verification that the address that No, the response comes from the right gateway, blah blah blah, but also the fact that there is the address and there is some randomness being used. The wallet sends this data to the resolver and now the resolver has a standard that allows it to read the meta stealth addresses on chain, redo the math combining the public key with the randomness and check the address generated. If the address matches, it said all good.
Otherwise, says no, there's a problem. The gateway is returning a wrong address. Don't accept it. And revert. And if the address is verified, that's that's good.
And there's no changing wallets. Sorry if I stressed this, but trust me, it's really important to have a some adoption on that. Technically, you can do that if the wallet implements something even better, and there are some wallets already doing that. You don't need a gateway at all. Since the meta stealth address is on chain, okay, the wallets read the meta stealth address directly on chain.
The wallets create the randomness. The wallets compute the address and pays it. And uh the wallets need in this case to communicate to the receiver on chain a I pay you not on this address will be too easy, of course, but using the viewing key we were seeing before. Two different approach. If you have a gateway, ideally the gateway index also transaction for the user or is the gateway of the user running by by itself.
This one is uh I don't need a gateway, but I needed to communicate to the user, so I need to publish something on on chain to tell it about. Watch out, and we will see in a second, this is possible only if there's a specific flag written on the on the or a registry. Now, where are these meta stealth addresses written? There's technically a standard for uh the the registry, but ENS is already registry. So, that meta stealth addresses are part of your ENS records.
On ENS, you can write your name, add a picture, you can do a lot of of things, not just addresses. And the keys is in this format, where schema is the methodology to generate the stealth addresses, because there's not only one way. I will simplify I simplified a lot, but there are many ways eventually to generate stealth addresses. And the coin type represent the blockchain. Every blockchain like in think about that as a chain ID, okay?
But this is extended concept concept of chain ID on chains like Solana that doesn't have a chain ID. And the value is a flag the public spending key and the public viewing key. The last two together are the stealth stealth meta addresses. The flag at the beginning and I'll show you an example is a byte to say a I want I allow wallets to generate the address on the wallet side and not only on the gateway side. Because if I allow that, I as a user needs also to scan the blockchain to find a payment received by me.
So this is a way for the user to say I want to receive also page generate only client side with addresses generated only client side or I don't want. Okay, this is just like a flexibility we added to the standard. Of course you need to make sure that this is like you you configure the coin type to make sure that you know access tell the recipient on which chain you accept that. And the flag is what I just told you about now. No about if if you want or not client side only generated addresses.
[gasps]
Uh this is a little bit of the code on the on the contact. At the end I left it's always published on GitHub. This basically says this is the few lines that make available the verification on chain so that I'm sure the address received is exactly the address owned by the person I'm trying to pay. And this cost zero extra gas and writes nothing on the blockchain. So if you also use a private RPC, this means that the address resolution never gets to someone that might leak in the future.
This is because of course when you call this function, that function is know who you who this address is owned about but only in this read function. To wrap up and get into the end, just a a couple of things of what are the limits and what is left next. Safe doesn't mean private, okay? A gateway that returns always the same address even if it says stealth address, it's fine. Okay?
What this makes sure is that it's going to be safe. I'm going to pay an address that I'm sure is owned by the person I'm paying because it's the blockchain telling me. Because otherwise, we would not need to hack the gateway the gateway. We need to hack the private key of the recipient and change the target address on on the blockchain. Change that record on the resolver to to change that.
The gateways sees who looks up who. What Remember that, okay? What private gateways we will see in a second, but sees that. So, needs to be something it needs to be a trusted entity or you need to run your own. And your public key is stays on chain forever when you publish that.
If and there's a big if, the quantum computers break cryptography and it's a if it's being luckily finally debated because it's important to have to have be aware of that. Well, the stealth meta addresses are published on chain so they can be broken. If you don't publish that, okay? Then you don't you lose this verification on chain, but also you don't expose your address to this to a risk of post quantum cryptography. So, again it's a trade-off of who implement that.
There is a if you want to be verified mode, so you want to use this new standard, the record gets published and there's no way to redirect redirect funds. If you just want to do what CBID or any off-chain resolver does now, you don't need to publish this new record and you accept the risk that if a malicious attacker attacks the back end, then you might be paying someone else or you as a recipient might not get the money that you were expecting. Um Self-hosting of this gateway generation If you run your own gateway and this is something we'd like to give in part of this ENS P, you can generate addresses on your own. So, we plan to generate one Docker container, the same technology now runs on our back end in Fluid Key, exactly the same, very simple. I I I allow I allow anyone to spin it up, define a public core, okay, and have the back end generate those addresses.
In this way, you can also generate in a pseudo-random way. So, the randomness can be pseudo-random, 0 1 2 3, okay? Maybe not that simple, but in a way that if your Docker goes down and you don't have a backup you just need to remember for which randomness you started and then you can generate from that point on all the addresses again in the future. And this stays private if you run on your own. Uh and anyone can run a gateway, okay?
You don't need like one gateway for all the ENS, of course, okay? You can decide to point your ENS or your sub ENS like pay.me.eth to a specific location. So, where we are now, we did the ENSIP 30, uh we did the contracts, there's no audit yet.
Next, we will audit the contracts, it's going to happen soon. Uh we will do the resolver kit as a TypeScript, we will do the Docker to self-host and we'll try to make sure that this is fully, you know, uh transparent and open source as possible. Fluid Key, for example, is a reference we're following now to implement uh this. Nothing to change in the wallets and uh the name owners need to do only one transaction and change to do that. Thank you.
Antonio, another great talk.
Thank you.
that you missed my own stealth addresses talk earlier, but for those who don't know, Antonio was here in Mumbai Monday. Then at 2:00 a.m. he had to flew to Hong Kong, and then he flew back here for this talk. And I think it will be an interesting thing for you to explain why you had to flew to Hong Kong.
Because there was another side event of EF specifically for Def Con, and they asked me to come there and speak about stealth addresses. So, there I give like a full talk just on stealth addresses and how they work under the hood.
Yes, this is literally going the extra mile to promote adoption of stealth addresses. Very well, we don't have many questions here, but we could do a panel just the two of us after we exhaust these questions on all all things stealth addresses. And yeah, let's start. Okay, so are stealth addresses compatible with post-quantum
Um, so stealth addresses, if you don't publish the stealth meta the the meta stealth address on chain, uh, you are already kind of post-quantum computing because every time is a new address, and every time you spend from that address, money will go away, and the leftover move to another stealth address if you want. Let's say a property you can get. So, this means that the public key is not of that stealth address generated is never on chain. So, that's intrinsically with a trick post-quantum resistant. If you publish instead the uh the the the stealth meta addresses to generate and verify on chain, then of course with this elliptical cryptography it's a problem, but with the work being done, I'm sure soon we will have a default for addresses that is post-quantum resistant, and you can perfectly integrate that.
Probably with a different schema not schema one, but schema two will be, but you can do that very easily.
Yeah.
Nice. And um Antonio, you said that there was not much friction for wallets to adopt stealth addresses, but we have a question here kind of poking into that area.
Yeah. Stealth addresses creation, they need some custom integration. Isn't that a bottleneck for adoption? Yeah, of course. They need a custom integration.
The same way when ENS came out, they need that kind of integration. And this is why we make sure there was a two option for the wallet and for the for like not requiring wallets to integrate something because that's the only way if you want to get to a wider adoption. But I'm sure that more and more wallets will integrate this standard. Others will will will follow. And then I think that's also a matter of niche.
Like if you're in a niche of people that care about privacy, you might know encourage others to install a wallet that integrate that. And you will do like majority maybe of your transaction, but still you are not like limited to this niche. You can still get paid from other people that use traditional wallets and use the standard gateway resolution. Again, gateway resolution doesn't block the wallet to wallet resolution. Okay, that allows that.
And this I think is important to maximize adoption while keeping good UX.
Nice. And now two questions about gateways. Perhaps we can merge them into one answer. So, are gate In this case, in your implementation, is the gateway point of failure?
Yeah, I mean, of course. Like we know that one gateway has visibility cuz they usually the gateway acts also as an indexer for the end user. This is always a trade-off of better UX than nothing. At the moment, anyone in the world that can steal your transaction. Here, just the gateway I think is already an improvement from the current status from the current status quo.
This doesn't mean it's perfect. This doesn't mean we cannot like do much better. This means, for example, that's the reason why we're releasing a docker is that if you really care, you can run your own personal private gateway and you don't need need it to trust anyone except yourself and the security of your network and of your gateway.
Nice. And will this role be somewhat replaced by wallets or with wallets?
Is gateway role replaced with what Yeah, kind of Yes, now I got your point. You mean wallets can basically generate those addresses on behalf of the gateway, 100%. And then maybe we still you still have a gateway to index those transactions listening in real time from the blockchain and the announcement of the new addresses generated. But yes, you whoever got this question got it right.
Cool, we got your last-minute question. Like, will this integration automatically help wallets to get stealth addresses if they just follow this integration that was presented?
Can the integration be merged with the standard ENS integration? So a new wallet integration ENS also Yeah, 100%. Cuz again, ENS we don't we didn't change how ENS works. We only change we only add an extra feature around ENS and that doesn't break one doesn't break the other and both can coexist in wallets.
Nice. And yeah, before we conclude just few extra questions, why not? Like tell us a little bit about your user base and how is it distributed around the world? And particularly I'm curious to know why is it so concentrated in a particular place?
Yeah, also since last year we got like a huge influx from Taiwan and Hong Kong. Different reason of these two areas. Taiwan was mostly because you know, we we don't we didn't provide just a stealth address wallet. We provide a full ecosystem. You can get like a bank account under your name and every time you on ramp money through normal ACH accounts, money goes to a new address and so on and so forth.
And this was like the simplest way to get a good privacy and move money internationally for people in Taiwan. While in Hong Kong, the main reason is privacy because you don't have all your network there in one place. And that's by the way also the reason why I personally built a this wallet because I was kind of pissed off of not being able to pay a dinner with friends in crypto because I didn't want to expose my own network just for paying a small dinner with with friends.
Thank you for your talk Antonio and thank you for your service. If you want to know more stuff about the stealth addresses, check Fluidkey, check
[music]
Automatic transcript — names and jargon may be misspelled.