dYdX V4 Architecture

Architecture

dYdX V4 represents a shift to a fully on-chain orderbook and matching engine, constructed as a set of smart contracts deployed on the Ethereum blockchain and utilizing layer-2 scaling solutions. This architecture prioritizes decentralization and transparency, moving away from centralized components present in earlier iterations, and enabling permissionless access to perpetual contracts. The core design leverages a novel virtual Automated Market Maker (vAMM) to facilitate price discovery and liquidity provision, while maintaining the benefits of an orderbook model for sophisticated traders. Consequently, this approach aims to enhance capital efficiency and reduce reliance on trusted intermediaries within the derivatives ecosystem.