Pro
Perp DEX

Perpetuals Landscape

Perpetuals Landscape

Perps DEX Architecture

The design of perp DEXs across crypto have changed drastically over the past few years.

Offchain Order Books 

Typically, orderbook-based perp DEXs execute order matching offchain, keeping a traditional orderbook and matching engine on centralized servers or specialized sequencers. Only trade settlement or occasional state roots are posted onchain. This offloads heavy computation and enables high throughput with low latency. 

For example, dYdX v4 still runs the orderbook and margin engine offchain. This allows the protocol to have low latency* *and cost - trades can be confirmed near-instantly without waiting for block times. However, compared to fully onchain orderbooks, they suffer from lack of transparency: users must trust the operator to match orders fairly since activity happens in a “black box” offchain. This introduces risks of frontrunning or hidden advantages for insiders. It also exacerbates MEV at the order placement level, as a malicious sequencer/matching engine could reorder or cancel user orders for profit. Verifiable computation via zk-proofs is one solution being adopted to remove this trust requirement while keeping high performance (more on this below).

Fully Onchain Order Books 

Let us know what you loved about the report, what may be missing, or share any other feedback by filling out this short form. All responses are subject to our Privacy Policy and Terms of Service.
Get an edge with
Blockworks Intel
Upgrade For $4,500/Yr
Upgrade to unlock 300+ industry leading reports from our researchers, including:

Boccaccio leads coverage on gaming, consumer apps, alt-L1s and modular ecosystems.

Mentioned Assets
Outline
  • Perps DEX Architecture
  • Offchain Order Books
  • Fully Onchain Order Books
  • Peer-to-Pool Models
  • Hybrid Designs (Orderbook + AMM)
  • Intent-Centric Designs
  • Zero-Knowledge (“ZK”) Proofs and Rollups
  • Emerging Competitors: Lighter and Ostium
  • Lighter
  • Ostium
  • Drift and dYdX: Playing Catch-up
  • Drift
  • dYdX
  • Fees and Volumes
  • Volumes
  • Fees
Author
Boccaccio leads coverage on gaming, consumer apps, alt-L1s and modular ecosystems.
Mentioned Assets