ammBoost: State Growth Control for AMMs

Nicolas Michel, Mohamed E. Najd, Ghada Almashaqbeh

Introduction

Automated Market Makers (AMMs) have become the cornerstone of Decentralized Finance (DeFi), yet their success has introduced significant scalability challenges. High trading volumes lead to prohibitive gas fees and "state bloat"—the exponential growth of blockchain data that threatens decentralization by making node operation increasingly expensive. ammBoost is a novel sidechain architecture designed to address these bottlenecks by offloading high-frequency trading to a specialized Layer-2 (L2) while maintaining core asset security on the mainchain.

The Problem: Gas Fees and State Bloat

Current AMM implementations, such as Uniswap, require every swap, mint, or burn to be recorded as an individual on-chain transaction. This creates two primary issues:

  1. Economic Barriers: Network congestion drives up gas costs, pricing out smaller traders.
  2. Storage Exhaustion: Storing the entire history of micro-trades causes the blockchain state to grow rapidly.

While existing solutions like Optimistic or ZK-rollups offer some relief, they often introduce long challenge periods (up to 7 days) for withdrawals or struggle with the sequential processing requirements of liquidity pools.

System Architecture

ammBoost utilizes a "dependent sidechain" architecture that splits functionality between the mainchain and a high-performance L2. The core asset management resides in a mainchain contract called the TokenBank, while the computationally intensive tasks—price calculations and liquidity management—are handled by the sidechain.

ammBoost Architecture: Mainchain-Sidechain interaction and epoch-based summarization.

Epoch-Based Summarization and Pruning

The system operates in "epochs." Instead of committing every individual trade to the mainchain, the sidechain processes transactions locally and produces a single Sync transaction at the end of each epoch. This transaction summarizes the net changes in user balances and liquidity positions. Once the mainchain confirms this summary, the bulky transaction history on the sidechain can be safely pruned, drastically reducing the storage footprint.

To ensure security, ammBoost employs Sync Authentication via Threshold Signature Quorum Certificates (TSQC). This mechanism ensures that the mainchain only accepts state updates verified by a decentralized committee of sidechain miners, providing faster finality than traditional rollups.

Performance Evaluation

The researchers evaluated ammBoost using a Proof-of-Concept (PoC) implementation tested against 20 million real-world Uniswap V3 transactions. The results demonstrate a paradigm shift in efficiency:

  • Gas Efficiency: A 96.05% reduction in gas costs compared to standard deployments.
  • Storage Savings: A minimum 93.42% reduction in mainchain state growth.
  • Throughput: The system achieved 138.06 transactions per second (tx/s), roughly 500x the average daily volume of Uniswap.
Comparative analysis of ammBoost against leading L2 scaling solutions.

As shown in the comparative analysis, ammBoost significantly outperforms existing Optimistic and ZK-rollup solutions in both throughput and payout latency. While Optimistic Rollups typically require a 7-day delay for token payouts, ammBoost reduces this to mere minutes (the length of an epoch), representing a 99.94% reduction in transaction finality time.

Discussion and Limitations

By adopting a "net result" philosophy—where the mainchain only tracks final states rather than individual intermediate steps—ammBoost solves the verifier's dilemma without sacrificing composability. Other mainchain dApps can still interact with the TokenBank state, ensuring the AMM remains integrated with the broader DeFi ecosystem.

However, some limitations remain. Flash loans, which require atomic execution within a single block, are currently handled on the mainchain and do not benefit from sidechain scaling. Additionally, while trading is near-instant, users must wait until the end of an epoch to withdraw assets back to the mainchain. Future work may explore extending this summarization paradigm to other DeFi primitives and incorporating Zero-Knowledge proofs for enhanced privacy.

Summary updated

BibTeX
@inproceedings{michel2025ammboost,
  author = {Nicolas Michel and Mohamed E. Najd and Ghada Almashaqbeh},
  title = {{ammBoost: State Growth Control for AMMs}},
  booktitle = {DSN},
  year = {2025},
  doi = {10.1109/dsn64029.2025.00027},
}
Figure