Batch-A2MM Prototype

The Batch-A2MM Prototype is a revolutionary protocol proposed by us.

The advanced Batch-A2MM protocol enables users to swap based on real-time market prices. It is a powerful anti-sandwich attack, makes order independent, and optimizes AMMs to reduce slippage.

This innovation enables users to exchange tokens at fair prices, even in shallow liquid markets.

Batch-A2MM uses Batch-Auction and A2MM to implement it. Although it may seem very technical, our team has put a lot of effort into making it easy for you to use. Keeping it simple and easy to use with Chainlink Automation, you will get the trading experience as smooth as traditional DEX.

Batch Auction

Batch Auction is a trading mechanism in which orders are aggregated and executed at the same price. By utilizing batch auctions, price manipulation can be prevented when trading low-liquidity assets. Batch Auction is widely used in modern stock exchanges, especially in the minutes before and after the opening and closing, because liquidity is the most fragile at these times, a small trading volume can affect prices a lot and raise the trading fluctuations.

What does the implementation of the Batch Auction look like? We aggregate all swaps over time and implement a unified clearing price for all these swaps. This approach has clear advantages. It promotes fair and cost-effective swaps. The participant receives the same price whenever a transaction is initiated.

Essentially, there is no benefit in trying to advance or delay the ordering of transactions because the results remain the same. Therefore, people can initiate transactions with confidence that their transaction price will not deviate from the market price no matter what.


When the exchange demands for two tokens are asymmetric, some orders in the batch cannot be filled, and this is the scenario where A2MM comes into play.

A2MM works by selecting the best-priced AMM from a set of pools only when performing a swap. Therefore, the hacker cannot insert his order causing A2MM to receive an unreasonable price before completing the transaction.

Last updated