Skip to Content
Welcome to the DuckyDux Docs! 🦆
Core ConceptsMulti-Path Swaps

Multi-Path Swaps

At the heart of DuckyDux is our Ultimate Flexibility promise, powered by a sophisticated multi-path routing engine.

What are Multi-Path Swaps?

Traditional decentralized exchanges (DEXs) often execute a trade through a single liquidity pool or a simple A -> B -> C path. This can result in high price impact (slippage) for large trades, as you are limited to the liquidity of that specific path.

DuckyDux takes a smarter approach. Our routing algorithm views all available liquidity across thousands of pools as a single, interconnected graph. When you request a swap, our engine solves for the most efficient way to execute your trade, which often involves:

  • Splitting Trades: Your single trade might be split into multiple smaller trades across different pools (e.g., 70% through Uniswap, 30% through SushiSwap).
  • Complex Routes: We can route trades through intermediate “hops” if it results in a better final price (e.g., ETH -> USDC -> DUCK instead of directly ETH -> DUCK).

How It Benefits You

  • Best Possible Prices: By accessing deeper liquidity and optimizing the route, we minimize price impact and find you the best execution price, especially for larger trades.
  • Access to More Tokens: Our engine can find paths to illiquid or newly listed tokens that might not be available through a single DEX.
  • Efficiency: All splits and hops are executed within a single, atomic transaction, ensuring the swap either fully completes or not at all.

Technical Insight: Our backend models the complex liquidity landscape as a graph of interconnected pools and tokens. This allows our solver to efficiently navigate thousands of potential routes in real-time before presenting a final, optimized transaction.

Last updated on