Introducing the dYdX Chain Open-source Code

Introduction

We’re excited to announce the dYdX Chain Github repositories are now fully public! Our introduction of the dYdX Chain (v4) was the first step toward making dYdX fully decentralized and transparent—making the code public is the next step. All core repositories, including the validator software, indexer, web front end, and supporting libraries are now public on GitHub.

The dYdX Chain code is still being tested (try out the Testnet!) and we aim to release the production ready code later this year. Once complete, we encourage the community to use these repositories as a starting point to grow the dYdX ecosystem.

Find the repos and details here:

List of public repos

  • v4-chain - Validator and indexer code, protobuf definitions, scripts to generate Python and Javascript libraries using Telescope
  • v4-abacus - Shared client business logic used across both web and mobile
  • v4-web - The web front end for the dYdX Chain
  • v4-clients - Python and Javascript SDK clients
  • v4-localization - Translations for all copy across the web and mobile apps
  • v4-documentation - dYdX Chain documentation
  • v4-testnets - Coordination repos for previous testnets
  • v4-infrastructure - Terraform for indexer deployments, metrics ingestor, indexer dashboards and monitors

Licensing

The repos are currently available to the public under a Business Source License (BSL) as the code is not yet production ready. After Testnet, when the first production version of the software is released, the licenses will transition to an open source license (GNU Affero GPL).

Experience DeFi's Pro Trading Platform

Get Started

dYdX

January 24, 2025
Last Update:
September 12, 2023

Disclaimer

© 2025 dYdX International Ltd. All rights reserved.

dYdX is a decentralised, disintermediated and permissionless protocol, and is not available in the U.S. or to other Restricted Persons. All use of dYdX software is subject to the dYdX Software Terms of Use. 

dYdX International Ltd ("DI"), dYdX Trading Inc. dba dYdX Labs (“dYdX Labs”) and their affiliates do not develop, control or participate in the operation of any component of the dYdX protocol for public use.

To the extent this content describes anticipated features in the open source dYdX software, the implementation of these features in any live deployment of dYdX software will be decided by the relevant deployer community. 

The information provided herein is for general informational purposes only, and DI reserves the right to update, modify, or amend any contents herein, at its sole discretion and without prior notice. Nothing herein should be used or considered as legal, financial, tax, or any other advice, nor as an instruction or invitation to act in any way by anyone.

Engaging in any activity involving crypto-assets (including staking, trading crypto assets and depositing into the MegaVault) is risky due to high volatility. Returns are not guaranteed and may fluctuate over time depending on multiple factors, and you may lose your entire investment, particularly when using leverage. The inclusion of any launchable market on dYdX does not represent endorsement of the projects and all listings are community-driven. You should perform your own research and due diligence before engaging in any activity involving crypto-assets. In no event will DI, dYdX Labs or their affiliates be liable for any loss or damage, including without limitation, indirect or consequential loss or damage, arising from or in connection with the use of this content. By continuing to access this content, you agree to the above and accept the possibility of changes in the information provided.

About dYdX

At dYdX, we’re reimagining what DeFi and perpetual trading can be. Combining the freedom of decentralization with deep liquidity, advanced order types, a high-performance API, and instant market listings, dYdX empowers you to trade boldly and confidently.

Get Started

Get Involved

dYdX is a decentralised, disintermediated and permissionless protocol, and is not available in the U.S. or to other Restricted Persons. All use of dYdX software is subject to the dYdX Software Terms of Use.

dYdX International Ltd ("DI"), dYdX Trading Inc. dba dYdX Labs (“dYdX Labs”) and their affiliates do not develop, control or participate in the operation of any component of the dYdX protocol for public use.

To the extent this content describes anticipated features in the open source dYdX software, the implementation of these features in any live deployment of dYdX software will be decided by the relevant deployer community.

The information provided herein is for general informational purposes only, and DI reserves the right to update, modify, or amend any contents herein, at its sole discretion and without prior notice. Nothing herein should be used or considered as legal, financial, tax, or any other advice, nor as an instruction or invitation to act in any way by anyone.

Engaging in any activity involving crypto-assets (including staking, trading crypto assets and depositing into the MegaVault) is risky due to high volatility. Returns are not guaranteed and may fluctuate over time depending on multiple factors, and you may lose your entire investment, particularly when using leverage. The inclusion of any launchable market on dYdX does not represent endorsement of the projects and all listings are community-driven. You should perform your own research and due diligence before engaging in any activity involving crypto-assets. In no event will DI, dYdX Labs or their affiliates be liable for any loss or damage, including without limitation, indirect or consequential loss or damage, arising from or in connection with the use of this content. By continuing to access this content, you agree to the above and accept the possibility of changes in the information provided.

Leaving site