DYdX founder touts ‘tailor-made’ decentralized derivatives market

High volume and high speed — two desirable characteristics that rarely find themselves in the same room as blockchain technology

article-image

sirtravelalot/Shutterstock modified by Blockworks

share

Here’s a statistic that tends to be overlooked, according to dYdX founder Antonio Julio: Derivatives currently make up around 75% of all trading volume in the crypto market.

Deriving value from an underlying asset — rather than spot trading the asset itself — allows for a broader variety of financial mechanisms, such as leverage trading and futures. It also happens to create much greater technical demands on platforms that aspire to provide the service at the high volume and speed that clients demand.

But high volume and high speed are two desirable characteristics that rarely find themselves overlapping in the same Venn diagram as blockchain tech. 

On the Lightspeed podcast (Spotify/Apple), Julio explains how dYdX, the perpetual contract market, is trying to address performance demands by building its own custom blockchain, based on Cosmos SDK technology. “It’s tailor-made for derivatives trading, tailor-made for what we’re doing and we’re very excited about it,” he says.

Julio notes the transition to Cosmos is scheduled to take place this month, at which time the platform will be “fully decentralized.” 

“Right now, dYdX is hybrid-decentralized,” he says. “It is fully non-custodial. It is fully transparent with what happens on-chain. But the main thing that’s not decentralized right now is the order book and matching engine.”

Most decentralized exchanges, such as Uniswap and Curve, are automated market makers or AMMs, Julio says. It’s much simpler, he continues, to operate an AMM than an order book, which requires “much more performance in terms of transactions per second, low gas fees, et cetera.”

Read more:  Behind the times: How LVR is an ‘unfair game’ for DeFi liquidity providers

The reason order books demand such high volume and speed is that thousands of programmatically placed orders can take place every second, whether they’re filled or not. “No blockchain can support that,” Julio insists. “StarkWare and all the rest of the [layer-2s] can’t come close to the amount of performance that’s needed for that.”

“Potentially that will change long term,” Julio adds, “and we’re still excited to see that happen, hopefully, but that’s not the case right now.”

Decentralizing the order book

DYdX aims to solve the speed barrier by allowing buy and sell offers to take place off-chain. All settlements where trades are completed happen on-chain, Julio adds, “or at least through the StarkWare rollup that we’re using.”

“The main thing that we’re decentralizing is the order book and the matching engine,” Julio continues. “And that’s actually quite a difficult problem because these systems require really high throughput.”

“We took a look around and asked ourselves, okay, which blockchain can support on the order of a thousand plus transactions per second, ideally with very low or no gas fees.”

“The answer we came back with was none of them.”

The outcome was to build a “decentralized, but off-chain order book and matching system,” Julio says. Taking the concept of the Ethereum mempool, where transactions wait to be mined, Julio says “what if we had the entire order book not have to be put on-chain?”

“The validators can keep the entire state of the order book in their respective memories,” he says, thus furthering decentralization. “But you don’t actually have to add anything to the consensus state of the chain until a trade happens.”

It’s a unique property of the system, Julio says. “Only about one percent of the orders that get placed on any order book-based exchange get filled,” so the system requires “100x the scalability for placing and canceling orders.” The small percentage of trades that actually take place are settled on-chain, he says.

“It made this Cosmos chain that we’re building a really natural fit,” he says, “just because you can do really custom stuff if you own the entire stack.”


Start your day with top crypto insights from David Canellis and Katherine Ross. Subscribe to the Empire newsletter.

Tags

Upcoming Events

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Pack your bags, anon — we’re heading west! Join us in the beautiful Salt Lake City for the third installment of Permissionless. Come for the alpha, stay for the fresh air. Permissionless III promises unforgettable panels, killer networking opportunities, and mountains […]

recent research

Research report HL cover.jpg

Research

It's increasingly apparent that orderbooks represent the most efficient model for perpetual trading, with the primary obstacle being that the most popular blockchains are ill-suited for hosting a fully onchain orderbook. Hyperliquid is a perpetual trading protocol built on its own L1 that aims to replicate the user experience of centralized exchanges while offering a fully onchain orderbook.

article-image

Cryptocurrencies look like they are closing out a volatile week relatively flat

article-image

Consensys filed a lawsuit against the SEC in a Texas court on Thursday

article-image

Marathon Digital’s hash rate target of 50 EH/s by the end of 2025 may be achieved a year sooner than expected, CEO says

article-image

The Algorand Foundation touts the network as first to go after pool of 10 million global developers

article-image

Drive-to-earn DePIN project MapMetrics will slowly transition to the peaq blockchain

article-image

The suit, filed in a Texas court, alleges a regulatory overreach by the SEC