Decentralized perps exchanges have always struggled with a basic fact:
Blockchains are slow for order updates. Not because they’re badly designed — because ordering transactions globally is computationally expensive.
Even the fastest chains (sub-second blocktimes) introduce enough latency to kill market-maker risk tolerance (few hundred milliseconds). Combining Bluefin Pro's design with Nautilus, we can offload order handling into a verifiable TEE, prove correctness cryptographically, and only bring final balance changes on-chain.
The diagram above depicts the flow of the exchange, which can be broken down in the following steps:
-
Users deposit into non-custodial smart contracts on Sui. Funds are always controlled by the user and verifiable on-chain
-
Users sign orders client-side. Signed orders are routed via a decentralized hosted frontend, on Walrus, to a TEE enclave (powered by Nautilus)
-
Inside the enclave orders are placed, canceled, or matched in less than 1ms with cross + isolated margining support.
-
Every action (open order, cancel, match) produces a cryptographic attestation
-
Every input, output, and attestation (even for cancels and non-trades) is published to Walrus, a decentralized storage network
-
Checkpoints are published every few seconds for efficient validation
-
Only matches (trades) affect balances and are submitted on-chain
-
Anyone can independently reproduce the TEE’s computation from public inputs, outputs, and checkpointed orderbook states, retrieved permissionlessly from Walrus
-
Code binaries will all be open-source for full transparency. Anyone running Bluefin’s Matching Engine can maintain a state of the orderbook and continually produce the same attestations for verifications. No permission needed.
The result: Decentralized, verifiable performance at CEX-like speeds.
Why does this matter?
• Trustless execution: Your funds stay in your control. The TEE only matches orders and outputs attestations.
• Public verifiability: Anyone can independently validate trades and order flow history using Walrus data + checkpoints.
• Decentralized settlement: Final balances, margins, and liquidations are enforced by Sui smart contracts.
• Significantly better liquidity: Fast cancels mean tighter spreads, deeper books—better for traders, better for volume, stronger network effects.