Watch on-demand

Using Chainlink Oracles on Layer 2: How dYdX Built a Next-Generation Decentralized Exchange

Watch Now
November 23, 2021 11:00 AM
45 minutes

By submitting, I agree to receive email communications from Chainlink.

Thank you! We'll send your recording shortly.
Thank you! Please check your inbox for the webinar link.
Something went wrong. Please try again.


Ethereum-based decentralized exchanges (DEXs) are faced with the challenges of high gas fees that can cost traders anywhere from $50 to $100 per transaction depending on the congestion of the network, and long waiting times to achieve finality (up to 60 seconds for trades to finalize).

In this Chainlink Tech Talk, we’ll hear how dYdX, a leading DEX on Ethereum, migrated to a layer-2 solution and implemented Chainlink Oracles to significantly scale their protocol, allowing traders to deposit funds and trade instantly with zero gas costs, lower trading fees, and reduced minimum trade sizes. This led to an explosion in 24-hour trading volume on the dYdX protocol — from $20M in July to over $5B currently1, surpassing that of industry behemoths Coinbase Inc. and Uniswap.

About dYdX

dYdX is the developer of a leading decentralized exchange on a mission to build open, secure and powerful financial products. dYdX runs on audited smart contracts on Ethereum, which eliminates the need to trust a central exchange while trading. They combine the security and transparency of a decentralized exchange, with the speed and usability of a centralized exchange. dYdX is building a powerful and professional exchange for trading crypto assets where users can truly own their trades and, eventually, the exchange itself.

Sources: 1 |

Learning Objectives

Explore how dYdX integrated with StarkWare’s layer-2 network to significantly improve their trading experience.
Discover what sets dYdX apart and how they aim to become one of the world’s largest crypto exchanges, where users can truly own their trades and, eventually, the exchange itself.
Learn how Chainlink oracle networks are blockchain agnostic, meaning they can operate and deliver price feeds at the native speeds and costs of any blockchain or layer-2 network, enabling sub-second price updates for protocols like dYdX.


Brendan Chou

Engineering Lead


Roger Brogan

Senior Solution Architect

Chainlink Labs

Get the latest Chainlink content straight to your inbox