SPEEDEX is a decentralized exchange (DEX) that lets participants securely trade assets without giving any single party undue control over the market. SPEEDEX offers several advantages over prior DEXes. It achieves high throughput -- over 200,000 transactions per second on 48-core servers, even with tens of millions of open offers. SPEEDEX runs entirely within a Layer-1 blockchain, and thus achieves its scalability without fragmenting market liquidity between multiple blockchains or rollups. It eliminates internal arbitrage opportunities, so that a direct trade from asset $\mathcal{A}$ to asset $\mathcal{B}$ always receives as good a price as trading through some third asset such as USD. Finally, it prevents certain front-running attacks that would otherwise increase the effective bid-ask spread for small traders. SPEEDEX's key design insight is its use of an Arrow-Debreu exchange market structure that fixes the valuation of assets for all trades in a given block of transactions. We construct an algorithm, which is both asymptotically efficient and empirically practical, that computes these valuations while exactly preserving a DEX's financial correctness constraints. Not only does this market structure provide fairness across trades, but it also makes trade operations commutative and hence efficiently parallelizable. SPEEDEX is prototyped but not yet merged within the Stellar blockchain, one of the largest Layer-1 blockchains.
翻译:SPEEDEX是一个分散的交易所(DEX),它让参与者能够安全地交易资产,而不给任何单一方对市场进行不当控制。 SPEEDEX提供了比先前DEX公司更多的优势。它实现了高输送量 -- -- 48个核心服务器每秒超过20万次交易,甚至有数千万份公开报价。SPEEDEX完全在一层层一环的链条内运行,从而实现了其可扩展性,而没有将市场流动性分散在多个块块或滚动之间。它消除了内部套利机会,这样,资产($mathcal{A}$)与资产($mathcal{B})的直接交易总是像通过某些第三笔资产(如美元)的交易一样得到好的价格。最后,它防止了某些前行攻击,否则会增加小贸易商家的有效出价。 SPEDEX公司的主要设计洞察力是使用一个箭头-Debreu交换市场结构,该结构固定了对特定交易中所有交易的资产估值。我们构建了一种算法,但最大的算算算算上不是效率,但最大的交易内部的公平性交易,因此也使DLEDREDEDRED进行了这种平行交易。</s>