Soda Labs

Trust no one, encrypt everything, trade safe

Jul 11, 2025 · Perspective

On a public blockchain, every pending transaction is visible before it executes. For traders, that transparency is not a feature. It is the mechanism by which their intentions are read, front-run and taxed.

Transparency: the price of doing business?

In 2020, a widely read article described Ethereum as a dark forest: a place where anything visible in the mempool is prey. A year earlier, the Flash Boys 2.0 paper had given the phenomenon its name, MEV, maximal extractable value. Bots watch pending transactions, reorder them, insert their own ahead and behind, and capture value that would otherwise have gone to the trader.

MEV pushes up costs for everyone. It increases slippage, robs users of opportunities, and adds to overall network gas costs. And the same transparency enables larger exploits: in 2022, a trader manipulated prices on Mango Markets and extracted 110 million dollars. His fraud conviction was overturned in 2025, in part because the permissionless platform simply executed the trades it was shown. On a transparent chain, the rules of the game are visible to everyone, including the people gaming them.

Dark pools and confidential DEXs

Two responses have emerged. One is the dark pool DEX, which hides orders until execution. Proposals of this kind, including one floated by Binance's founder, serve large traders well: whales get protection from being tracked and targeted. But a venue built for size does little for everyone else.

The other response is to build privacy into the trading venues people already use, so that every order, large or small, is confidential by default. That requires something stronger than hiding order flow behind an operator: it requires that no one, not even the venue, can see positions before they settle.

The best of both worlds

This is what garbled-circuit MPC provides. Orders are encrypted client-side with AES-256 and stay encrypted through matching and settlement; the computation runs directly on ciphertext, so there is no moment at which a bot, a validator or an operator can read intent from the wire. It is fast enough for real trading, runs on ordinary CPUs, and deploys either as a standalone network or as a co-processor layer next to an existing chain. Developers keep their language and their tooling; privacy is a property of the infrastructure, not a rewrite.

Compliance does not have to be the casualty. Selective disclosure through the on-chain access list (ACL) lets a venue grant an auditor or regulator scoped visibility into exactly the records they are entitled to, while the market sees nothing. Traders can choose confidentiality per transaction; oversight remains possible where it is legitimate.

The dark forest exists because the chain broadcasts everything to everyone. Encrypt the forest and the predators go hungry, while the market keeps working exactly as before.

Read more about how Bubble works, or see where confidential trading fits your stack.

← Back to the blog