[BidClub_]
The Edge Podcast · · 56 分钟

Ethereum 能否实现量子安全?EF 首席研究员给出肯定答案|Lean Ethereum

DeFi DadThomas Coratger

加密区块链技术
YouTube
TL;DR
  • EF 研究员 Thomas Coratger 表示,Ethereum 计划在2029年完成全面后量子迁移,并称“我们完全按计划推进”(we are right on track)——考虑到目前已投入的资源,他认为这一时间表合理。 他认为 NIST 已将前量子密码学的弃用节点放在2035年,但 Coratger 提到,“量子计算机可能在2030年或2032年前后出现的概率不可忽略”,2029年本身也存在一个虽小但理论上可能的概率,因此 EF 正在准备于约2030年前完成迁移。
  • 攻击所需的硬件门槛正在塌陷:几年前破解椭圆曲线密码学的估算需求约为2,000万个物理量子比特,而主持人提到、并有 Justin Drake 参与的近期论文将这一数字降至仅50万。 “而这还只是 AI 的起步阶段。我相信,随着 AI 进一步发展,我们还能做得更多。” 中性原子架构相比早期设计更易扩展,研究机构正转向这一方向。
  • 量子威胁覆盖 Ethereum 的3个层级,因为椭圆曲线无处不在:执行层的 ECDSA 钱包签名、共识层的 BLS 验证者签名,以及数据可用性层的 KZG blob 承诺。 量子计算机运行 Shor 算法后,“从公钥基本上就能推导出私钥”,并代替用户签名,因此整个技术栈都必须迁移。
  • ETH 持有者最终可能需要将 EOA 迁移至智能账户,从而获得“密码学敏捷性”:底层签名方案可以在用户无感的情况下替换。 共识层通过硬分叉迁移,执行层则渐进推进。相比 Bitcoin 的 Satoshi 币困境,Ethereum 的优势在于 Coratger 估计只有约0.1%的 ETH 已丢失,但具体数字仍只是近似值。
  • 迁移并非没有成本:后量子哈希签名(XMSS)大小为1–3 KB,而 BLS 仅96字节,且前者缺乏简便的原生聚合方式,因此 EF 正在构建 LeanVM——一个极简、专用的 ZK-VM,可将约1,000个验证者签名压缩证明为每个区块通常128 KB的一份证明。 近期的二进制域突破,使证明器可以使用 BLAKE 或 SHA 等经过数十年研究的哈希函数,而不必依赖研究积累较少、且尚未被 NIST 标准化的 Poseidon。
  • 整个后量子团队只有2人——Coratger 和 Emil——并高度依赖 AI。 Coratger 暂将重大拐点定位在“Opus 4.5 或4.6”等模型出现之后:智能体在复杂密码学任务上的能力大幅提升;再结合 Lean 4 形式化验证,可以证明智能体编写的代码正确。主持人指出,最初的2029年路线图并未假设 AI 编程能力,Coratger 则表示,AI 正在“大幅”加速研究和实现两端。
  • 收尾的安抚带有条件,但与投资者直接相关:如果第1代量子计算机需要“数小时,甚至可能数天”才能恢复密钥,那么早期攻击将只会影响“巨额持有者,而不是普通持有者”。 升级的潜在收益包括原生账户抽象、作为扩容路径的实时 ZK 区块证明,以及未来原生实现隐私交易的可能性。
摘要 · 为研究而整理的核心内容

1. Lean Ethereum:后量子议题从第1天起就被标红

  • Coratger 的加入路径是:先取得物理相关的应用数学博士学位,随后围绕 Starknet 和 Cairo 从事 ZK-EVM 工程,再在 Justin Drake 于 Devcon Bangkok 2024 的 Beam Chain 演讲后与其取得联系——“从第1天起,我就参与了 Ethereum Foundation 的后量子工作。”
  • 他选择 Ethereum,是因为这里同时融合了数学、密码学、计算机科学和去中心化系统,也因为相较 Bitcoin 等替代方案,Ethereum 具备更强的可编程性和相对更高的去中心化程度。
  • 他对这个项目(后来更名为 Lean)的定义是:重写共识层,清除不断累积的技术债——“让共识协议变得非常、非常简单,非常精简”;后量子切换从一开始就是被标红的重点事项之一,与缩短 slot 时间、加快最终确认并列。主持人问量子威胁究竟促成了 Lean,还是只是搭上了这条路线,Coratger 的回答是两者互补:在最初的 Beam 幻灯片中,迁移“早就已经规划好了”,当时近期的 AI 进展尚未出现。
  • Lean 如今已超出共识层范畴:“Lean Execution”利用 SNARK 实时证明执行区块,让节点“不必重新做完所有工作,只需在链上验证证明”;与此同时,数据可用性层也在推进后量子工作。

2. 为什么量子计算会击穿 Ethereum 的每一层

  • Coratger 描述的核心机制是:量子计算机“并不擅长解决世界上的所有问题……但遗憾的是,它们擅长破解密码学”,尤其是因数分解。20世纪90年代提出的 Shor 算法可以击穿 Ethereum 所依赖的椭圆曲线密码学:“从公钥基本上就能推导出私钥,因此可以直接代替用户签名。”
  • 这是一项覆盖3个层级的威胁,因为椭圆曲线“到处都在用”:执行层的 MetaMask 交易签名采用 ECDSA,共识层的验证者签名采用 BLS,数据可用性层的 blob 则由 KZG 承诺支撑。每一层使用不同方案,迁移问题各不相同,但根因只有一个。
  • 一个值得重视的地缘政治延伸是,政府可以“大量收集数据……等量子计算机出现后再解密”:今天的军事和医疗通信,可能在明天被还原。因此,风险并不止于加密资产,也解释了政府和大型企业为何持续投资量子计算。

3. 时间表:量子比特需求下降40倍,迁移定于2029年

  • 最关键的数字是:几年前,破解椭圆曲线密码学的估算需求约为2,000万个物理量子比特;Coratger 表示,主持人提到、并有 Justin Drake 参与的近期论文将今年的需求降至50万——“而这还只是 AI 的起步阶段”。同期一篇来自中性原子初创公司 Oratomic 的论文,则指向更易扩展的架构;Coratger 说,如果自己没记错,该公司几周前刚融资数百万,而这类架构相比 Google 的大型低温机器更容易扩展。
  • 对于具体日期,诚实的答案是:“没人真正知道。” Coratger 认为 NIST 已将前量子密码学的弃用节点放在2035年,但“量子计算机可能在2030年或2032年前后出现的概率不可忽略”,2030年前出现的概率较小,而2029年“理论上是可能的”。EF 的准备目标是约2030年前完成迁移;strawmap.org 上的实时路线图则将迁移节点设在2029年。
  • 他两次强调,EF 并不是量子计算硬件专家,其职责是先假设密码学会被击穿,再完成迁移。真正困难的硬件工程在于稳定性:连接物理量子比特和逻辑量子比特的纠错码,是“当前量子计算机领域的主要难题之一”。

4. 持有者实际要做什么,以及 Ethereum 为什么比 Bitcoin 更容易迁移

  • 对当前持有者而言,普通用户主要涉及执行层;共识层属于验证者,只需“通过一次硬分叉把所有东西迁移过去”。执行层则会逐步推进:第一步可能是通过原生账户抽象,将 EOA 迁移到智能账户,解锁“密码学敏捷性”——“在智能合约内部,我们可以直接迁移底层使用的签名方案,而用户不会察觉”。在主持人追问下,他表示,用户可能最终需要把资产从当前 EOA 迁移到智能账户,但“目前没有任何事情是确定的”。
  • Bitcoin 的对比是本期节目最鲜明的比较:Satoshi 的沉睡币“有点被卡在某个地方”,于是问题变成究竟应该销毁它们,还是把它们“作为一笔巨额赏金,留给任何带着量子计算机来的人”。Ethereum 的估算是只有约0.1%的 ETH 已丢失,“所以问题要小得多”。
  • 在分叉顺序上,下一次硬分叉 Glamsterdam “有点太早”,真正的迁移节点可能要到之后1个或2个分叉,通过原生账户抽象、共识层公钥注册表,以及一个极简 ZK-VM 推进;本段讨论中称其为 LinVM,其他地方则称为 LeanVM。EF 研究员 Antonio 每周三主持的公开双周专题会,会讨论执行层迁移路径。

5. 代价:KB级签名、SNARK 聚合与哈希函数两难

  • 核心工程痛点在于,BLS 签名只有96字节,而且可以自由聚合:验证者签名能够合并成一份仍为96字节的聚合签名。后量子哈希签名 XMSS 来自 EF 密码学团队去年的一篇论文,每个签名大小为1–3 KB,并且“没有好用的聚合技术”,两项问题同时存在。
  • 解决方案是 LeanVM,一个极简、专用的 ZK-VM,唯一任务是生成一份 SNARK,证明“这1,000个签名全部有效”,从而每个区块只发布一份通常128 KB的证明,而不是数千个大型签名。相比 BLS 时代,这套机制“复杂得多”,点对点网络层也必须适应更大的对象。
  • 尚未解决的两难是:一边是更利于证明、但研究积累较少且未被 NIST 标准化的 Poseidon;另一边是 BLAKE 和 SHA 等已经标准化、经过数十年密码分析,但证明难度更高的成熟工具。在介绍证明系统所用的经典素数域时,访谈先将其称为 Qualabelle,随后又拿它与 KoalaBear 比较;近期的二进制域研究则让系统可以高效使用经典哈希。Coratger 特别说明,底层论文来自外部研究者 William Wong、Benedict Burns 和 Ron Rossbloom:“Emil 和我没有发表任何论文……我们经常依赖其他研究者发表的论文。”

6. 2人团队、AI 杠杆,以及为什么不必恐慌

  • EF 的后量子团队由 Coratger 和 Emil 组成,处在基金会整体转向小团队的趋势中,目标是“减少官僚流程……借助 AI 和智能体提高生产力”。Coratger 暂将拐点定位在去年年底、出现“Opus 4.5 或4.6”等模型之后:智能体从需要大量来回沟通、在复杂密码学任务上能力不足,变成只要获得足够上下文就能胜任更多工作。Coratger 表示,AI 正在“大幅”加速研究和实现两端。
  • 形式化验证是放大器:Lean 4 中的定理让团队能够“借助智能体深入进行优化,同时仍然证明代码按预期执行”,其中包括一个由智能体编写、并行完成正确性证明的 EVM 汇编项目。
  • 这次升级并非只有成本:原生账户抽象、作为扩容抓手的 ZK 区块证明、全系统统一的哈希函数,以及未来可能实现“真正的 ZK……在 Ethereum 上原生实现隐私交易”的一整套机制,都可能成为收益。外部合作对象包括大学、博士生,甚至 Blockstream——“我们甚至在和一些 Bitcoin 研究者合作”。
  • 最后的风险判断仍然有条件:如果第1代量子计算机价格昂贵,恢复一个密钥需要“数小时,甚至可能数天”,那么早期攻击将只会影响“巨额持有者,而不是普通持有者”。他的结论是:“所以我们没必要恐慌。我们完全按计划推进……如果我们为2029年做好准备,我认为一切都会完全没问题。”
完整逐字稿
Thomas Coratger

That's why we don't need to panic. We are right on track. I think we were very early in the process of researching all of these things. If you take Justin's talk at Devcon Bangkok, we started the post-quantum research and all of this just after that. So, it was basically the end of 2024. This was very, very early in the process.

At the time, far fewer people were talking about the quantum threat. But right now, this is becoming a real thing. We are investing a lot of resources and manpower into both research and implementation, so we are doing a lot of different things. I think the full migration is planned for 2029.

For me, this looks reasonable in terms of the timeline because we are investing a lot of effort there. We are also partnering with external entities. I think this is very important to say because we are not alone. All of that is very encouraging, and I think we are right on time. If we are ready for 2029, I think it will be totally fine with regard to quantum computers.

DeFi Dad

I'm DeFi Dad here with Nomadic. Today's show features Ethereum Foundation researcher Thomas Coratger. Thomas, thank you for joining us. How are you doing?

Thomas Coratger

Hey, thanks for having me. I'm fine.

DeFi Dad

Okay, Thomas, I want to give people a bit of background on today's show because we're doing a Lean Ethereum series here. First up, we have part 1 with you on quantum. Then we'll be doing one on privacy and possibly a third on ZK. Today's focus is mostly on quantum.

To me, quantum really starts to feel like science fiction. It's this intersection of physics, hardware, computer science, and cryptography. Ethereum has to prepare for this future and these machines that don't really exist yet but could eventually break the cryptography securing the Ethereum network.

Today, we're both probably going to ask you a lot of beginner questions—101 stuff. How real is this? How far away is it? What does a quantum attack actually look like? And then, maybe most importantly, how is Ethereum specifically preparing for this?

1. Background and why focus on Ethereum

Let's just start with how you became drawn to working on Ethereum and joining the EF. Maybe you can share a little bit about that and what you do there today.

Thomas Coratger

Sure. Thanks for the intro. I was doing something quite different before. I have an engineering background. I went to engineering school and then did a PhD in applied mathematics, but it wasn't related to cryptography at all. It was more related to physics.

After that, I decided to move to the crypto industry because I had read a bunch of papers, like the Bitcoin papers, the Ethereum papers, and a bunch of white papers like that. I decided to dig more into this crypto stuff. At the beginning, I was doing startup work—different kinds of things, like wallets and stuff like that, before account abstraction and everything.

Then I moved more into the ZK space, especially with Starknet and Cairo at the time. I was doing basically ZK-EVM engineering work and coding around cryptography, ZK-EVMs, SNARKs, STARKs, and this kind of stuff.

Just after that, I contacted Justin Drake after his talk at Devcon Bangkok about the Beam Chain project at the time. I said that it could be cool for me to participate in this effort. I started with a grant about a cryptography project, and from day 1, I participated in the post-quantum effort at the Ethereum Foundation.

DeFi Dad

Thomas, tell us more about why you ultimately chose to work on Ethereum. With your skill set, you clearly are in demand. You could probably work in one of many highly paid tech jobs today. Why Ethereum?

Thomas Coratger

This is a good question because, for me, all of this stuff around crypto was very interesting—the blockchain industry at large. It's a perfect mix of computer science, cryptography, decentralized systems, and a lot of mathematics. As I mentioned before, I was doing a PhD in applied mathematics, so it was kind of the perfect fit for me.

I also really love the idea of decentralization—the fact that we can build the future of finance and many other things without having a centralized entity in the middle. It was very mind-blowing for me at the beginning, and it still is. The fact that we can work in a very productive way, asynchronously, around the world is also something really crazy.

As I said, for me, the blockchain industry is the perfect mix of mathematics, cryptography, computer science, and a lot of things like this. With Ethereum, of course, you can work on many blockchains. You can work on Bitcoin, Solana, or other projects like that. But Ethereum was, and still is, something super important, with a lot of novel ideas.

It is much more programmable than Bitcoin, for example, so you can do a lot of new things and really reinvent the world. It is also super decentralized compared to other alternatives that are much less decentralized. It's always a puzzle of things that you have to solve to keep performance, decentralization, and all of these kinds of things.

So, it was a perfect fit for me.

2. What is Lean Ethereum?

DeFi Dad

I like that analogy. It's kind of like a continuous puzzle that you have to keep solving. We'll definitely get to a big puzzle here with quantum. But before we jump down that rabbit hole, can you tell us a bit more about Lean Ethereum? What is it?

I believe it used to be called Beam Chain when Justin Drake unveiled it at Devcon Bangkok a few years ago. Correct me if I'm wrong, but maybe just give us the high-level overview of this Lean Ethereum movement within the space.

Thomas Coratger

As I recall, that's what was initially presented as the Beam Chain project by Justin Drake at Devcon Bangkok 2024, I think. Just after that, I contacted Justin to be part of this effort. That's the moment when I started contributing deeply to the Ethereum Foundation's effort.

This was then rebranded as Lean Ethereum instead of Beam. Basically, it is a rewrite of the consensus part of the Ethereum system. Over the years, we have accumulated a lot of things—a lot of technical debt and a lot of other stuff—and we want to clear all of that out and make the consensus protocol very simple and very lean, containing only the most important pieces.

That way, we simplify a lot of the code, and we also make the switch to post-quantum cryptography. If you look at Justin Drake's slides at the time, post-quantum cryptography and the migration to post-quantum cryptography were one of the important buckets of work.

Among all the buckets of work that were presented, such as decreasing the slot time and making finality faster, cryptography was a very important bucket of work. That is where I started to contribute, inside this bucket of work on post-quantum cryptography.

There is a lot involved because you have post-quantum signatures, so you need to migrate from the signature schemes that we are using right now inside the consensus layer to some post-quantum scheme. I'm sure we'll talk about this later, but this also encompasses a lot of other things.

Later on, the Lean Ethereum movement started to grow with some different initiatives. We also have something that we call Lean Execution. That involves using much more ZK and many more SNARK proofs at the execution layer. For example, we can prove execution blocks in real time so that the nodes of the network don't have to redo all of the work; they can just verify a SNARK proof on-chain.

That is a way to scale, and in some sense, that is also part of the Lean Ethereum project. We even have some Lean Ethereum work on the data-availability layer, where we also need to switch from a pre-quantum world to a post-quantum world.

So, that is a big, nice thing to mention about the upcoming efforts of Ethereum to become simpler and post-quantum-resistant.

DeFi Dad

Is Lean Ethereum something that was, I guess, already planned without the threat of quantum, or are these things just complementary to one another?

Thomas Coratger

I would say that this is more complementary because, of course, when Justin Drake presented this in 2024, the quantum threat was much less of a reality than it is right now, due to all of the advances in AI and stuff like this. That was not happening at the time. But if you look at the slides—the very first slides of the Beam Chain project—the post-quantum migration was already planned and already put down as an important bucket of work. We had many buckets of work in the Beam presentation, with red squares around the important ones, and if you look at these slides, post-quantum migration was already marked as a red flag.

3. Will users need to migrate to quantum-safe Ethereum?

DeFi Dad

Yeah, it feels like your team—specifically, I guess, the Ethereum Foundation, and maybe more broadly the Ethereum community—is on one end of the spectrum here in terms of getting ahead of the threat of quantum, basically thinking that far in advance and starting to do the necessary research so that the chain can ultimately be quantum-resistant. Whereas we have seen a lot of struggles, a tug-of-war between those who think that it is not a true threat within, let us say, the Bitcoin community and those within the Bitcoin community and elsewhere who are taking it seriously.

4. What is the quantum risk to blockchains like Ethereum?

But it has been great to see a consensus around this being an important problem to solve. It should be the top priority among researchers, so I have been very grateful for that. We probably should get right into more about what quantum is. Can you first tell us more about why exactly quantum computers are a threat to Ethereum? What are they at risk of breaking or hacking? I have always heard concerns about things like private keys, for example, if there were a quantum computer.

Thomas Coratger

Yeah. We can think about this problem in different ways. First, it is important to say that quantum computers are this new kind of machine. They are not strong at solving all of the problems in the world, but they are strong at solving specific problems in the world. Unfortunately, they are strong at solving cryptography, especially factoring numbers. That is the basis of many things in cryptography right now, in the pre-quantum era.

The main problem that we have right now with Ethereum at different layers is elliptic-curve cryptography because we are using that all over the place. For example, when you are a user and you want to sign a transaction with your MetaMask, under the hood, the signature uses an elliptic curve. If you are a validator and you propose a new block or validate some blocks, you also use elliptic-curve cryptography. Even at the data-availability layer—all of the blob-related things—we also have a commitment scheme called the KZG commitment scheme, which also uses elliptic curves.

5. How real is the quantum threat? How soon?

Basically, you can decompose Ethereum into these 3 layers: a consensus layer, an execution layer, and a data-availability layer. In all of these layers, we are using cryptographic objects that are not post-quantum-secure. What does that mean? It means that, for example, right now, with elliptic-curve cryptography, it is impossible for an attacker to get your public key and derive your private key. This should require an infinite amount of time for a classical computer, but the story is completely different with a quantum computer because, with a quantum computer, you can factor a number much more easily.

From a public key, you can basically derive the private key, and then you can sign on behalf of the user or something like that. That would be a real mess. That is the quantum threat that we should address right now. As I mentioned, the very important difficulty to have in mind is that this threat exists at different layers of Ethereum—basically, at all of the layers.

It is different at all of the layers because right now we are using one signature scheme for the execution layer, but we are using a completely different signature scheme at the consensus layer for validators. So, we have to solve a lot of problems like this. But basically, the problem is always the same with quantum computers: quantum computers are capable of breaking elliptic-curve cryptography, so we should get rid of that.

DeFi Dad

I want to get more into what these computers look like—some of the components that would need to come together to actually make one of these happen. I have seen a lot of theoretical discussions. There was a paper from Google, I believe, and Justin Drake was a co-author on it. I think this paper really shook people and woke people up to, “Oh my gosh, this looks more imminent.”

But, of course, like anything in today’s world, there are people who agreed with it and people who disagreed with it. What I want to get from you—and I know this is a highly subjective question—is, in your professional opinion, how imminent is the threat of quantum? Are we talking about 5 years away, 10 years away, or 20 years away, in your mind? I just kind of want to get your opinion on this.

Thomas Coratger

Okay. Indeed, this is both a very good question and a very difficult one because nobody really knows. Why? Because we have a bunch of governments, startups, public institutes, and private institutes looking into this kind of quantum computer. At the Ethereum Foundation, we are not quantum-computer experts because what we want to do is take into account that quantum computers will break our cryptography, and so we need to migrate. But this is a completely different job from building full quantum computers. We have startups around the world doing that very well.

Right now, I can give a few numbers. The fact is that we have seen tons of progress recently, especially from the big labs like IBM and Google, the U.S. government labs, and Oratomic, which raised, if I am correct, millions a couple of weeks ago and is also a very big startup around quantum computers. What is also important to say is that the resources needed to break elliptic-curve cryptography have decreased a lot in the past couple of years.

It was something like 20 million physical qubits—that is the unit of a quantum computer—and with the recent paper that you mentioned with Justin, it was only 500,000 this year. That is huge progress. And this is just the beginning of AI. I am sure that we can do much more with more advanced AI. So, this decrease in the resources needed is very important to mention.

Concerning the timeline, we have different numbers in mind. Basically, at the beginning, the NIST organization, which sets standards in the United States, deprecated all of the pre-quantum cryptography for 2035, I think. But with all of the recent advancements, we have a non-negligible probability that a quantum computer could arrive around 2030 or 2032, something like this.

Justin has given a lot of talks about this, but there is also a small probability that it could come before 2030—2029, for example. That is theoretically possible. Of course, no one knows, but I would say that, at least at the Ethereum Foundation, we are preparing so that the transition should be done by 2030, something like that. That should be reasonable for the Ethereum Foundation. Even right now, if you look at the roadmap published on the strawmap.org website, the migration is planned for 2029.

DeFi Dad

Thomas, you mentioned qubits in there, and this is one little piece of research that I actually did, so I get to show off that I actually know what a qubit is. Hopefully, I do not get this wrong, but a qubit is essentially a quantum computer’s version of a bit. Where a bit is a 0 or a 1, a qubit can behave sort of like both a 0 and a 1.

6. What resources does a quantum attack actually require?

But the real question I wanted to ask you here is that I am still having trouble mentally picturing what a quantum computer looks like and what it would take to amass the resources to bring an attack together. In my mind, there is this theoretical problem that people are proving can be done, but there is still this physical, real-world hardware constraint: you have to amass all this stuff that most likely no sovereign citizen could amass. It is more likely a nation-state actor or some major corporation, I would assume, but correct me if I am wrong. Can you provide any color or clarity on some of those elements?

Thomas Coratger

Yeah, sure. Again, my disclaimer: I am not a quantum-computer expert. But as you mentioned, classical computers work with bits, which are basically 0s and 1s, and quantum computers work with qubits. That is a kind of superposition linked to quantum physics and all of these very nice and very cool physical phenomena. There are a bunch of physical studies that you can have around all of this.

In a quantum computer, there is a hardware part and a software part. The hardware part concerns how you build a quantum computer.

So, all of the machinery—all of the hardware, the components, everything like that—is part of it. For this, you have a bunch of teams around the world. As you mentioned, these are mostly very big companies because you need a lot of resources, and also governments, because this is very critical for them.

For example, this is not at all related to the blockchain space, but with a quantum computer, you can decrypt military conversations or medical data that are encrypted using pre-quantum schemes. You can harvest a lot of data as a government and decrypt it later, once the quantum computer is there. That is very strategic stuff for big governments right now, especially given the current state of the world.

Now, you have different techniques to build a quantum computer. One very modern and very cool one is called neutral atoms. I will not go into the details, but when Justin Drake was a co-author of the paper with the Google folks, there was concurrently another paper by the startup called Oratomic. Oratomic is doing neutral atoms.

The neutral-atom technique scales much better than the other technique used by Google before. With Google's method, you had these very big quantum computers—very big machines that you can see with a very big cooling system, because you need to cool all of these down. If you search for a quantum computer on Google, you will see this kind of huge machine. On the other side, the neutral-atom technique is much more scalable for the long term, so a lot of research entities are migrating to neutral-atom techniques.

It is also important to mention the software side of things, because the algorithm capable of breaking pre-quantum cryptography—elliptic-curve cryptography—is called Shor's algorithm. It was invented in the 1990s, so it was already there long before the quantum computer even existed or was being researched. But this requires a bunch of circuits, algorithmic improvements, and so on. There are a bunch of theoretical questions around the software: how you program your algorithm and so on.

What is also very important is the difference between the physical qubit and the logical qubit. What is very difficult for a quantum computer is to stabilize it—to make it stable. Between the physical qubit and the logical qubit, you have what we call error-correcting codes. That is another field of theoretical questions, with a lot of software engineering and new algorithms that can be applied to stabilize the whole system and benefit as much as possible from all of the physical qubits produced. This is one of the main difficulties right now in the quantum-computer world: stabilizing the system.

DeFi Dad

Thomas, for those of us who are ETH holders or DeFi users on Ethereum, will there eventually be a moment where we have to do something? Is it just a fork that will get us eventually to a quantum-safe Ethereum, or is there anything else involved for us as users and ETH holders?

Thomas Coratger

So, first, it is important to mention that when we talk about ETH holders and classical users, we are talking about the execution-layer side of things. We are not talking about the consensus layer or the data-availability layer because the consensus layer is only for the validators of the system. So, as a regular user, you are not impacted.

But on the execution layer, indeed, we have to migrate from the signature schemes that we have right now because the signature scheme is called ECDSA, and this is based on pre-quantum elliptic-curve cryptography. So, we have to migrate out of this.

I think that the migration path for this specific layer will be a bit more progressive than it is for the consensus. For the consensus, basically, it will just be a hard fork where we migrate everything. But for the execution layer, I am seeing something a bit more progressive. Why? Because we will first migrate the accounts that you have right now into smart accounts, using smart contracts. That will be a first phase of the migration, because if we migrate to native account abstraction, then you benefit from the power of smart contracts as your wallet. Instead of having a classical EOA, you have a smart wallet. We are capable of encapsulating any kind of logic inside the smart contract. This is what we call cryptographic agility, because inside the smart contract, we are capable of simply migrating the signature scheme that is used under the hood without the user noticing it.

Once this phase is done, then we can maybe start with a simple and maybe less demanding post-quantum signature scheme, and then, a couple of hard forks later, migrate to something much more long-term. So, yeah, you will have to do a migration at some point in order to migrate your coins probably from the current EOA to a smart account or something like that. All of that is still under discussion. Nothing is fixed on how we will do this, when we will do this, and all of this.

About the execution layer specifically, we have biweekly breakout call sessions that are open to everyone, organized by Antonio, who is also a researcher at the Ethereum Foundation, every Wednesday, where a lot of different people participate. These can be researchers, investors, individual people, companies, institutions, and a lot of people like this.

DeFi Dad

Thomas, something I just want to clarify there. Again, understanding that it sounds like a lot of this is still in flux and being decided, there are no real concrete answers. But you said that at some point we may have to migrate our tokens to a new wallet standard of some kind. Did I hear that right? Does that mean every Ethereum user is going to have to do some sort of wallet upgrade or migrate these tokens somewhere?

Thomas Coratger

Yeah, I do see it that way. This is still an open discussion. When you speak about these things in the Bitcoin world, you have a much bigger problem. Why? Because you have what we call dormant coins—basically, Satoshi's coins plus a bunch of others, but mostly the Satoshi coins. Since Satoshi just disappeared, the coins that he owns are kind of stuck somewhere, and nobody can just move them around.

There are all of these questions about what we should do with Satoshi's coins. Should we just burn them? Should we keep them alive as a big bounty for anyone who comes up with a quantum computer or some other solution? This is, in general, the big problem that we have with migration on a blockchain.

7. Will Glamsterdam or Hegota help post-quantum Ethereum?

The good news is that for Ethereum, we have much less of this problem because we estimate that only 0.1% of all ETH is lost or something like that. So, it is much less of a problem overall for the migration. I suppose this will look something like that.

DeFi Dad

In terms of the upcoming network upgrades, Glimmerstone Dam and Hagota, if I'm saying that correctly, do those feed into any of what we're talking about? What are the timelines for these network upgrades? And, if you can summarize this, is there anything within those network upgrades that contributes to the overall roadmap to get Ethereum to be quantum-safe?

Thomas Coratger

Yeah, this is a good question. I think that in the next hard fork, Glamsterdam, it is a bit too early to talk about all of this post-quantum migration stuff. We have this strongmap.org website that is a live roadmap that we update over time, where you have a plan for all of the hard forks, with what is included in each hard fork, following the 3 layers of Ethereum.

Even if Glamsterdam is still a bit early, we are still discussing and researching some things. But I think that the real migration points should start maybe 1 or 2 hard forks after Glamsterdam, with progressive migration paths. I can mention, for example, the migration to native account abstraction. I can also mention the public-key registry program on the consensus layer.

I can mention, for example, the inclusion of LinVM, which is basically a minimal ZK-VM that will probably also be included in J* or something like that. I would say that between A* and L*, this is the time frame that we have for this kind of migration.

8. Tradeoffs in upgrading to quantum resistance

DeFi Dad

Are there any trade-offs that we're introducing with this? Are there any different hardware requirements that are going to be needed? It's clear to me, at least, that we have to go through this upgrade. But what are the trade-offs, if any, or does it make things better in some way?

Thomas Coratger

Sure.

We have a lot of trade-offs—a lot of stuff. This is mainly our job on a day-to-day basis. First, the big trade-off we have is the signature size. Why? The pre-quantum signature schemes are very convenient because they are super small.

On the consensus side of things, we have a signature scheme called BLS, also based on elliptic curves, and one signature is only 96 bytes. The nice fact is that you can very easily aggregate as many signatures as you want and still produce an aggregate signature that is also 96 bytes. This is very important because the signature size is still the same with elliptic-curve cryptography.

This is what happens already today in practice: you can take all of the validator signatures and concatenate them together. You obtain an aggregate signature, and you post this very small object on-chain, 1 time per block. But with a post-quantum alternative, you cannot do that at all. You have to migrate to something else in terms of cryptography.

What we lean toward today is what we call hash-based cryptography. That is a kind of cryptography based on hash functions, which is a very old assumption, so it is very conservative and very secure because it has been studied for decades before us. The fact is that, first, signatures are much bigger. We were talking about 96 bytes, and now we are talking about 1–3 kilobytes for each signature, so that is much bigger. Second, we do not have a nice aggregation technique, so we lose the property of being able to aggregate signatures together easily.

You end up with 2 problems: first, bigger signatures, and second, much harder aggregation. We have to think harder, and that is where we introduce SNARKs, because we need to aggregate signatures together. You cannot have thousands of validators each signing with a 2-kilobyte signature and posting all of that in your block. This is totally impossible; you cannot send that through the network or load it.

What we do is use a SNARK. This SNARK aggregates all of our signatures and is there to say, “I, as a prover, attest to you that all of these 1,000 signatures are valid.” You now post 1 proof on-chain, 1 proof per block, and by verifying this proof, you are able to say, “Okay, all of these signatures are valid.” But the machinery that we have to put in place for this aggregation is much more complicated than it was before with BLS. That is, for example, a trade-off.

Then we have to pick 1 hash function, for example. We have a lot of questions about this. Should we pick a hash function that is friendly to proving but less studied over time? Should we pick a standard hash function such as BLAKE or SHA, which are very classic hash functions that have been studied for decades and standardized through the NIST process, but are obviously much harder to prove?

We have a bunch of trade-offs, mostly cryptographic trade-offs but also size trade-offs. That is why we are also thinking about how to adapt the peer-to-peer layer to take into account these much larger objects that we have to pass through the network. On the execution side of things, it is the same problem. If you take all of the transactions that are inside a block, you have a lot of transactions, and you also cannot handle very large signatures like this. So, you also have to think about how to aggregate the execution-layer signatures.

DeFi Dad

Thomas, real quick, is there—you might have answered this; apologies—but are there any surprise improvements in this, other than the benefit of quantum resistance? “Hey, because we’re doing this, we get this sort of upgrade.” Or is it pure trade-offs all the way down?

Thomas Coratger

No, I think we have some surprises, but we also have some very nice new features coming. For example, due to this migration, we have thought about account abstraction natively on Ethereum. That is very nice and very cool because then you can have any sort of logic on top of account abstraction.

We can also think about this as a scaling solution, because we are improving things with zero-knowledge proofs. ZK can help a lot with execution scaling, because then you can have a proof of a block on Ethereum and scale because your validators do not need to run all of the transactions again; they just need to verify a proof.

I also mentioned signature aggregation, but if you imagine a world where we have a lot of transactions per block, then you can aggregate all of those transactions into an aggregate proof. That is also a scaling vector in some sort of way. Even if the proof is still a bit large—typically 128 KB or something—if you have 1,000 signatures per block, this is still a scaling vector.

From a security perspective, of course, we are improving things because we get rid of the quantum threat. That is also a nice thing to have in mind. We are also progressing in the SNARK and cryptography space, so that is potentially a way, in the future, to include true ZK—privacy, private transactions, and things like this—on-chain natively on Ethereum through all of the machinery that we have.

9. The quantum research team at EF

This is also a way of unifying all of Ethereum, because basically we want to use the same hash function everywhere, on the network. All of those are very cool things.

DeFi Dad

Thomas, something we probably should have asked sooner in the podcast: what does the team and makeup of the post-quantum team look like? How many people are working on it at the Ethereum Foundation? Maybe just give us some insight into that and any breakthroughs you have had recently of any kind.

Thomas Coratger

Within the Ethereum Foundation, we are moving more and more toward very small teams to be more effective, reduce bureaucracy, and be very productive with AI and agents. Inside the post-quantum team, there are 2 of us within the Ethereum Foundation: Emil and me. We both have basically the same role, researching and coding some post-quantum cryptography.

Our main focus right now is the consensus layer of Ethereum, because this is probably the most challenging part of Ethereum’s transition to post-quantum cryptography. We think that we can then reuse a lot of the machinery we put in place on the consensus layer on the other layers of Ethereum to help with the transition.

We have this new signature scheme called XMSS, which is a post-quantum, hash-based signature scheme. A paper was published by the cryptography team last year within the Ethereum Foundation. What we are building on a day-to-day basis is all of the machinery to aggregate the signatures together. That is what we call LeanVM.

LeanVM is a small and purpose-built ZK-VM that is there for only 1 job: to aggregate signatures together. It is very minimal compared with other ZK-VMs on the market, but very performant in this way.

Over the last year, we have built this ZK-VM based on a classical prime field, so it is a ZK-VM very close to other ZK-VMs on the market, based on classical techniques such as polynomial commitment schemes that were also published by some university and MPJ students.

Then we have a prime field called Qualabelle, which is a very classical prime field, and in the middle of everything we have a hash function called the Poseidon hash function. This is a hash function that is very friendly to prove but not very classical and not standardized by the NIST Institute.

What is very cool to mention is that a couple of weeks ago, we had this very nice breakthrough involving new binary-field techniques. What binary-field techniques are is that, inside your proving system, instead of using a classical prime field like KoalaBear, you just use a binary field. That is a field composed of 0 and 1, and then you do some extension stuff and very deep math.

The fact is that with this binary field, you can now use a very classical hash function like BLAKE or SHA. These hash functions are very cool because they are standardized through the NIST process, and we can rely on them because they have had decades of study and cryptanalysis before us.

Right now, Emil and I are working full-time on this breakthrough and making it efficient to aggregate signatures together. That is a very recent breakthrough that we have been working on for the past few months or so.

DeFi Dad

Yeah, congratulations on the breakthrough. I’m sure DeFi Dad is fully up to speed on that breakthrough and understands KoalaBear in depth by now, I would imagine.

Thomas Coratger

Just a brief disclaimer: this breakthrough—we are always conducting research with universities and other people, so Emil and I are not publishing any papers or stuff like this. We often rely on papers published by other researchers. For this one, it was a paper published by William Wong, Benedict Burns, and Ron Rossbloom, who are university and research people.

10. Can AI accelerate this research and the EF strawmap?

DeFi Dad

One other thing you said in there that perked my ears up relates to AI. I know the initial roadmap, which has the 2029 end date, was created without assuming any use of AI coding or agents. To my knowledge, that is true. But you said in your little 2-man lean team that you are using AI quite heavily.

I guess do you think AI will speed up the completion of the roadmap? Is it usable enough for you guys that you’re seeing major benefits, and is it accelerating development? I guess both on the roadmap side and maybe in your world in quantum?

Thomas Coratger

Yeah, a lot. On both sides, definitely a lot. Let me explain why. We saw this breakthrough in AI, I think at the end of last year, with Opus 4.5 or 4.6, something like that. Before, it was much more about human interaction with the agent and a lot of back-and-forth to mitigate all of the agent’s problems, as well as the fact that the agent was not autonomous or performant at all for very complex cryptographic tasks.

But now, with the very recent models of Opus and Fable and all of these models, we’ve seen that change dramatically. We’ve seen an increasing number of things that we can do with this AI.

Within the Ethereum Foundation, we are using AI heavily, and even more so on my team. We use AI super heavily for different things: coding, explaining papers, and digging further into a paper that previously required reading it by hand. That was a very complex and time-demanding task. But right now, with AI, you can do all of that in a much more approachable way. It turns out that for mathematical problems like cryptography, if you give the agent enough context, it is very, very performant at carrying out these tasks.

We have also recently seen the rise of formal verification. We have a formal-verification team within the Ethereum Foundation. Formal verification is basically when you write some theorems and proofs in a language called Lean 4. You can prove that your code is written correctly when compared to formally verified code. That is very powerful, because now you can go very, very deep into optimization with the agent while still proving that your code executes as expected through this formal-verification language.

We also have things we’re doing inside the Ethereum Foundation with AI and formal verification. We’ve seen a lot of interaction between our work in AI and formal verification. For example, we have a very nice project—I’m not leading this at all—called EVM ISN. That is basically a version of the EVM, the engine of Ethereum, coded by an agent automatically into assembly code. In the meantime, you do the exact same thing with Lean 4, so you prove that your code executes as expected through formal verification. This is very advanced, and we’re doing a lot of this.

11. Is Ethereum on track to be quantum-safe?

DeFi Dad

Thomas, before we wrap up, I want to end on this: when do you think Ethereum will be quantum-safe? And do you believe Ethereum is on track to be fully quantum-safe before quantum computers become a real threat? I’m trying to get at what keeps you up at night between now and then.

Thomas Coratger

I think we were very early in the process of researching all of these things. You should take, for example, Justin Drake’s talk at Devcon Bangkok. We started the post-quantum research and all of this just after that, so it was basically the end of 2024. This was very early in the process.

At the time, far fewer people were talking about the quantum threat. But right now, this is becoming a real thing, obviously, and I still think we’re right on track because we’ve prepared a lot of research. We’re investing a lot of research and manpower into both research and implementation. We have code being produced right now on a day-to-day basis in Rust. We have a specification in Python for this new post-quantum consensus layer for some clients to experiment with and things like that.

We’re doing a lot of different things, and I think the full migration is planned for 2029. For me, this looks reasonable in terms of timeline because we’re investing a lot of effort there, and we’re also partnering with external entities.

I think this is very important to say, because we’re not alone. We’re partnering with universities, PhD students, and postdocs. We’re even partnering with some Bitcoin folks because we have an open communication channel with the Blockstream people. We have also co-authored some papers with them, and we’re in constant discussion with these folks.

All of that is very encouraging, and I think we’re right on time. If we’re ready by 2029, I think it will be totally fine with regard to quantum computers.

Something really important to mention is that the first quantum computers will be very expensive, very easy. They will probably be able to run Shor’s algorithm, which is capable of recovering the key, but not in a very small amount of time. That will probably require hours, maybe even days, and so, if this is the case, it will concern only huge holders, not the average holder. That’s why we don’t need to panic. We’re right on track, we’re researching all of this stuff, and I think that’s it.

12. Closing

DeFi Dad

Thomas, I think this is a great place for us to start wrapping up. First, I want to remind our listeners they can learn more about the work you and your team are doing on Lean Ethereum by going to strawmap.org. That is a great website to track all the progress. They should follow your personal handle: tcoratger. That is his Twitter handle. The GitHub is the same handle. We will put that into the show notes so you can easily find it. Thomas, thank you so much for your time, and thank you for all of the important work you and your team do. I really appreciate you coming on to dumb down some of the research you are doing and how it all relates back to our experience as ETH holders, DeFi users, or ETH stakers. I want to give you the final word before we go, and we would love to have you back in the future. Again, if you enjoyed this episode, we are doing a second part on Lean Ethereum, so stay tuned for that. Thomas, anything else here before we go?

Thomas Coratger

No, thanks for having me. As you just mentioned, please feel free to visit the strawmap.org website. This is a live roadmap that you can consult on a day-to-day basis. This evolves very frequently. We also have a Lean Ethereum GitHub organization that you can check, where we have all of our code repositories and you can participate in an open-source manner. Thanks for the great discussion. Thanks for having me.

DeFi Dad

Thanks everyone for tuning in. To stay up-to-date with future episodes plus get expert tips, strategies, and exclusive content, subscribe to our free newsletter at the-hyphen-edge.xyz.