ammBoost: State Growth Control for AMMs
Nicolas Michel, Mohamed E. Najd, Ghada Almashaqbeh
TL;DR
ammBoost tackles AMM scalability by introducing a dependent sidechain architecture that offloads the bulk of AMM processing from the mainchain while keeping token custody and final state in TokenBank on the mainchain. It combines epoch-based deposits, pool snapshot-based trading, and TSQC-authenticated syncs within a PBFT-sidechain framework to preserve the AMM’s safety and liveness. Empirical evaluation on a Uniswap-inspired setup reports gas reductions of $96.05\%$ and chain-growth reductions of at least $93.42\%$, with throughput reaching $138.06$ tx/s and support for up to $500\times$ Uniswap’s daily traffic; it also achieves a $99.94\%$ reduction in transaction finality relative to Optimistic rollups. These findings indicate that ammBoost can substantially scale AMMs and potentially extend to other DeFi applications, while maintaining mainchain security and token custody guarantees.
Abstract
Automated market makers (AMMs) are a prime example of Web 3.0 applications. Their popularity and high trading activity led to serious scalability issues in terms of throughput and state size. In this paper, we address these challenges by utilizing a new sidechain architecture, building a system called ammBoost. ammBoost reduces the amount of on-chain transactions, boosts throughput, and supports blockchain pruning. We devise several techniques to enable layer 2 processing for AMMs, including a functionality-split and layer 2 traffic summarization paradigm, an epoch-based deposit mechanism, and pool snapshot-based and delayed token-payout trading. We also build a proof-of-concept for a Uniswap-inspired use case to empirically evaluate performance. Our experiments show that ammBoost decreases the gas cost by 96.05% and the chain growth by at least 93.42%, and that it can support up to 500x of the daily traffic volume of Uniswap. We also compare ammBoost to an Optimism-inspired solution showing a 99.94% reduction in transaction finality.
