Lesson 0415 min
BUILDER · PRIVATE FLOW · TRADE-OFF

Does Hiding a Trade Make Ordering Fair?

Compare public and private order flow to see what searcher visibility changes—and which trust boundaries remain.

ObjectivesAfter this lesson, you should be able to:
  • Explain which visibility path private flow removes
  • Compare public ordering with private packaging
  • Recognize that protecting users does not remove ordering power
COURSE POSITIONStep 4 of 4
  1. PREVIOUSWho Back-runs the Price Gap a User Creates?
  2. CURRENTDoes Hiding a Trade Make Ordering Fair?

    Compare public and private order flow to see what searcher visibility changes—and which trust boundaries remain.

  3. NEXTFree sandbox
BEFORE YOU READ

Think about these questions first.

Choose an answer before opening the explanation. You can add anything unexpected to your review list.

Q01Does keeping an order out of the public mempool eliminate MEV?
SHORT ANSWER

It reduces observation by public searchers but hands ordering, censorship, and fallback power to private builders or relays. MEV does not disappear; the trust boundary moves.

Compared with your prediction:

Sending a transaction through private order flow can reduce the chance that public searchers see user intent, but it does not remove ordering power. Visibility moves to the relationship between the builder, proposer, and order-flow service—and a new trust boundary appears.

Public protection and private protection are different answers

The public path is observable and competitive, but it exposes intent to searchers. A private path may reduce public sandwiches, but you must trust the service not to censor, delay, leak, or reorder—and understand who receives payment.

ORDERING SIMULATIONVirtual pool · no real MEV
SECURITY 001 · MEMPOOL / ORDERING / MEV

Who gets to choose the order?

Put one swap into a deterministic pool, then watch visibility, ordering, slippage protection, and extraction change the result.

ScenarioPrivate flowPhase: idle
Pool spot price120.00credits / TOKEN
User quote90TOKEN
User actual output0TOKEN
Searcher P/L0credits, after tip
Visible to searcherNO0 mempool item(s)
FOCUS EXPERIMENT · PRIVATEWhat changes when the flow is private?

Repeat the user trade with public and private visibility, and name the trust boundary that remains.

Baseline quote 90 TOKENMin output 84 TOKENExtraction 0 TOKEN
From intent to shared statePrivate flow
  1. 01
    Mempoolintent is visible
  2. 02
    Block orderwho goes first
  3. 03
    Statereplayed by nodes
Mempool
Nothing submitted yet
Selected block order
Build a block after scanning

A mempool record is not a fill. The block order is not a payout. Only execution moves balances and pool reserves.

BALANCE LEDGER · NO VALUE FROM NOWHEREWho gained, who paid, and what moved?

Searcher profit, proposer tip, pool fees, and user output live on the same ledger.

Pool120,000 credits · 1,000 TOKEN
User30,000 credits · 200 TOKEN
Searcher20,000 credits · 200 TOKEN
Proposer0 credits · 0 TOKEN
Coach

Submit one user swap first. The key question is not whether the transaction is valid, but who can see and order it before it becomes shared state.

Ordering events1 EVENTS
  1. 01

    Public pool created: 120,000 credits + 1,000 TOKEN, any public transaction can change the next quote.

ACTION HISTORYExperiment timeline
1 state snapshots

Use the slider to return to an earlier step. Continuing from there replaces the later history with a new sequence.

Initial state
View experiment records →

Switch between plain public ordering and private flow with the same user swap. The lab does not label private flow “safe”; it removes one public visibility path and concentrates control among different participants.

Expand: how this step works
public:  user → public mempool → many searchers → builder → proposer
private: user → private relay/builder → proposer

This is not a simple decentralized/centralized binary. Ask who can compete, who can see orders, who can censor, whether payment is verifiable, and whether a failed private submission can return to a public path.

KNOWLEDGE CHECK

What risk does private order flow most directly reduce?

The final systems question

MEV design is not a search for a system with no profit. Ask instead: which public rule creates the profit, can the user set an acceptable boundary, is ordering power observable, and is there a traceable fallback after failure or censorship?

LESSON RECAPComplete the exercise and knowledge check first