MEV protection without a middleman. Encrypted batch auctions and onchain accountability.
Every time you trade on a DEX, you're essentially broadcasting your intentions to the entire network before your trade even executes. MEV bots can see what you're buying, how much you're trading, and how much slippage you're willing to tolerate. They use this information to frontrun and sandwich your transactions, extracting value at your expense.
Existing solutions usually involve trusting someone else. Private RPCs, relays, and centralized sequencers promise to protect your order flow, but you're effectively replacing one trust problem with another.
We built Blindfold to approach this differently.
Blindfold is an Ethereum-based MEV protection protocol built around two complementary mechanisms: preventing extraction before execution and holding protection providers accountable when they fail.
The first part is Blindfold itself: encrypted batch auctions.
Instead of submitting plaintext swaps, users encrypt their orders locally using timelock encryption tied to a future drand randomness round. These encrypted orders can travel through Ethereum's public mempool without exposing actionable trading information.
Once the designated round becomes available, anyone can reveal the orders. They're then settled together in a batch auction at a uniform clearing price, respecting individual limit prices.
We also integrated a custom Uniswap v4 hook that restricts access to the protected liquidity pool to our settlement contract. This prevents traders from bypassing the auction and directly manipulating that pool. Residual demand can be routed through Uniswap v4 or 1inch Aqua liquidity.
The second part is Court: an onchain accountability layer for MEV protection providers.
Say an RPC provider promises sandwich protection but a user's transaction still gets sandwiched. How do you prove that happened without trusting another third party?
Court lets users submit cryptographic evidence of qualifying sandwich attacks. It verifies Ethereum block headers, transaction and receipt inclusion proofs, and transaction signers directly in smart contracts.
Protection providers can post bonds, which become subject to penalties when a violation is successfully proven under the protocol's rules.
We run Court on Base while verifying Ethereum execution evidence, keeping adjudication separate from the chain where the attack occurred.
The idea is pretty simple: MEV protection shouldn't depend on blindly trusting whoever handles your transactions.
Blindfold makes traditional mempool-based sandwiching significantly harder by hiding orders and changing how trades execute. Court makes protection guarantees independently verifiable and economically enforceable.
Together, we're trying to make fair execution a property of the infrastructure itself rather than another promise from an intermediary.
We built Blindfold primarily using Solidity, Foundry, JavaScript, Go, and Rust, with integrations across drand, Uniswap v4, 1inch Aqua/SwapVM, and Ethereum-to-Base verification.
The interesting part wasn't just encrypting orders or writing an auction contract. It was figuring out how to connect encrypted order submission, delayed revelation, custody, batch clearing, external liquidity, and settlement without accidentally reintroducing the same MEV opportunities we were trying to eliminate.
1. Timelock encryption with drand
We integrated drand Quicknet for time-based order revelation.
Users encrypt their orders locally against a future drand round. Until the corresponding randomness becomes available, the order parameters remain concealed under the encryption scheme.
Our BatchAuction contract manages encrypted commitments, submission windows, reveal timing, and incentives. Anyone with the required ciphertext can reveal an order once its drand round becomes available.
We also implemented reveal bounties and penalties for commitments that remain unrevealed under the auction rules, so the system doesn't depend on a single operator voluntarily revealing orders.
2. Batch auctions and settlement
We split the execution logic into three main Solidity contracts:
Instead of executing swaps sequentially, settlement matches compatible orders at a common price. Where the batch has unmatched demand, it accesses external liquidity and validates the resulting marginal price.
This was one of the trickier parts: encryption alone doesn't prevent MEV if settlement ultimately exposes an exploitable sequence of individual swaps.
3. Uniswap v4 hooks
We built SealedPoolHook using Uniswap v4's hook architecture.
Its beforeSwap logic restricts swaps against the protected pool to our designated settlement contract. Traders cannot directly bypass the auction and use the protected pool as an ordinary AMM.
This lets us enforce the auction's execution policy at the liquidity layer instead of relying on frontend restrictions or offchain conventions.
4. 1inch Aqua and SwapVM
We also integrated 1inch Aqua using a custom SealedClearing instruction and BlindfoldAquaRouter.
This allows residual batch flow to interact with Aqua liquidity through programmable SwapVM execution, giving settlement another liquidity path beyond our protected Uniswap pool.
We wanted Blindfold to compose with existing liquidity infrastructure rather than requiring users and LPs to migrate into an entirely isolated ecosystem.
5. Court: proving sandwich attacks onchain
Court is a separate Solidity system centered around SandwichCourtVerifier.
The challenge here was taking Ethereum execution history and turning it into something a smart contract on Base could independently verify.
We implemented verification involving Ethereum block headers, RLP decoding, Merkle Patricia Trie proofs for transaction and receipt inclusion, and transaction signer recovery.
The verifier checks the submitted evidence against the protocol's defined sandwich conditions and supports bond-based penalties for protection providers.
For historical block verification, we support paths involving BLOCKHASH, EIP-2935, and L1-anchored evidence.
We reused and integrated Optimism's RLPReader, MerkleTrie, and Bytes utilities rather than implementing every low-level proof primitive from scratch.
6. Offchain watchers and proof generation
We built supporting JavaScript, Go, and Rust tooling to monitor Ethereum transactions, identify potential sandwich patterns, and construct the necessary cryptographic evidence.
The watcher handles expensive discovery and proof assembly offchain. The verifier handles validation onchain.
The important distinction is that Court doesn't have to trust the watcher. Anyone can independently construct evidence, and the contract checks whether it satisfies the required conditions.
7. Trading interface and developer tooling
We built a local interface covering the trading lifecycle: preparing encrypted orders, depositing funds, submitting commitments, tracking batches, revealing orders, settling, and withdrawing balances.
It also exposes vault balances, withdrawal restrictions, Court bond activity, and recent batch records.
Sensitive order preparation stays local, and transaction signing currently goes through a configured CLI wallet.
We use Foundry for Solidity development and testing, with supporting deployment scripts and integration tooling.
The most technically challenging parts were making encrypted orders compatible with deterministic settlement and verifying Ethereum execution evidence on Base.
We ended up building two systems that tackle MEV from opposite directions: one makes order-flow exploitation harder by construction, and the other makes qualifying failures of promised protection cryptographically provable and economically punishable.
That's the fundamental idea behind Blindfold: prevent what we can, and make the rest accountable.

