DYdX steps closer to v4 by open-sourcing code

DYdX introduces a decentralized off-chain order book

article-image

Maurice NORBERT/Shutterstock modified by Blockworks

share

Decentralized crypto derivatives exchange dYdX has taken a key step towards launching its decentralized v4 by open-sourcing its code.

DYdX first revealed its intentions to transition from being an Ethereum layer-2 to becoming an appchain using the Cosmos SDK in June last year.

By open-sourcing its code, the dYdX team is hoping to receive community feedback and come to a consensus between its third-party validators and node operators before launching the dYdX mainnet.

According to information on DeFiLlama, dYdX currently has a total value locked (TVL) of $364 million, and the protocol’s token commands a market cap of $404.35 million. It has a fully diluted valuation of $2.27 billion and is one of the largest crypto derivatives exchanges today. 

Read more: Decentralized exchange dYdX to build its own blockchain

In an interview with Blockworks, Antonio Juliano, founder of dYdX said that the team has been taking a progressive approach to decentralization.

“For a long time, we’ve been hybrid centralized and decentralized, meaning that we’ve had smart contracts that custody all the user funds, but the order book and matching engine, the trading infrastructure generally has been centralized until this point,” Juliano said.

A key feature of dYdX v4 will be that the dYdX chain will be fully decentralized, and its code will be completely open source. This means that dYdX trading will not collect trading fees from v4, and community members and stakeholders will be solely responsible for decision-making. Fees accrued will be redistributed to the dYdX stakers.

“We’re going to become just the software developers, and we will no longer be operating the network anymore,” Juliano said. 

The dYdX exchange that exists today will still be operating for an undisclosed period of time, even if the dYdX app chain passes the on-chain vote for mainnet launch. 

Challenges

One of the biggest challenges in creating a decentralized exchange, Juliano notes, was looking at ways to create a decentralized order book and matching engine systems.

According to Juliano, roughly 1,000 orders are placed on dYdX every second and the team wanted to design infrastructure that could support that level of scalability. 

“When we started this project a year and a half ago, we looked at a bunch of different things, different [layer-2], and ultimately came away with the answer that no blockchain (at the time) could support the level of throughput that’s needed for an order book based product. What we did based on that is we built a decentralized off-chain order book,” he said.

Read more: Crypto funding: A focus on decentralized orderbook exchanges in $66M week

This means that the order book itself, though not on the blockchain and not in consensus, is run by the dYdX validators.

“This is similar to the mempool of Ethereum, but a very specialized mempool, that is an order book and all of the nodes themselves will run that. Only once an order gets matched does it actually go on-chain,” he said. 

dYdX v4 has been audited by Informal Systems. The team has also completed internal security audits with engineers over the past few weeks, Juliano told Blockworks. 

Over the following weeks, the team will look into migrating DYDX, the chain’s native token, onto v4 and stake to validators before officially launching mainnet. 


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

Explore the growing intersection between crypto, macroeconomics, policy and finance with Ben Strack, Casey Wagner and Felix Jauvin. Subscribe to the Forward Guidance newsletter.

Get alpha directly in your inbox with the 0xResearch newsletter — market highlights, charts, degen trade ideas, governance updates, and more.

The Lightspeed newsletter is all things Solana, in your inbox, every day. Subscribe to daily Solana news from Jack Kubinec and Jeff Albus.

Tags

Upcoming Events

Javits Center North | 445 11th Ave

Tues - Thurs, March 18 - 20, 2025

Blockworks’ Digital Asset Summit (DAS) will feature conversations between the builders, allocators, and legislators who will shape the trajectory of the digital asset ecosystem in the US and abroad.

Brooklyn, NY

TUES - THURS, JUNE 24 - 26, 2025

Permissionless IV serves as the definitive gathering for crypto’s technical founders, developers, and builders to come together and create the future.If you’re ready to shape the future of crypto, Permissionless IV is where it happens.

recent research

LTIPPanalysis.png

Research

This report is a retroactive analysis of Arbitrum's Long Term Incentives Pilot Program (LTIPP). We collect relevant data at a protocol level and review bi-weekly updates to analyze recipients, their strategies, and the impact of the incentives on high level growth metrics. In particular, we want to highlight outperformers and underperformers, and glean any best practices or lessons learned for protocols distributing ARB incentives in the future. The overarching goal is to synthesize lessons learned that the DAO can reference as it begins thinking about future incentives programs–namely, the working group for incentives that is being actively discussed–especially as Timeboost introduces new conditions for trading and economic activity.

article-image

Sponsored

AI project Zerebro intersects the spheres of artificial intelligence, finance, art, music, and culture

article-image

Allmight is focused on furthering the United States’ leadership in crypto

article-image

The conditions Charles Schwab is waiting for before jumping headfirst into crypto could take shape soon

article-image

The FCA’s director of payments and digital assets shared some takeaways from chats with crypto companies and law firms

article-image

Let’s take a look at how US equities typically perform this time of year and what we might see in the coming days

article-image

Lumina introduces transparency and permissionless integration via an OP stack-based optimium, challenging traditional oracle designs