Building the Ethereum Universal Signer

Devcon 8 · 6 Nov 2026 · 23:12

Nicolas Bacca, co-founder of Ledger, presents the Ethereum Universal Signer, a minimal modular Rust stack that decodes and signs Ethereum transactions for hardware wallets, supports air-gapped QR exchange with ERC-4527, and proposes verifiable signing, which shows a hash of the application before clear signing. Bacca shows the same code on several open devices, with AI agents writing parts such as an e-ink interface, then weighs do-it-yourself against shipped wallets, genuineness checks and implants. One defense splits a seed so 12 words show on screen and 12 travel encrypted to the host. Q&A covers ERC-7730 clear signing and post-quantum signing.

Speakers

Topics

From Devcon 8, hosted by Ethereum Foundation.

Transcript

[music] >> So, thanks everybody for being here. Uh let's get started. Uh today I will be talking about building the uh Ethereum Universal Signer and let you know a little bit more what this is. So first, why are we doing this now? It's a good question. Uh there have been a few incidents in the hardware wallet space that you might have noticed. Uh Coldcard, we don't really know how they generated the entropy. I mean nobody cared to check. Ledger had a supply chain problem with an implant that was very smartly designed to to steal money.

And Keystone lost their genuineness key uh among another incident. And the common thing about all those problems is that they took some time to be detected and they are hard to check. So well, the good news is that AI is changing everything uh because agents can write firmware, can almost do a PCB today. They can design cases, they can flash, they can test, they can do a lot of stuff. And actually they are much better at designing code that are designing pictures now because well, you can't really tell that the code is slop nowadays or the pictures are definitely very very much slop. Uh so you can build your own hardware wallet. It's a hobby.

And everybody can be your own hardware wallet vendor. Uh so yeah, and it is even proven by statistic now because uh between 2014 we had Trezor which was DIY from the beginning and I have seen a few people building Trezors on the ESP 32 on the open hardware stage. Uh so this was pretty cool. Sorry. Huh? That's wrong? No? Back? Oh yeah, okay. Uh in 2018 we had the Firefly hardware wallet. So only one another in 2026 then we have a lot of open DYY hardware wallet happening with a wedge, which has

been very successful on the open hardware stage as well. Ledger Wallet PQ 1 presentation coming next. One key has been doing a DYY and on buyer has been forking the treasure code for their own wallet. And yeah, even generally people nowadays are doing MCU kits that are designed for AI, so they tell you you can just bypass your firmware. So it is definitely the year of do it yourself firmware. Now speaking a bit about the Ethereum universal signer. So first we are going to look at the component of a hardware wallet and discuss this a little bit more later in the next slides.

What do you have in a hardware wallet? You have seed management because you need to handle a seed. You have some crypto because you need to sign stuff. Potentially you have some genuineness if you want to prove that your device is legit. You are going to manage applications in your hardware wallet. You have of course the UX if you have a screen and then transport to know how data is exchanged in the hardware wallet. Each component, if you see the hardware wallet like this, each component can be specified and coded by an agent. And here I am talking about the Ethereum signing which will do more specifically everything which is related to decoding Ethereum transaction and knowing how to sign those Ethereum transactions.

So the way it is designed is very opinionated. It's written in Rust because you get more guarantees at compile time, so it's a perfect language for agents. It's air gap ready. It's using ERC 4527 QR codes and the same logic, the same C board for exchanges over other transports. It's it's minimalistic. So you have many crates and you can just pick the crate that you want when you are building your own device. And very important as well, it is designed with crops in mind, meaning that if there is a specification that requires a bit more external data, the idea is to start with a minimalistic one. So here I am pushing something that I nicknamed verifiable signing, which is just displaying a hash

of your application before being able to do clear signing without taking data from the outside and without having a root of trust. I've been speaking for a while, so if you have attention problems, I mean who hasn't, you can just you can just scan this, check the code and ask questions a bit later. But then, well, the architecture, how does that work exactly? At the top there are different implementations that I will be speaking about on the next slide. They are using a common crate which will a little bit orchestrate everything. Then you have some decoding, you have some signing, you have a crate that will manage the instructions you have to display. And in the end the implementation will take those crates and will do its own things.

So we'll decide what to display stuff, we'll decide what the UX look like. And everything is built using alloy because we have good libraries today in Rust. And the idea here is to give a way for hardware signers to use those libraries with a minimal overhead. So about those implementations to show you that the same crate can be used for very different things. There is one running on Passport Prime, which is a device made by Foundation. So it's running QLS which is a fork of Zeus using a UI on a color screen based on Slint.

It has a camera, it has USB BLE. Another implementation is running on Ostro which is a new device made by Crossbar running Zeus with an ink screen, USB HID and BLE. The Defcon 34 badge which is a Badgem Chip, a little bit more powerful. Badgem Chip is also using Zeus using a specific chip, an nRF5 that I am I am going to talk about it very quickly after. Text UI and finally a board which is just the chip by itself with no UI at all.

One common point about those implementation is that a lot of them are using Zeus. Why? Zeus is a new operating system that was designed by Bunny, who is a famous hardware hacker who also designed the chip by the way. So it's a microkernel which is targeting RISC-V chips using with an MMU. It's based on an open RISC-V implementation and the RTL is available, meaning that it is an open source it is running on an open source chip, which is there is there was a presentation about that at 10:00 a.m. this morning if you want to check it again. So everything is verifiable from code to chip and the way the operating system is done is that it will it will implement memory management

so mutable in hardware. Basically pages will be exchanged with the MMU when another process need to access it. So it's really meant to be written in Rust and to be running Rust. Let's see an example on how agents can use can work by doing something. So just adding a UI to Zeus. What are you going to do if you want to target an ink screen? First you need to talk to the UI panel so that just well addressing the hardware. But if you have been designing stuff on ink, you know that ghosting is very annoying. So we call that playing with waveforms. You can decide to either reflash the whole screen, reflash a part of the screen and of course you want to hide all those complexity from the

design of the widgets. Users just have to put to design the UI. They don't want to care about waveforms. So you can abstract that. You can abstract that in a simulator as well so that you can see it on your computer when when you are designing stuff. Finally you will be designing the widgets and then you will be integrating all that into your application. All of those blocks have been coded by an agents and can be verified. So you can you can see what it you can see how it looks on the simulator then you run it on the hardware and well you can believe me on that but you can check it which is better. There is really not a lot of overhead to get things running on hardware. I mean a little bit of optimizations but agents are really powerful for that kind of things.

So what's coming next for the universal signer? Uh I want to support portable clear signing. So with ERC 7730 once we get a way to get common descriptors for everybody. Uh we are discussing this. The standard is evolving. Uh so uh and more implementation, of course, of the universal signer because um today it's used in a few implementations, but the most common part is that I have been designing them. So I would really like to have more people playing with that. Uh and the idea, I won't say to vibe code, but you can link code now so you can well, you can play with nice uh agents and see how it works for you.

So that's not the end of the presentation. Now I am going to talk about design trade-offs that you have when you are designing your own hardware wallet. So uh are you going to be do it your are you going the do it yourself way or you are are you going to ship a device? Uh it's a good decision to make for a vendor because first when you are doing do it yourself, you are not going to earn a lot of money. Uh you are pointing to a bit of material and then you have to uh find a business model that can work with that. Uh so please be creative. Uh I have no ideas on that, so I will let you create it and run it. You can ship a device. Hopefully it's profitable, otherwise you are doing something wrong.

Uh there is some trust added on that, of course, because you are trusting the vendor. But the other thing is that the vendor can add a way for you to verify that the device is legitimate. You can't do that with a DIY device uh for obvious reasons because, for example, if you ship uh if you ship a component with a secret, anybody could use it and so you would be shipping your own way to design fake devices and you don't want that to happen. Um so now the next question, when you have a device that you receive in your hands and you want to verify what's running on the device, uh you have a lot of people that will tell you it's open source so you can verify. Well, not really. Uh first you might want to dump the device memory, but if you want to

dump it for an application, then you have a chicken uh and egg problem because you don't really know if the application is lying to you or not. So you have to uh be creative about the way you do that. And we are pick pick you one for example has some good ideas. I think they will be speaking about them probably. Uh but you have always to remember to be careful if you use security features of a chip that is non-hardened. For example, if your assumption is that the boot code is never going to change uh Trezor has been doing that and it can be disappointing a little bit later. Um another question when you verify what's going on the device is to know if you want to do it once. So when you receive it or if you want to do it all the time. So if you

want to protect again what we call an evil made uh that will get your device changing change it and give it back to you. That's very different I mean design wise. Uh if you have typically you can use cheap debug features such as JTAG uh but then are they usable are they accessible to the user? If it's a commercial product it's hard to do and then you don't want to leave them on because um you don't have security if you do that. And if you think about ROM chips, ROM do not exist really nowadays. I mean people are just using flash with special access conditions and of course it's different because then uh creative hackers manage to find exploits usually.

Um so you can have multiple application now running on a hardware wallet. You have multiple ways to implement that. You can do an open source firmware which doesn't really support multiple applications. So then you just flash the firmware for multiple application. You can use a multi-application OS that will support application loaded at runtime. Then you have to think about access because all applications might be able to access the same keys. You don't want that to happen so you can protect access conditions per applications. Uh and on those you don't really have multiple applications but you can have an application acting as a loader for the other ones. Uh so there are way to there are ways to cheat I would say. Uh another question you can ask yourself is

do you want your product to be stateful or stateless? If you meaning is it going to keep the seed inside the device? If you want it to be stateful then of course it must be hardened against physical theft. Um, the way people do this is by using different chips. So, you will have one less secure chip running the code and one more secure chip accessing the data. And you would pair those chips together to prevent people from just accessing the other chips. There is a cool trick also done by Trezor T with an SD card, which is a passphrase. So, it would generate a passphrase randomly then use it on the SD card so you can just remove it.

You have some open security chip available which are interesting if you want to go through those design and still be open. There is the Tropic Square today, Tropic 001 and Direct by Crossbar. Then if you want to be stateless, you don't need to protect the storage, but you still need to harden the executed code pass because you don't want your application to be changed on your device. You will get the seed from an external resource. It could be an SD card, it could be just scanning paper, scanning a QR with the seed. This is popular in the Bitcoin space with Seed Signer which started the seed QR standard. But of course, you still have to trust the way the device is running your code. So, there can be some well, there can be some bad things going

there. So, genuine check which is something that you are going to use to know if your device is legitimate or not. One thing which is keep good to keep in mind is that it's not only done for security reasons. You could use it as something commercial. You could say for example, I'm running this service and if I am connecting a genuine device to it, I am going to have extra benefits for the user. So, you can for example sponsor transactions, you could have better API wise. That that's an idea to do, I don't think many people are doing this at the moment.

Of course, to do that you need a strongly protected secret on device. And then you have privacy questions because if you use one key pair device, this is a this is a global UID so people could be able to recognize your device and then to link your keys or your activities back to you. So, that's not very good, but that's quite secure. If you use a shared key, then it 's more private, but it's more dangerous because if someone managed to find the the shared keys then you can compromise a batch of devices, depending on the size of the batch, it can be bad. Um, and finally, one thing which is good to understand for the genuine check is the exact scope of it because when you do a genuine check, usually you verify that one chip knows the secret, but it might not be

your expectation. You might think that the genuine check is checking the whole status of the device, which is usually not the case. I mean, there are ways to implement this. Be talking about just in the next slide, I think. Yes, a little bit more. So if we talk about implants now, because implants are really the thing that are scary for everybody. So the in the case of Ledger, the secure element doing the genuine check wasn't touched. So the genuine check was still passing with an implant. The implant with was just looking at the bus between the secure element and the screen and reading everything from the screen. So you can think about it like an OCR with a SIM card sending data read on the read on the screen to the outside world. And of course, the screen is

dangerous because it's displaying onboarding data. So it's displaying your seed and once you have the seed, you can steal the money. So you can think of implants like mod chips or if you like consoles. So they exploit complexity. Every time you have complexity in a device, people will think about what happens if this part fails, what happens if I can replace it, what happens if I can fool it, if I can fool another another part of the device to think it's talking to a chip, but it's not one. So you have several strategies to try to protect against implants. First, you can make them easy to detect by the user. So for that, you need to have a device which is fully observable. You want it to be easy to tear down and reassemble.

Transparent case is not enough because there are many ways to create the implant. You can make it passively harder to add an implant basically by having a shrunk hard to open case. You can use ultrasonic welding, for example, potting. So but this is going to hurt observability, so it's going to well, again, another trade-off. You can make it actively hard to put an implant by using a mesh which will be some kind of wires put around your PCBs plus a battery that will erase a secret if the mesh is is is cut which is also hard to do and not super reliable. Or you could use some kind of super new trick I mean to detect

the implant by using the own properties of the implant against it. Marc Carpeles has been doing that for the Ledger implant trying to detect it on a live device without opening it by trying to make the antenna resonate basically. So yeah that's good but that's a bit complicated for an end user. So in my opinion the right way to deal with implants is to make them harmless. So it might be a bit odd to say that. So who do we do that actually? I think we win if the attacker needs both an implant and malware to be able to do something bad.

So first we want simple cheap solutions. We want to reduce complexity. We want to make things as simple as we can. And then the remaining attack vector for a regular hardware wallet is the screen because the screen is something dangerous when we are generating the mnemonic or when we are importing a mnemonic or entering a passphrase. So the way to close that is quite easy when you think about it without changing the hardware. First you need genuineness because you are going to be you are going to need to know that you are talking to the real secure elements and instead of displaying your 24 words on device you will just display 12 you will just display 12 words on the screen and 12 words sent encrypted by a key that is validated by the secure element

to the host. So you have an encrypted channel between the host and the secure element checking that what is sent comes really from the secure element. The secure element is still generating the 24 words. You have 12 on screen, 12 on the host. And then the implant cannot see the full seed because it would need malware to be able to see the other 12 words and if you just have 12 I19 would say um it's good. Um so talking about my ideal implementations, how would I do it today if I had to design a device? Uh I don't have to but just my opinion. Um if I want to do it as do it yourself, so I can't have genuineness. I would source the parts from different manufacturers for both practical security and uh well uh economic reasons uh and I think

people should contribute to open designs on those DIY devices. Typically you want to be able to switch parts, you want to be able to use different MCU, you want to be able to use different screens. Uh you want to make it easy for people to just mix stuff, order from different suppliers and avoid being tracked. Um then if you are making a pre-built device, uh genuineness is still very important but it should be easy to inspect. You want to make it implant proof so you can use the tricks I have been uh talking about before and yeah. Uh so [sighs] that's it. Uh if you want to know a little bit more uh you can I have linked to this slide this talk and a bit uh few other talks I gave uh at Devcon

on well still thinking about hardware wallets and um a little bit more on um the Bow Chip which is um the chip that I have been using a lot for testing Zeus and Crossbar so maker of the maker of Bow Chip is running uh hackathon. You can register and you can have some fun with this chip as well as much as I had. Thank you. >> Thank you Nicola for such a detailed talk on such an important topic these days. No worries. Uh and let's jump to questions. We we just have quite just have few of them now but remember that you can keep asking questions as we

speak so do not lose your opportunity. And the first question is when is Clear Signing live on these devices? >> Uh when is always an interesting question uh so I will give a developer response uh when it is done. >> Okay. Uh, that will do. The next one is pretty comic one. Is Vege a serious project? Do you think about branding can be better? >> It's a very very very serious project and I think the branding is the branding is genius because you want to make things fun, you want to make self-custody fun and it's the first time this is tried. So I think the branding

is genius. Uh, and honestly the design is clean, it's using a secure element. So it's yeah, I would definitely recommend to build one. >> All right. Moving up next, what commercial or DIY device would you use today? >> Me? Ledger. >> [laughter] >> I was expecting that. I was expecting that. Okay, let's move on. Who should use which wallet to be secure now? >> Uh, it's really it's really a personal question. If you want to check everything, then I would recommend using a do-it-yourself wallet with a secure chip so that you can just play with it, you can open it, you can build one yourself if you want.

So but it's it's really personal. I think the first question to ask is to understand to look at this talk, look I mean understand this talk well and look at your personal risk and then make an educated decision. >> Okay. Up next we have a pretty upvoted question. Have you thought about making your hardware wallet post quantum? >> Uh, yes of course and I would say it's a non-question today because every hardware wallet pretty much can be post quantum because the algorithms are not very complex to to write. So either I mean maybe for firmware updates I mean that the only thing where you need to be post quantum pre-release, but if you want to be post quantum post release on

that's basically a firmware update away for all of them. >> Okay. I I the next question is kind of related, so we will jump to the other one. Universal signer in AI world. I guess the author is doubtful about having one universal signer when AI can break stuff. >> [groaning] >> What? I'm not sure there was a question, so [laughter] I mean and to be maybe to answer a little bit more seriously, yeah, I mean it's just a signer. In the end it's designed with AI. The best thing today to beat AI is another AI, so yeah.

I think that's definitely the way you want to design critical software today. You want to do that you want to do it with AI, you want to do it with formal proofs. Formal AI is the best at generating formal proofs, so yeah, why not? >> [music]