---
eip: 8184
label: EIP-8184
title: LUCID encrypted mempool
status: Draft
type: Standards Track
category: Core
created: 2026-03-04
requires: 2718, 7805
official: https://eips.ethereum.org/EIPS/eip-8184
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8184.md
canonical: https://eips.huatuo.xyz/eip-8184/
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]
---

# EIP-8184: LUCID encrypted mempool

> Public encrypted mempool for commit-before-reveal inclusion of MEV-sensitive transactions, without enshrining a specific encryption scheme.

**TL;DR:** 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.

## What problem does it solve?

If 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.

It 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.

The 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.

## How it works

- **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.
- **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.
- **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.
- **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.
- **Inclusion lists.** FOCIL inclusion lists may carry STs and bundles, so encrypted transactions also get forced-inclusion guarantees.
- **Bundles.** STs sharing a key publisher can be grouped into a signed bundle with one commitment.

Senders 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.

## Sample code

Sender-side fee charge for an ST ticket, from the spec:

```python
max_priority_fee = ticket.max_priority_fee_per_gas * ticket.gas_limit
max_fee          = ticket.max_fee_per_gas * ticket.gas_limit
base_fee         = block.base_fee_per_gas * ticket.gas_limit

assert max_fee >= base_fee + ticket.key_publication_fee
priority_fee = min(max_priority_fee, max_fee - (base_fee + ticket.key_publication_fee))
tob_fee      = min(ticket.max_tob_fee,
                   max_fee - (base_fee + ticket.key_publication_fee + priority_fee))

ticket_fee = base_fee + ticket.key_publication_fee + priority_fee + tob_fee
ticket.signer.balance -= ticket_fee
ticket.signer.nonce   += 1

# DEM nonce for the envelope
nonce = keccak256(chain_id || ticket_from || ticket_nonce)[:12]
```

## Things to know

- **Status: Draft.** It is a large consensus and execution change requiring a hard fork, and parts of the spec are still marked TODO.
- It depends on FOCIL ([EIP-7805](/eip-7805/)) and builds on ePBS ([EIP-7732](/eip-7732/)).
- 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.
- The ticket sender and key publisher are visible, so builders could still censor by those fields.
- The `max_preceding_commitments` field lets a sender limit how many other sealed commitments may run before theirs, bounding residual front-running risk.
- 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/).


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-8184
