DEX Aggregator

Compare token prices across decentralized exchanges — find best rates, lowest slippage, and optimal swap routes using DexScreener and 1inch APIs. Use when you need dex aggregator capabilities. Triggers on: dex aggregator.

yejiming 5e3b31a 6 files · 16.5 KB Updated

File contents

DEX Aggregator

Find the best swap rates across all DEXes.

  1. Query multiple DEX APIs simultaneously
  2. Compare prices including gas and slippage
  3. Recommend optimal routing
  4. Show price impact for large trades

Commands

bash scripts/dex.sh quote <token_in> <token_out> <amount> [chain]
bash scripts/dex.sh compare <token> [chain]
bash scripts/dex.sh pools <token> [chain]
bash scripts/dex.sh trending [chain]
bash scripts/dex.sh gas [chain]

Supported DEXes

  • Ethereum: Uniswap V3, SushiSwap, Curve, Balancer
  • BSC: PancakeSwap, BiSwap
  • Polygon: QuickSwap, SushiSwap
  • Arbitrum: Camelot, SushiSwap
  • Base: Aerodrome, BaseSwap
  • Solana: Jupiter, Raydium, Orca

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

  • Run dex-aggregator help for all commands

yejiming/web3-awesome-skills/tree/main/skills/community/defi/dex-aggregator commit 5e3b31a1d2

Frequently asked questions

npx skillmds@latest add yejiming/dex-aggregator