---
title: dYdX
---
<style>
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text&display=swap');
p {
font-size: 17px;
}
.markdown-body {
font-family: 'DM Serif Text';
user-select: none;
}
</style>
# DeFi Final --- dYdX
## Introduction
<p style="text-align: center; padding: 20px 0 5px 0;">
<svg width="200" viewBox="0 0 363 113" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M336.17 0L258 111.991H282L360.576 0H336.17Z" fill="black"/>
<path d="M284.5 0L307.5 33L295.5 51L260 0H284.5Z" fill="url(#paint0_linear)"/>
<path d="M338.5 112L313 75.5L325 58L362.5 112H338.5Z" fill="url(#paint1_linear)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M230 0H251V111.991H230V107.808C223.935 111.118 216.972 113 209.567 113C186.058 113 167 94.0281 167 70.625C167 47.2219 186.058 28.25 209.567 28.25C216.972 28.25 223.935 30.1321 230 33.4419V0ZM209.343 94.4018C222.658 94.4018 233.452 83.6566 233.452 70.4018C233.452 57.147 222.658 46.4018 209.343 46.4018C196.028 46.4018 185.234 57.147 185.234 70.4018C185.234 83.6566 196.028 94.4018 209.343 94.4018Z" fill="black"/>
<path d="M169.089 0L91 111.991H115.481L193.495 0H169.089Z" fill="black"/>
<path d="M115.5 0L140 34L126.5 53L90 0H115.5Z" fill="url(#paint2_linear)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M63 0H84V111.991H63V107.808C56.9349 111.118 49.9719 113 42.5673 113C19.058 113 0 94.0281 0 70.625C0 47.2219 19.058 28.25 42.5673 28.25C49.9719 28.25 56.9349 30.1321 63 33.4419V0ZM42.3431 94.4018C55.6581 94.4018 66.452 83.6566 66.452 70.4018C66.452 57.147 55.6581 46.4018 42.3431 46.4018C29.0281 46.4018 18.2342 57.147 18.2342 70.4018C18.2342 83.6566 29.0281 94.4018 42.3431 94.4018Z" fill="black"/>
<defs>
<linearGradient id="paint0_linear" x1="279" y1="7" x2="311.925" y2="46.7483" gradientUnits="userSpaceOnUse">
<stop stop-color="black"/>
<stop offset="1" stop-color="black" stop-opacity="0.55"/>
</linearGradient>
<linearGradient id="paint1_linear" x1="344" y1="103.5" x2="303.547" y2="48.965" gradientUnits="userSpaceOnUse">
<stop stop-color="#6966FF"/>
<stop offset="1" stop-color="#6966FF" stop-opacity="0.36"/>
</linearGradient>
<linearGradient id="paint2_linear" x1="110" y1="7.27451" x2="144.132" y2="49.0118" gradientUnits="userSpaceOnUse">
<stop stop-color="black"/>
<stop offset="1" stop-color="black" stop-opacity="0.55"/>
</linearGradient>
</defs>
</svg>
</p>
dYdX is a decentralized exchnge (DEX) which focusing mainly on derivatives trading. It provides **perpetual contract trading**, **margin trading**, **spot trading**, **lending**, and **borrowing** services utilizing smart contracts on the Ethereum (ETH) blockchain. dYdX is a **hybrid exchange**, which indicates that it combines centralized and decentralized exchange operations, in which it can provides the transparency and security of decentralized exchange, while obtaining the usability and the fast speed of centralized exchange. Rather than being based on an automated market maker (AMM) like Uniswap or SushiSwap, it relies on order book and matching machine which usually used in centralized exchanges which is said to be able to provide more efficiency than AMMs.
### Layer 2
On April 22nd, dYdX makes a decision to move to Layer 2 which only provides perpetual contract trading and leveraged trading based on layer 2 protocol. On November 1, 2021, the sunset of layer 1, dYdX no longer provides trading and borrows on layer 1 are now disabled while withdraws will be available indefinitely. In layer 2, in collaboration with StarkWare, Chainlink and Maker oracle, dYdX implements a oracle system which is compatible with Stark signature, which let the price can be used once the oracle price is verified, without waiting for the transaction. To speed up transaction without higher gas fee, off-chain transaction, holding transaction locally without posting on the block chain, is introduce. It was not until the amount of the transactions is arrived at a certain threshold that they will be pushed to block chain in batches. Helped by StackWare, zkSTARK is the technique that can offer zero-knowledge proof to verify the off-chain transactions.
### Governance Token
On August 1, 2021, dYdX announced the launch of its governance token DYDX with total 1 billion ($10^9$) tokens supply that will gradually be accessible within five years. And after that, dXdY ensures that there will always be enough DYDX tokens by implementing perpetual inflation rate of 2% each year to reward the community. DYDX token holders have the right to propose and vote, such as determine allocation of funds and change risk parameters, and receives trading fee discounts according to their holding size.
## Analysis

dYdX is the second biggest DEX with pretty large volumn in the ranking according to [CoinMarketCap](https://coinmarketcap.com/rankings/exchanges/dex/). Meanwhile, the DYDX token recently nearly dropped over 1 USD from its highest 26 USD.

### Base Digger Framework
- Business Model
dXdY is a decentralized exchange that provides platform for trades (Dollars). With these trading, dYdX earns profits, and provides more to the clients. Moreover, with governance token DYDX (Governance), it allows clients with tokens to participate the proposing and voting to many events, which may lead the future for dYdX.
- Assets/Value Capture
With one billion of supplies, DYDX is the assets and value of dYdX that is used as trading rewards (Dollars) and can be used to capture value and trading value of dYdX (Illusion). DYDX is also the incentives for clients to trade on dYdX.
- Service
In Layer 2, dYdX provides perpetual contracts trading services with lower gas fee (Dollars), more efficiency and privacy (Illusion), compared to others. With clients trading on dYdX, it can earn more money to provide better service.
## Conclusion
The dropping of DYDX makes users reluctant to hold those tokens, which results to a vicious cycle, making the value even worse. The crisis might eventually affects the volumn and value of dYdX, and bring the whole project to its end. The way that it uses hybrid exchange is certainly novel and groundbreaking, while it can do better at many aspects, such as functionalities, stabilities, and it need to make sure users stack their tokens. The future of dYdX still makes people looking forward to. Perhaps dYdX can do it even better on its strength.
## Reference
- https://help.dydx.exchange/
- https://trade.dydx.exchange/
- https://dydx.exchange/blog/
- https://phemex.com/academy/what-is-dydx
- https://coinmarketcap.com/