{"eip":8184,"title":"LUCID encrypted mempool","description":"Public encrypted mempool for commit-before-reveal inclusion of MEV-sensitive transactions, without enshrining a specific encryption scheme.","authors":["Anders Elowsson (@anderselowsson)","Justin Florentine (@jflo)","Julian Ma (@ma-julian)"],"status":"Draft","type":"Standards Track","category":"Core","created":"2026-03-04","requires":[2718,7805],"discussionsTo":"https://ethereum-magicians.org/t/eip-8184-lucid-encrypted-mempool/28017","repo":"EIPs","label":"EIP-8184","officialUrl":"https://eips.ethereum.org/EIPS/eip-8184","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8184.md","url":"https://eips.huatuo.xyz/eip-8184/","tldr":{"en":"A public encrypted mempool design: users send sealed transactions whose contents stay hidden until a builder has committed to including them, protecting MEV-sensitive trades without enshrining one encryption scheme.","ja":"公開の暗号化メンプールの設計。ユーザーは封印されたトランザクションを送り、ビルダーが取り込みをコミットするまで内容は隠されたままになる。特定の暗号方式をプロトコルに組み込まずに、MEV に敏感な取引を守る。","ko":"공개 암호화 멤풀 설계. 사용자는 봉인된 트랜잭션을 보내고, 빌더가 포함을 약속할 때까지 내용은 숨겨진 채로 남아 있다. 특정 암호화 방식을 프로토콜에 고정하지 않으면서 MEV에 민감한 거래를 보호한다.","zh":"一种公开的加密内存池设计：用户发送密封交易，其内容在构建者承诺将其打包之前一直保持隐藏，在不把某一种加密方案写入协议的前提下，保护对 MEV 敏感的交易。"},"tags":["mev","mempool","encryption","censorship-resistance","core"],"explainers":{"en":{"lang":"en","tldr":"A public encrypted mempool design: users send sealed transactions whose contents stay hidden until a builder has committed to including them, protecting MEV-sensitive trades without enshrining one encryption scheme.","tags":["mev","mempool","encryption","censorship-resistance","core"],"related":[7805,7732,2718,8141,8099],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8184/","markdown":"## What problem does it solve?\n\nIf a pending transaction can be read before it is ordered, someone can front-run it, sandwich it, or copy it. That is why much valuable order flow on Ethereum has moved to private relays and builder-run channels. Those channels rely on trust and private deals, which weakens builder competition and the permissionless path to blockspace.\n\nIt also undermines censorship resistance. [EIP-7805](/eip-7805/) (FOCIL) lets validators force transactions into blocks, but only transactions that are openly gossiped, which MEV-sensitive users avoid.\n\nThe ideal fix would be a single enshrined threshold-encryption scheme, but the authors argue none currently meets Ethereum's needs (no trusted setup, small keys, non-interactive decryption, quantum path). LUCID instead defines the **protocol plumbing** for encrypted transactions and leaves the actual decryption scheme off-protocol.\n\n## How it works\n\n- **Sealed transaction (ST).** A new transaction type made of a signed **ST ticket** plus a `ciphertext_envelope`. The ticket is public: it pays fees, uses the sender's nonce, names a **key publisher** (the party that will reveal the key, possibly the sender itself), and commits to the key hash and the hidden transaction. The envelope is ChaCha20-Poly1305 ciphertext of an ordinary type-2 transaction.\n- **Commit before reveal.** With enshrined PBS ([EIP-7732](/eip-7732/)), a builder's bid in the beacon block includes **ST-commitments** for the sealed transactions it will run. Only after that beacon block is attested does the key publisher release the decryption key.\n- **Top of next block.** Decrypted transactions run at the **top of the following block**, in the order fixed by the commitments (highest top-of-block fee first), and against the header of the block where they were committed. That share of the block is capped at 1/8 of the gas limit.\n- **Timeliness votes.** The payload timeliness committee votes on which keys arrived on time, so the next builder knows exactly which decrypted transactions it must include.\n- **Inclusion lists.** FOCIL inclusion lists may carry STs and bundles, so encrypted transactions also get forced-inclusion guarantees.\n- **Bundles.** STs sharing a key publisher can be grouped into a signed bundle with one commitment.\n\nSenders prepay through the ticket: base fee, priority fee, an optional top-of-block (ToB) fee, and a fee to the key publisher. The hidden transaction itself has zero gas price. If it is revealed and executes, unused gas and 127/128 of the ToB fee are refunded; if the key is never revealed, the ToB fee is forfeited.\n\n## Sample code\n\nSender-side fee charge for an ST ticket, from the spec:\n\n```python\nmax_priority_fee = ticket.max_priority_fee_per_gas * ticket.gas_limit\nmax_fee          = ticket.max_fee_per_gas * ticket.gas_limit\nbase_fee         = block.base_fee_per_gas * ticket.gas_limit\n\nassert max_fee \u003e= base_fee + ticket.key_publication_fee\npriority_fee = min(max_priority_fee, max_fee - (base_fee + ticket.key_publication_fee))\ntob_fee      = min(ticket.max_tob_fee,\n                   max_fee - (base_fee + ticket.key_publication_fee + priority_fee))\n\nticket_fee = base_fee + ticket.key_publication_fee + priority_fee + tob_fee\nticket.signer.balance -= ticket_fee\nticket.signer.nonce   += 1\n\n# DEM nonce for the envelope\nnonce = keccak256(chain_id || ticket_from || ticket_nonce)[:12]\n```\n\n## Things to know\n\n- **Status: Draft.** It is a large consensus and execution change requiring a hard fork, and parts of the spec are still marked TODO.\n- It depends on FOCIL ([EIP-7805](/eip-7805/)) and builds on ePBS ([EIP-7732](/eip-7732/)).\n- Choosing a key publisher is a security decision: a publisher can withhold keys or leak them. Users should prefer documented, audited publishers, or self-decrypt.\n- The ticket sender and key publisher are visible, so builders could still censor by those fields.\n- The `max_preceding_commitments` field lets a sender limit how many other sealed commitments may run before theirs, bounding residual front-running risk.\n- The spec sketches integration with frame transactions ([EIP-8141](/eip-8141/)) as future work. For a simpler blind-ordering idea, compare [EIP-8099](/eip-8099/).\n"},"ja":{"lang":"ja","tldr":"公開の暗号化メンプールの設計。ユーザーは封印されたトランザクションを送り、ビルダーが取り込みをコミットするまで内容は隠されたままになる。特定の暗号方式をプロトコルに組み込まずに、MEV に敏感な取引を守る。","tags":["mev","mempool","encryption","censorship-resistance","core"],"related":[7805,7732,2718,8141,8099],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8184/","markdown":"## 何を解決するのか\n\n保留中のトランザクションが順序付けの前に読めてしまうと、誰かがそれをフロントランしたり、サンドイッチしたり、コピーしたりできます。Ethereum の価値あるオーダーフローの多くが、プライベートリレーやビルダー運営のチャネルに移ったのはそのためです。これらのチャネルは信頼と非公開の取り決めに依存しており、ビルダー間の競争とブロックスペースへのパーミッションレスな経路を弱めます。\n\n検閲耐性も損ないます。[EIP-7805](/eip-7805/)（FOCIL）は、バリデータがトランザクションをブロックに強制的に含めることを可能にしますが、対象は公開でゴシップされるトランザクションだけで、MEV に敏感なユーザーはそれを避けます。\n\n理想的な解決策は、単一の閾値暗号方式をプロトコルに組み込むことですが、著者らは、現時点でそれが Ethereum のニーズ（trusted setup なし、小さな鍵、非対話的な復号、量子への道筋）を満たすものはないと主張しています。LUCID は代わりに、暗号化トランザクションのための**プロトコル上の配管**を定義し、実際の復号方式はプロトコルの外に残します。\n\n## 仕組み\n\n- **封印トランザクション（ST）。** 署名された **ST チケット**と `ciphertext_envelope` からなる新しいトランザクションタイプです。チケットは公開されており、手数料を支払い、送信者の nonce を使い、**鍵パブリッシャー**（鍵を公開する当事者で、送信者自身でもかまいません）を指定し、鍵のハッシュと隠されたトランザクションにコミットします。エンベロープは、通常の type-2 トランザクションを ChaCha20-Poly1305 で暗号化した暗号文です。\n- **公開前にコミット。** enshrined PBS（[EIP-7732](/eip-7732/)）では、ビルダーのビッドがビーコンブロックの中で、実行する封印トランザクションの **ST コミットメント**を含みます。そのビーコンブロックが attest されて初めて、鍵パブリッシャーが復号鍵を公開します。\n- **次のブロックの先頭。** 復号されたトランザクションは、**次のブロックの先頭**で、コミットメントで確定した順序（top-of-block 手数料の高い順）で、コミットされたブロックのヘッダーに対して実行されます。ブロックのこの部分はガスリミットの 1/8 が上限です。\n- **適時性の投票。** ペイロード適時性委員会は、どの鍵が時間内に届いたかを投票するため、次のビルダーはどの復号済みトランザクションを含めなければならないかを正確に知ります。\n- **インクルージョンリスト。** FOCIL のインクルージョンリストは ST やバンドルを載せることができ、暗号化トランザクションにも強制取り込みの保証が与えられます。\n- **バンドル。** 鍵パブリッシャーを共有する ST は、1 つのコミットメントを持つ署名付きバンドルにまとめられます。\n\n送信者はチケットを通じて前払いします。ベースフィー、プライオリティフィー、任意の top-of-block（ToB）手数料、そして鍵パブリッシャーへの手数料です。隠されたトランザクション自体のガス価格はゼロです。公開されて実行された場合、未使用のガスと ToB 手数料の 127/128 が返金されます。鍵が一度も公開されなければ、ToB 手数料は没収されます。\n\n## サンプルコード\n\n仕様にある、ST チケットの送信者側の手数料徴収:\n\n```python\nmax_priority_fee = ticket.max_priority_fee_per_gas * ticket.gas_limit\nmax_fee          = ticket.max_fee_per_gas * ticket.gas_limit\nbase_fee         = block.base_fee_per_gas * ticket.gas_limit\n\nassert max_fee \u003e= base_fee + ticket.key_publication_fee\npriority_fee = min(max_priority_fee, max_fee - (base_fee + ticket.key_publication_fee))\ntob_fee      = min(ticket.max_tob_fee,\n                   max_fee - (base_fee + ticket.key_publication_fee + priority_fee))\n\nticket_fee = base_fee + ticket.key_publication_fee + priority_fee + tob_fee\nticket.signer.balance -= ticket_fee\nticket.signer.nonce   += 1\n\n# DEM nonce for the envelope\nnonce = keccak256(chain_id || ticket_from || ticket_nonce)[:12]\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** ハードフォークを必要とする大規模なコンセンサスと実行の変更で、仕様の一部はまだ TODO のままです。\n- FOCIL（[EIP-7805](/eip-7805/)）に依存し、ePBS（[EIP-7732](/eip-7732/)）の上に構築されます。\n- 鍵パブリッシャーの選択はセキュリティ上の判断です。パブリッシャーは鍵を差し控えることも漏らすこともできます。ユーザーは、文書化され監査されたパブリッシャーを選ぶか、自分で復号すべきです。\n- チケットの送信者と鍵パブリッシャーは見えるため、ビルダーはそれらのフィールドで検閲することも依然として可能です。\n- `max_preceding_commitments` フィールドにより、送信者は自分より前に実行できるほかの封印コミットメントの数を制限でき、残るフロントランニングのリスクに上限を設けられます。\n- 仕様は、フレームトランザクション（[EIP-8141](/eip-8141/)）との統合を将来の課題として素描しています。より単純なブラインド順序付けのアイデアとしては、[EIP-8099](/eip-8099/) と比較してください。\n"},"ko":{"lang":"ko","tldr":"공개 암호화 멤풀 설계. 사용자는 봉인된 트랜잭션을 보내고, 빌더가 포함을 약속할 때까지 내용은 숨겨진 채로 남아 있다. 특정 암호화 방식을 프로토콜에 고정하지 않으면서 MEV에 민감한 거래를 보호한다.","tags":["mev","mempool","encryption","censorship-resistance","core"],"related":[7805,7732,2718,8141,8099],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8184/","markdown":"## 어떤 문제를 해결하나요?\n\n대기 중인 트랜잭션을 순서가 정해지기 전에 읽을 수 있다면, 누군가 그것을 프런트러닝하거나, 샌드위치하거나, 복사할 수 있습니다. 이더리움의 가치 있는 오더 플로 상당수가 프라이빗 릴레이와 빌더가 운영하는 채널로 옮겨 간 이유입니다. 이런 채널은 신뢰와 비공개 거래에 의존하므로 빌더 간 경쟁과 블록 공간으로 가는 퍼미션리스 경로를 약화시킵니다.\n\n검열 저항성도 해칩니다. [EIP-7805](/eip-7805/)(FOCIL)는 검증자가 트랜잭션을 블록에 강제로 포함시킬 수 있게 하지만, 공개적으로 가십되는 트랜잭션만 해당되고 MEV에 민감한 사용자는 그것을 피합니다.\n\n이상적인 해법은 하나의 임계값 암호화 방식을 프로토콜에 내장하는 것이지만, 저자들은 현재 이더리움의 요구(신뢰된 설정 없음, 작은 키, 비대화형 복호화, 양자 대비 경로)를 충족하는 방식이 없다고 주장합니다. LUCID는 대신 암호화 트랜잭션을 위한 **프로토콜 배관**을 정의하고 실제 복호화 방식은 프로토콜 밖에 둡니다.\n\n## 어떻게 동작하나요?\n\n- **봉인 트랜잭션(ST).** 서명된 **ST 티켓**과 `ciphertext_envelope`로 구성된 새 트랜잭션 타입입니다. 티켓은 공개이며, 수수료를 내고, 송신자의 nonce를 사용하고, **키 퍼블리셔**(키를 공개할 당사자이며 송신자 자신일 수도 있음)를 지정하고, 키 해시와 숨겨진 트랜잭션에 커밋합니다. 엔벨로프는 일반 type-2 트랜잭션을 ChaCha20-Poly1305로 암호화한 암호문입니다.\n- **공개 전에 커밋.** enshrined PBS([EIP-7732](/eip-7732/))에서는 빌더의 입찰이 비콘 블록 안에 실행할 봉인 트랜잭션의 **ST 커밋먼트**를 포함합니다. 그 비콘 블록이 attest된 후에야 키 퍼블리셔가 복호화 키를 공개합니다.\n- **다음 블록의 맨 위.** 복호화된 트랜잭션은 **다음 블록의 맨 위**에서, 커밋먼트로 확정된 순서(top-of-block 수수료가 높은 순)대로, 커밋된 블록의 헤더를 기준으로 실행됩니다. 블록에서 이 부분은 가스 한도의 1/8로 제한됩니다.\n- **적시성 투표.** 페이로드 적시성 위원회가 어떤 키가 제때 도착했는지 투표하므로, 다음 빌더는 어떤 복호화된 트랜잭션을 반드시 포함해야 하는지 정확히 압니다.\n- **인클루전 리스트.** FOCIL 인클루전 리스트는 ST와 번들을 담을 수 있어 암호화된 트랜잭션도 강제 포함 보장을 받습니다.\n- **번들.** 같은 키 퍼블리셔를 쓰는 ST는 하나의 커밋먼트를 가진 서명된 번들로 묶을 수 있습니다.\n\n송신자는 티켓으로 선납합니다. 기본 수수료, 우선 수수료, 선택적인 top-of-block(ToB) 수수료, 그리고 키 퍼블리셔에게 가는 수수료입니다. 숨겨진 트랜잭션 자체의 가스 가격은 0입니다. 공개되어 실행되면 사용하지 않은 가스와 ToB 수수료의 127/128이 환불되고, 키가 끝내 공개되지 않으면 ToB 수수료는 몰수됩니다.\n\n## 샘플 코드\n\n사양에 나오는, ST 티켓에 대한 송신자 측 수수료 징수:\n\n```python\nmax_priority_fee = ticket.max_priority_fee_per_gas * ticket.gas_limit\nmax_fee          = ticket.max_fee_per_gas * ticket.gas_limit\nbase_fee         = block.base_fee_per_gas * ticket.gas_limit\n\nassert max_fee \u003e= base_fee + ticket.key_publication_fee\npriority_fee = min(max_priority_fee, max_fee - (base_fee + ticket.key_publication_fee))\ntob_fee      = min(ticket.max_tob_fee,\n                   max_fee - (base_fee + ticket.key_publication_fee + priority_fee))\n\nticket_fee = base_fee + ticket.key_publication_fee + priority_fee + tob_fee\nticket.signer.balance -= ticket_fee\nticket.signer.nonce   += 1\n\n# DEM nonce for the envelope\nnonce = keccak256(chain_id || ticket_from || ticket_nonce)[:12]\n```\n\n## 알아둘 점\n\n- **상태: Draft.** 하드포크가 필요한 대규모 합의 및 실행 변경이며, 사양의 일부는 아직 TODO로 표시되어 있습니다.\n- FOCIL([EIP-7805](/eip-7805/))에 의존하고 ePBS([EIP-7732](/eip-7732/))를 기반으로 합니다.\n- 키 퍼블리셔를 고르는 것은 보안 결정입니다. 퍼블리셔는 키를 내놓지 않거나 유출할 수 있습니다. 사용자는 문서화되고 감사를 받은 퍼블리셔를 선호하거나 직접 복호화해야 합니다.\n- 티켓 송신자와 키 퍼블리셔는 보이므로 빌더가 그 필드를 근거로 여전히 검열할 수 있습니다.\n- `max_preceding_commitments` 필드를 사용하면 송신자가 자기 것보다 앞서 실행될 수 있는 다른 봉인 커밋먼트의 수를 제한해, 남은 프런트러닝 위험에 상한을 둘 수 있습니다.\n- 사양은 프레임 트랜잭션([EIP-8141](/eip-8141/))과의 통합을 향후 과제로 대략 제시합니다. 더 단순한 블라인드 정렬 아이디어는 [EIP-8099](/eip-8099/)와 비교해 보세요.\n"},"zh":{"lang":"zh","tldr":"一种公开的加密内存池设计：用户发送密封交易，其内容在构建者承诺将其打包之前一直保持隐藏，在不把某一种加密方案写入协议的前提下，保护对 MEV 敏感的交易。","tags":["mev","mempool","encryption","censorship-resistance","core"],"related":[7805,7732,2718,8141,8099],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8184/","markdown":"## 它解决什么问题？\n\n如果待处理的交易在被排序之前就能被读取，就会有人对它抢跑、夹击或复制。这就是以太坊上许多有价值的订单流转向私有中继和构建者运营渠道的原因。这些渠道依赖信任和私下约定，削弱了构建者之间的竞争，也削弱了无需许可地获取区块空间的途径。\n\n它还损害了抗审查性。[EIP-7805](/eip-7805/)（FOCIL）让验证者可以强制把交易纳入区块，但只限于公开广播的交易，而对 MEV 敏感的用户会避开公开广播。\n\n理想的解决办法是把单一的门限加密方案写入协议，但作者认为目前没有任何方案满足以太坊的需求（无可信设置、密钥小、非交互式解密、有抗量子路径）。LUCID 则定义了加密交易的**协议管道**，把具体的解密方案留在协议之外。\n\n## 它如何运作\n\n- **密封交易（ST）。** 一种新的交易类型，由一个已签名的 **ST 票据**和一个 `ciphertext_envelope` 组成。票据是公开的：它支付费用，使用发送方的 nonce，指定一个**密钥发布者**（负责揭示密钥的一方，也可以是发送方自己），并承诺密钥哈希和被隐藏的交易。信封是普通 type-2 交易经 ChaCha20-Poly1305 加密后的密文。\n- **先承诺后揭示。** 在 enshrined PBS（[EIP-7732](/eip-7732/)）下，构建者在信标区块中的出价包含它将运行的密封交易的 **ST 承诺**。只有在该信标区块获得见证之后，密钥发布者才会释放解密密钥。\n- **下一个区块的顶部。** 解密后的交易在**下一个区块的顶部**运行，顺序由承诺确定（top-of-block 费用最高者优先），并针对其被承诺时所在区块的区块头。区块中这一部分的占比上限为 gas 上限的 1/8。\n- **及时性投票。** 负载及时性委员会对哪些密钥按时到达进行投票，这样下一个构建者就能确切知道必须包含哪些解密后的交易。\n- **包含列表。** FOCIL 的包含列表可以携带 ST 和捆绑包，这样加密交易也能获得强制纳入的保证。\n- **捆绑包。** 共用同一个密钥发布者的 ST 可以归为一个带有单一承诺的已签名捆绑包。\n\n发送方通过票据预付费用：基础费、优先费、可选的 top-of-block（ToB）费用，以及支付给密钥发布者的费用。被隐藏的交易本身 gas 价格为零。如果它被揭示并执行，未使用的 gas 和 127/128 的 ToB 费用会被退还；如果密钥始终没有被揭示，ToB 费用将被没收。\n\n## 示例代码\n\n规范中 ST 票据的发送方费用扣除：\n\n```python\nmax_priority_fee = ticket.max_priority_fee_per_gas * ticket.gas_limit\nmax_fee          = ticket.max_fee_per_gas * ticket.gas_limit\nbase_fee         = block.base_fee_per_gas * ticket.gas_limit\n\nassert max_fee \u003e= base_fee + ticket.key_publication_fee\npriority_fee = min(max_priority_fee, max_fee - (base_fee + ticket.key_publication_fee))\ntob_fee      = min(ticket.max_tob_fee,\n                   max_fee - (base_fee + ticket.key_publication_fee + priority_fee))\n\nticket_fee = base_fee + ticket.key_publication_fee + priority_fee + tob_fee\nticket.signer.balance -= ticket_fee\nticket.signer.nonce   += 1\n\n# DEM nonce for the envelope\nnonce = keccak256(chain_id || ticket_from || ticket_nonce)[:12]\n```\n\n## 需要注意\n\n- **状态：Draft。** 这是一项需要硬分叉的大型共识层与执行层变更，规范的部分内容仍标记为 TODO。\n- 它依赖 FOCIL（[EIP-7805](/eip-7805/)），并建立在 ePBS（[EIP-7732](/eip-7732/)）之上。\n- 选择密钥发布者是一个安全决策：发布者可能扣留密钥，也可能泄露密钥。用户应优先选择有文档、经过审计的发布者，或者自行解密。\n- 票据发送方和密钥发布者是可见的，所以构建者仍然可以依据这些字段进行审查。\n- `max_preceding_commitments` 字段让发送方可以限制在自己之前最多可以运行多少其他密封承诺，从而约束剩余的抢跑风险。\n- 规范把与 frame 交易（[EIP-8141](/eip-8141/)）的集成作为未来工作做了初步设想。对于更简单的盲排序思路，请对比 [EIP-8099](/eip-8099/)。\n"}}}
