SAMM:分片自动做市商
SAMM: Sharded Automated Market Maker
AI总结:
针对现有 AMM 不可并行导致难以满足 2029 年需求的问题,本文提出激励相容的分片 AMM SAMM,并通过博弈分析、真实数据仿真及 Sui、Solana 测试网验证其安全性与 5–16 倍吞吐提升。
摘要:
自动做市商(AMM)是去中心化金融的基石。它们是运行在区块链上的智能合约(有状态程序),支持虚拟代币交换:交易者向 AMM 支付费用以兑换代币,而流动性提供者提供流动性并获得这些费用。市场对 AMM 的需求正在快速增长,但我们基于实验的估计表明,当前架构无法满足到 2029 年的预期需求。原因在于现有 AMM 的执行不可并行。我们提出 SAMM,一种由多个分片组成的 AMM。所有分片都是运行在同一条链上的 AMM,但它们彼此独立,因此能够并行执行。与传统分片方案不同,SAMM 的安全性依赖于激励相容性。为此,SAMM 引入了一种新颖的费用设计。通过对子博弈完美纳什均衡(SPNE)的分析,我们证明 SAMM 能够激励预期行为:流动性提供者在所有分片之间平衡流动性,抵御破坏性攻击,并且交易得到均匀分布。我们使用真实数据进行仿真,验证了博弈论分析。我们还在 Sui 和 Solana 区块链的本地测试网上实现并部署 SAMM,对其进行评估。据我们所知,这是首次对高需求合约性能进行量化。SAMM 分别将吞吐量提升 5 倍和 16 倍;随着底层区块链实现更好的并行化,提升幅度可能更大。它可以直接部署,从而缓解即将到来的扩展瓶颈。
英文摘要:
The central challenge in addressing the security-performance trade-off in blockchain systems has moved from consensus protocols to enabling parallel execution. Various smart contracts (stateful blockchain programs) already benefit from parallelization. But we show that non-parallelizable operations within smart contracts remain a bottleneck. A natural approach is to apply sharding, that is, partitioning a single logical service into multiple identical parallelizable shards. However, we observe that this introduces game-theoretic issues in various applications: Participants may be incentivized to overload the system. We focus on Automated Market Makers (AMMs), which enable token exchange: Traders swap tokens with the AMM for a fee, while liquidity providers pre-fund the AMM and receive these fees. We show experimentally that their demand will soon reach the single-thread performance limit. We present SAMM, a sharded AMM system where multiple independent AMM shards operate on the same blockchain. The key challenge is ensuring SAMM's security against overloading and destabilization attacks. SAMM addresses this with careful mechanism design; we provide both game-theoretic analysis and simulation-based validation. We implement SAMM on Sui and Solana testnets, achieving 5x and 16x throughput improvements, respectively, with potential for more as blockchain parallelism advances. SAMM is deployable and has already attracted industry interest.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。