Paper 2024/1021

ammBoost: State Growth Control for AMMs

Nicholas Michel, University of Connecticut
Mohamed E. Najd, University of Connecticut
Ghada Almashaqbeh, University of Connecticut
Abstract

Automated market makers (AMMs) are a form of decentralized cryptocurrency exchanges that have attracted huge interest lately. They are considered a prime example of Decentralized Finance (DeFi) applications, a large category under Web 3.0. Their popularity and high trading activity have resulted in millions of on-chain transactions leading to serious scalability issues in terms of throughput and on-chain state size. Existing scalability solutions, when employed in the context of AMMs, are either ineffective due to their large overhead, or suffer from security and centralization issues. In this paper, we address these challenges by utilizing a new sidechain architecture as a layer 2 solution, building a system called ammBoost. Our system reduces the amount of on-chain transactions, boosts throughput, and supports blockchain pruning. We devise several techniques to enable layer 2 processing while preserving the correct and secure operation of AMMs. These include 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 of ammBoost 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 observed for Uniswap in practice.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
SidechainsAutomated market makers (AMMs)Blockchain scalability
Contact author(s)
nicolas michel @ uconn edu
menajd @ uconn edu
ghada @ uconn edu
History
2024-09-28: last of 2 revisions
2024-06-24: received
See all versions
Short URL
https://ia.cr/2024/1021
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1021,
      author = {Nicholas Michel and Mohamed E. Najd and Ghada Almashaqbeh},
      title = {{ammBoost}: State Growth Control for {AMMs}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1021},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1021}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.