Live on Solana Devnet

Live interactive demo

Run a real sandwich attack simulation, then submit a protected order through Lattice on Solana devnet. Every transaction is verifiable on-chain.

402·HTTP 402 → x402 micropayment → private Jito bundle
Bot steals
$99.74
vs
Lattice bots earn
$0.00
You keep
+2 SOL
1Run the bot attack
2Submit a protected order
3Watch the AI agent trade
Regular DEX
Orders are public — bots can see everything
VULNERABLE
Your trade
10,000 USDCSOLfair ≈ 100 USDC/SOL
What happens
01
Your order broadcast
Anyone watching the mempool can see exactly what you're buying.
02
Bot detects and front-runs
It buys SOL before your tx confirms — price moves instantly against you.
EXPLOIT
03
You fill at a worse price
The pool is skewed. You receive fewer tokens than you should have.
04
Bot exits, pockets the spread
It sells back immediately after you — zero risk, guaranteed profit.
You received
98.03 SOL
fair: 99 SOL
Bot profit
+99.74 USDC
stolen from your trade
Trade value extracted by bots
98 bpsmax 200 bps
Simulation log
press ▶ to run
Lattice DEX
Sealed-bid batch auction — bots see nothing
PROTECTED
Checking demo wallet…
Your trade
10,000 USDCSOLfair ≈ 100 USDC/SOL
How Lattice protects you
Your order is sealed
A cryptographic hash is posted on-chain. No one — not even validators — knows your price.
All orders reveal at once
After the window closes, everyone reveals simultaneously. No first-mover advantage.
One fair price clears the batch
A single uniform price where supply meets demand. Every participant gets the same deal.
You receive
SOL
run to see outcome
Bot profit
$0
Bot value extracted from your trade
0 bpslocked at zero
Live order log
press ▶ to run
Step 3 — autonomous AI agent
AI Trading Agent
Describe your trade in plain English — the agent decides how to execute it
AUTONOMOUS
Your order
AI reasoning
AI will reason about your trade here…
Execution
Waiting to run…

Press Enter or click ▶ · each fragment executes live on Solana devnet

Compliance Agent
Answers grounded in Lattice VARA compliance analysis · not legal advice
View full doc ↗
Ask anything about Lattice's regulatory status, AML approach, or VARA classification:
This is not legal advice.
How much are bots taking from you?
Based on 98 bps average MEV extraction — the exact rate from this demo
$
Bots steal / month
$98
98 bps per trade
You save / year on Lattice
$1.2k
$120.0k annual volume
Regular DEX
$10.0k/mo
What you keep
$9.9k/mo

Why bots can’t attack Lattice

You seal your order first
Before your order hits the blockchain, it's encrypted into a hash. Bots can see that you submitted something — but not what you're buying, at what price, or for how much.
Everyone reveals at the same time
Once the submission window closes, all traders reveal their orders simultaneously. There's no way for a bot to "go first" — the window is already shut.
One fair price for everyone
A single clearing price is calculated from all revealed orders. Every buyer and seller in the batch gets exactly the same price — there's no room for bots to exploit price differences.
Lattice · Live on Solana Devnet