What Is dYdX?

dYdX is a decentralized perpetual futures exchange built around an order book, rebuilt three times in search of a chain fast enough to run one. This post explains the matching mechanism, why dYdX became its own blockchain, and what would change the picture.
Lewis Jackson
CEO and Founder

Three architectures, one question. Synthetix answers "who takes the other side of a leveraged trade?" with stakers backing a pool of synthetic debt. GMX, covered in the previous post, answers with a basket of real assets acting as the house. dYdX gives the oldest answer in finance: another trader. Buyers and sellers post orders, a matching engine pairs them off, and the venue itself never takes a position. That's how the NYSE works, how Binance works, how nearly every serious market on earth works.

Which raises an obvious question: if order books are the standard everywhere else, why did DeFi spend years building everything except order books? Because running one on a blockchain is brutally hard, and dYdX's history is the clearest illustration of exactly how hard. The protocol has rebuilt itself from scratch three times, on three different chains, chasing the performance an order book demands.

dYdX is a decentralized perpetual futures exchange built around a central limit order book. Founded in 2017 by Antonio Juliano, a former Coinbase engineer, it's the longest-running serious attempt to put order-book derivatives on-chain — and for a stretch of 2021 it was the largest decentralized derivatives venue by a wide margin.

The Mechanism: An Order Book, and the Search for Somewhere to Run It

The trading mechanics carry over directly from traditional markets. Market makers post bids and asks at specific prices; takers cross the spread to fill them; a matching engine pairs orders by price and time priority. Depth comes from professional market-making firms running algorithms around the clock — not from passive depositors. That's the mirror image of GMX: no pool takes the other side of your trade, another participant does, and the venue's job is purely to match and settle. Tighter spreads for traders, but liquidity that's rented from professionals rather than pooled from the crowd.

The catch is computational. A serious matching engine processes thousands of order placements and cancellations per second, and market makers need to update quotes in milliseconds. Order books die without that speed — stale quotes get picked off, makers widen or leave, traders follow. No general-purpose blockchain in 2017, or frankly in 2021, could come close. dYdX's three rebuilds are three different answers to that single constraint.

Act one was Ethereum mainnet, where dYdX started with margin trading and early perpetuals. Every order was an L1 transaction; gas costs made active market making close to absurd. It worked as a proof of concept and not much more.

Act two, launched in 2021 as v3, moved perpetuals to a zero-knowledge rollup built on StarkWare's StarkEx. Orders were matched off-chain on servers run by dYdX Trading Inc., and only the resulting balance changes were batched, proven, and settled on-chain. Suddenly the exchange was fast — fast enough that in the 2021 bull market its daily volume occasionally rivaled major centralized exchanges. But be honest about the shape of the thing: a company operated the order book and the sequencer. Users kept custody of funds, which mattered, and everything else ran through one operator that could theoretically censor or reorder. Half decentralized, and the important half depended on trusting the company.

Act three is the interesting one. In late 2023, dYdX v4 abandoned Ethereum entirely and launched as its own blockchain — the dYdX Chain, built with the Cosmos SDK. The design goal was to decentralize the one piece v3 couldn't: matching. Each validator keeps the order book in memory; orders propagate across the validator network and matching happens as part of consensus itself, with results settling block by block. There's no central operator left to trust. Protocol fees, paid in USDC, flow to validators and DYDX stakers. When no existing chain is fast enough to be your exchange, the remaining move is to make the exchange its own chain.

One more piece, added in late 2024: MegaVault, a pooled USDC vault that provides liquidity to markets across the exchange, particularly new permissionless listings. Notice what that is — a GMX-style passive pool bolted onto an order-book venue. The two architectures this series has been contrasting are quietly converging, each borrowing the other's answer to bootstrapping liquidity.

Where the Constraints Live

The hard constraint is the liquidity loop. Order books have a network effect that pools don't: traders go where spreads are tight, market makers go where the flow is, and each depends on the other. The loop compounds in both directions — win it and dominance feeds itself, lose it and the exit spiral is just as self-reinforcing. dYdX has been on both sides of that loop.

Decentralized matching carries its own edge: validators see order flow before it's final, so the design has to keep block producers from front-running the queue they're building. Manageable, but a category of risk centralized engines simply don't have.

The soft constraints have the most teeth right now. Regulation first: dYdX has always geofenced US users, because leveraged perpetuals sit in the most sensitive corner of US market rules. Competition second, and it's the defining one: Hyperliquid took the same architectural thesis — an order book on a purpose-built chain — executed it with faster confirmation times and an aggressive listing cadence, and now clears the large majority of on-chain perps volume. dYdX proved the appchain-order-book category and then lost the lead in it; the company cut roughly a third of its staff in late 2024 as volumes fell.

What's Changing

The current era is consolidation rather than expansion. The Unlimited release made market listing permissionless, with MegaVault seeding liquidity for the long tail. A buyback program announced in 2025 directs a quarter of protocol fees toward repurchasing DYDX, an attempt to tie the token more tightly to exchange economics. And with US regulators opening a path for onshore crypto perpetuals in 2025, dYdX has said it's exploring a return to the American market — a door that was welded shut for the protocol's entire prior life. Each move is coherent; whether they compound into recovered ground is the open question.

What Would Confirm This Direction

Volume share stabilizing against Hyperliquid rather than continuing to bleed. MegaVault deposits growing while returns stay positive. The validator-run matching engine operating through volatility without incident or front-running scandal. Any concrete regulatory approval for US access, which would open a market no offshore competitor can legally touch.

What Would Break or Invalidate It

Continued share decline that takes dYdX below the depth professional market makers need — the exit spiral described above. A consensus-level matching failure or a demonstrated case of validator order-flow abuse. MegaVault losses deep enough to reverse deposits. Or a US regulatory path that materializes for centralized venues while excluding decentralized ones, which would delete the largest remaining upside case.

Timing Perspective

Now: whether the Unlimited-era economics — permissionless listings, MegaVault, buybacks — arrest the volume decline. Next: the order-book endgame against Hyperliquid over the coming year, plus any movement on US access. Later: whether "the exchange is its own chain" becomes the default template for on-chain derivatives. That's the same long question the Synthetix and GMX posts ended on, reached here from the third architecture, and it will take years to settle.

What This Doesn't Mean

None of this is a recommendation to trade perpetuals, deposit into MegaVault, or hold DYDX. Leveraged trading on any venue, decentralized or not, can zero out collateral quickly, and MegaVault deposits are counterparty liquidity with real loss potential — not savings. This post explains the mechanism and the constraints around it. This is the static explanation. The tracked version lives elsewhere.

Related Posts

See All
Crypto Research
New XRP-Focused Research Defining the “Velocity Threshold” for Global Settlement and Liquidity
A lot of people looking at my recent research have asked the same question: “Surely Ripple already understands all of this. So what does that mean for XRP?” That question is completely valid — and it turns out it’s the right question to ask. This research breaks down why XRP is unlikely to be the internal settlement asset of CBDC shared ledgers or unified bank platforms, and why that doesn’t mean XRP is irrelevant. Instead, it explains where XRP realistically fits in the system banks are actually building: at the seams, where different rulebooks, platforms, and networks still need to connect. Using liquidity math, system design, and real-world settlement mechanics, this piece explains: why most value settles inside venues, not through bridges why XRP’s role is narrower but more precise than most narratives suggest how velocity (refresh interval) determines whether XRP creates scarcity or just throughput and why Ripple’s strategy makes more sense once you stop assuming XRP must be “the core of everything” This isn’t a bullish or bearish take — it’s a structural one. If you want to understand XRP beyond hype and price targets, this is the question you need to grapple with.
Read Now
Crypto Research
The Jackson Liquidity Framework - Announcement
Lewis Jackson Ventures announces the release of the Jackson Liquidity Framework — the first quantitative, regulator-aligned model for liquidity sizing in AMM-based settlement systems, CBDC corridors, and tokenised financial infrastructures. Developed using advanced stochastic simulations and grounded in Basel III and PFMI principles, the framework provides a missing methodology for determining how much liquidity prefunded AMM pools actually require under real-world flow conditions.
Read Now
Crypto Research
Banks, Stablecoins, and Tokenized Assets
In Episode 011 of The Macro, crypto analyst Lewis Jackson unpacks a pivotal week in global finance — one marked by record growth in tokenized assets, expanding stablecoin adoption across emerging markets, and major institutions deepening their blockchain commitments. This research brief summarises Jackson’s key findings, from tokenized deposits to institutional RWA chains and AI-driven compliance, and explains how these developments signal a maturing, multi-rail settlement architecture spanning Ethereum, XRPL, stablecoin networks, and new interoperability layers.Taken together, this episode marks a structural shift toward programmable finance, instant settlement, and tokenized real-world assets at global scale.
Read Now

Related Posts

See All
No items found.
Lewsletter

Weekly notes on what I’m seeing

A personal letter I send straight to your inbox —reflections on crypto, wealth, time and life.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.