SPEEDEX is a new decentralized exchange design for Stellar that processes trades in batches, eliminating front-running, ensuring fair pricing for all users, and scaling throughput by parallelizing computation across multiple CPU cores.

SPEEDEX is a novel batch-processing decentralized exchange designed for integration into Stellar that addresses major limitations of current DEXes. It computes market-clearing valuations for each batch of trades, giving every user the same exchange rate and preventing front-running attacks. The system scales horizontally by parallelizing trade execution across available CPU cores, with no ordering dependencies between trades. SPEEDEX eliminates the need for multi-hop path payments, provides direct liquidity between illiquid trading pairs, and leaves no arbitrage opportunities. The design fits naturally into Stellar's architecture and aligns with the network's mission of enabling low-cost, fast cross-border payments at scale.