dYdX DYDX
About
What Is dYdX ?
dYdX is DeFi’s pro trading platform and a pioneer in decentralized finance, known for being the first to offer decentralized margin trading and derivatives, as well as inventing flash loans and DEX aggregators in 2018. Built on a custom Layer-1 blockchain using the Cosmos SDK, dYdX provides a professional-grade, decentralized trading experience with high leverage, deep liquidity, and low fees. Governed by the community through the DYDX token, dYdX is focused on delivering a transparent and user-driven financial system. This November, dYdX Unlimited launches, bringing instant market listings, the MegaVault liquidity engine, revamped trading rewards, and lifetime affiliate commissions, setting a new standard for decentralized trading.
What Is dYdX Chain DYDX ?
The dYdX Chain is a proof-of-stake blockchain network built using the Cosmos SDK and leveraging CometBFT for consensus. The DYDX token is the L1 protocol token for the dYdX Chain, as agreed by the dYdX community through dYdX governance (Snapshot vote and an on-chain vote)
Holders of the DYDX token can use their tokens to run a Validator or stake their tokens to a Validator in order to participate in securing and governing the dYdX Chain network.
What is the Allocation for DYDX?
The allocation of DYDX is as follows:
- 27.7% is allocated to Investors
- 15.3% is allocated to Employees and Consultants of dYdX Trading or Foundation
- 7.0% is allocated to Future Employees & Consultants of dYdX
- 14.5% is allocated to User Trading Rewards
- 5.0% is allocated to Retroactive Rewards
- 3.3% is allocated to Liquidity Provider Rewards
- 26.1% is allocated to Community Treasury
- 0.6% is allocated to Liquidity Staking Pool
- 0.5% is allocated to Safety Staking Pool
Source: dYdX Documentation
AI Analysis
What is the dYdX (DYDX) cryptocurrency good for? What are its main use cases?
dYdX (DYDX) is a decentralized cryptocurrency and the native token of the dYdX protocol, a decentralized exchange (DEX) and lending platform built on the Ethereum blockchain. The main use cases of DYDX are:
- Governance: DYDX holders can participate in the governance of the dYdX protocol by voting on proposals to upgrade the protocol, add new features, or change parameters. This allows holders to have a say in the development and direction of the protocol.
- Staking: DYDX can be staked to earn rewards and interest. Holders can stake their tokens to help secure the protocol and earn a portion of the fees generated by the platform.
- Discounts on trading fees: DYDX holders can receive discounts on trading fees when using the dYdX platform. The more DYDX a user holds, the larger the discount they can receive.
- Liquidity provision: DYDX can be used to provide liquidity to the dYdX platform, allowing users to earn interest and fees on their deposited assets.
- Perpetual contracts: DYDX is used to collateralize perpetual contracts on the dYdX platform, allowing users to trade with up to 20x leverage.
- Decentralized lending: DYDX can be used as collateral for borrowing other assets on the dYdX platform, allowing users to access loans without the need for traditional credit checks.
- Ecosystem development: The dYdX team uses a portion of the DYDX tokens to fund the development of the ecosystem, including the creation of new features, partnerships, and community building initiatives.
Overall, the dYdX protocol and its native token, DYDX, aim to provide a decentralized and community-driven platform for trading, lending, and borrowing, with a focus on transparency, security, and fairness. The main use cases of DYDX are centered around governance, staking, and providing liquidity to the platform, as well as using it as a means of payment for fees and services within the ecosystem.
What blockchain does dYdX use? Is it its own blockchain or built on top of another?
dYdX, a decentralized perpetuals trading platform, initially operated on the Ethereum blockchain but has since transitioned to its own Layer 2 (L2) blockchain called dYdX Chain.
Key Details:
Current Blockchain: dYdX Chain (a Cosmos-based blockchain using the Cosmos SDK and Tendermint consensus).
- Launched in July 2023 as a standalone blockchain to improve scalability, speed, and lower costs.
- Uses Cosmos SDK for modular development and Tendermint BFT for consensus.
- Native token: DYDX (used for governance and staking).
Previous Infrastructure:
- Ethereum (L1): Originally used Ethereum for smart contracts and settlement.
- StarkEx (L2): Later migrated to StarkEx (a ZK-rollup by StarkWare) for faster, cheaper trading.
- Cosmos (L1): Now fully independent as a Cosmos-based chain.
Why the Change?
- Scalability: Ethereum’s high gas fees and congestion made perpetuals trading expensive.
- Performance: dYdX Chain offers sub-second finality and low fees (e.g., ~$0.01 per trade).
- Decentralization: The chain is governed by DYDX token holders via on-chain voting.
Summary:
dYdX now runs on its own Cosmos-based blockchain (dYdX Chain), not on Ethereum or another L2 like StarkEx. This shift allows for better performance and lower costs for decentralized perpetual trading.
For more details, check dYdX’s official docs.
Is dYdX programmable? Does it support smart contracts or decentralized applications?
Yes, dYdX is programmable and supports decentralized applications (dApps) and smart contracts, but with some important distinctions depending on the version of the platform you're using.
1. dYdX V3 (Current Mainnet - Ethereum Layer 2)
- Programmable? Yes, but with limitations.
- Smart Contracts? dYdX V3 runs on Cosmos SDK (EVM-compatible) and uses CosmWasm for smart contracts.
- dApps? Developers can build dApps on top of dYdX, but the platform itself is primarily focused on decentralized perpetual trading.
- Custom Logic? While dYdX itself is not a general-purpose smart contract platform like Ethereum, developers can interact with its APIs and build integrations.
2. dYdX V4 (Upcoming - Fully Decentralized)
- Programmable? Yes, with more flexibility.
- Smart Contracts? Expected to support CosmWasm (Rust-based smart contracts) and potentially other execution environments.
- dApps? More developer-friendly, allowing for custom trading strategies, automated market makers (AMMs), and other DeFi integrations.
3. dYdX V2 (Legacy - Ethereum Layer 2)
- Programmable? Limited, as it was more focused on trading rather than general smart contract execution.
- Smart Contracts? Not natively supported.
Key Takeaways:
- dYdX is not a general-purpose smart contract platform like Ethereum or Solana, but it does allow for programmable trading strategies and integrations.
- For full smart contract flexibility, developers may need to use CosmWasm (on dYdX V3/V4) or build off-chain solutions.
- dYdX V4 is expected to be more developer-friendly, with better support for custom dApps.
Would you like details on how to interact with dYdX programmatically (e.g., via APIs or SDKs)?
How fast are dYdX transactions? What is the typical confirmation time and throughput (transactions per second)?
dYdX is a decentralized exchange (DEX) built on the Ethereum blockchain (Layer 1) and later migrated to the Cosmos-based dYdX Chain (Layer 2). The transaction speed and throughput depend on the underlying blockchain:
1. dYdX on Ethereum (Layer 1)
- Confirmation Time: ~15 seconds (Ethereum block time).
- Throughput: ~15-30 transactions per second (TPS) due to Ethereum's scalability limitations.
- Gas Fees: High during congestion.
2. dYdX Chain (Layer 2, Cosmos-based)
- Confirmation Time: ~5-10 seconds (faster than Ethereum).
- Throughput: ~2,000 TPS (theoretical max, but real-world usage may vary).
- Fees: Much lower than Ethereum (sub-cent transactions).
Key Factors Affecting Speed
- Network Congestion: Ethereum can slow down during high demand.
- dYdX Chain: Uses Tendermint BFT consensus, enabling faster finality.
- Order Matching: dYdX uses an off-chain order book, reducing on-chain transactions.
Comparison to Other DEXs
- Uniswap (Ethereum): ~15-30 TPS, ~15s confirmation.
- PancakeSwap (BSC): ~100+ TPS, ~3s confirmation.
- dYdX Chain: ~2,000 TPS, ~5-10s confirmation.
For the fastest experience, dYdX Chain is significantly better than Ethereum. However, Ethereum-based dYdX still benefits from off-chain order matching, reducing on-chain load.
Would you like details on specific trading pairs or historical performance?
How much data can I store on the dYdX blockchain? Does it support on-chain data storage?
The dYdX blockchain (a Cosmos-based Layer 1 blockchain) does not natively support on-chain data storage in the same way as blockchains like Ethereum (with smart contracts) or IPFS (for decentralized file storage). Here’s what you need to know:
1. On-Chain Data Storage on dYdX
- No native smart contracts: dYdX is primarily designed for decentralized perpetual trading and does not support general-purpose smart contracts (like Solidity on Ethereum).
- Limited on-chain storage: The blockchain itself is optimized for transactional data (trades, orders, settlements) rather than arbitrary data storage.
- No built-in file storage: Unlike IPFS or Arweave, dYdX does not have a mechanism for storing large files or unstructured data on-chain.
2. Workarounds for Data Storage
If you need to store data in relation to dYdX, you have a few options:
- Off-chain storage + on-chain references:
- Store data off-chain (e.g., in a database, IPFS, or a centralized server).
- Use dYdX transactions to reference the off-chain data (e.g., via a hash or URL).
- Cosmos SDK modules (if applicable):
- If you're building a custom module on dYdX, you could theoretically store small amounts of structured data in the blockchain state.
- However, this is not practical for large datasets.
3. Comparison with Other Blockchains
| Blockchain | On-Chain Data Storage | Smart Contracts | Use Case |
|---|---|---|---|
| dYdX | ❌ (Limited) | ❌ (No) | Trading |
| Ethereum | ✅ (Smart Contracts) | ✅ (Solidity) | General-purpose |
| IPFS/Arweave | ✅ (File Storage) | ❌ (No) | Decentralized storage |
Conclusion
If you need on-chain data storage, dYdX is not the right platform. Instead, consider:
- Ethereum (for smart contracts)
- IPFS/Arweave (for decentralized file storage)
- Cosmos-based chains with custom modules (if you need blockchain-specific storage)
Would you like recommendations for a specific use case?
Contact Us About dYdX
Are you a representative of the dYdX project? Send us a message.