TL;DR: AnimeSwap saves your gas and supports most features.
Gas Units Cost Comparison
Lower is better. 1k costs 0.001 APT gas fee at the lowest gas unit price.
| Operation | AnimeSwap | Liquidswap[1] | Aux | PancakeSwap | Liquidswap Stable[2] |
|---|---|---|---|---|---|
| Swap | 1.4k | 4.3k | 1.4k | 9k | 110k |
| Add LP[3] | 2.7k or 3.2k | 3.4k | 2.4k or 3.2k | 3.5k | - |
| Remove LP | 2.6k | 1.7k | 1.4k | 2.4k | - |
info
- [1] Uncorrelated curve. Common case.
- [2] Stable curve.
- [3] Some Dex has different gas cost for adding LP under different situations.
Analysis
Swapis the most common use-case, over 95% of all transactions.AnimeSwapandAuxare the most gas-saving dexes in this situation.3.1xbetter thanLiquidswap.6.4xbetter thanPancakeSwap.Liquidswap Stableis Heavily gas-consuming, each tx takes at least0.1 APTgas fee in the lowest gas unit price.Add/Remove LPcost almost the same gas among these dexes.
Gas Conclusion
AnimeSwap and Aux are the most gas-saving dexes.
Features Comparison
| Feature | AnimeSwap | Liquidswap | Aux | PancakeSwap | Aptoswap |
|---|---|---|---|---|---|
| Open source | ✔️ link | ✔️ link | ✔️ link | ✔️ link | ✔️ link |
| SwapExactCoinToCoin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
| SwapCoinToExactCoin | ✔️ | ✔️ | ✔️ | ✔️ | ❌ |
| Gas-saving | ✔️ | ❌ | ✔️ | ❌ | ✔️ |
| Custom Pairs | ✔️ | ✔️ | ❌ | ✔️ | ❌ |
| Flash Swap | ✔️ | ✔️ | ✔️ | ❌ | ❌ |
| Stable Curve | ❌ | ✔️[4] | ❌ | ❌ | ❌ |
| Oracle | ✔️ | ✔️ | ❌ | ❌ | ❌ |
| Route | ✔️ | ❌ | ❌ | ❌ | ❌ |
info
- [4] Support, but gas-consuming. Already explained in the above section.
Analysis
Open source: All the dexes are open-sourced. You can check the source code with link above.SwapExactCoinToCoin: This is the basic feature.SwapCoinToExactCoin: SwapCoinToExactCoin means whether uses can get exact output amount. For example, loan liquidators want to get exact amount coin with minimal input coin. Most dexes support this feature, whileAptoswapnot.
Gas-saving: We have already explained in the above section.AnimeSwap,AuxandAptoswapare the most gas-saving dexes.Custom Pairs: Custom pairs means whether users can create new coin pairs.AnimeSwap,LiquidswapandPancakeSwaphave this feature. You can add custom pair here
Flash Swap: Flash swap allows you to borrow any available amount of assets without putting up any collateral, as long as the liquidity is returned to the protocol within one block transaction. This is the example for AnimeSwap Flash SwapStable Curve: Unfortunately, we do not support this feature. OnlyLiquidswapsupport it, but has gas problem.Oracle: Orcale means support price oracle for other dapp.AnimeSwapandLiquidswapsupport this feature. This is the resources reference for AnimeSwap OracleRoute: With route, you can swap any coin to any coin in one tx, among multiple pairs. OnlyAnimeSwapsupport a build-in router.
Feature Conclusion
AnimeSwap and Liquidswap support most features.
Conclusion
AnimeSwap saves your gas and supports most features.
