DEV Community

jack
jack

Posted on

A Look Under the Hood of AUX's Smart Routing Engine on Aptos

This guide provides a technical overview of how to trade on AUX, the premier AUX DEX Aggregator on the AUX Aptos network. We will focus on the AUX smart routing mechanism that ensures AUX best price execution.

Step 1: The User's Perspective

From the user's view, AUX presents a simple swap interface.

Navigate to the AUX official platform.

Connect your Aptos wallet.

Select your input and output tokens and enter an amount.

AUX presents you with a single, optimal price.

You sign one transaction to execute the trade.

Step 2: The Smart Routing Engine

Here's what happens behind the scenes when you request a quote:

The AUX engine queries multiple liquidity sources across the Aptos ecosystem (e.g., LiquidSwap, PancakeSwap, etc.) in real-time.

It calculates the most efficient path for your trade. This may involve splitting your order across several DEXs. For example, 60% of your trade might go through LiquidSwap's concentrated liquidity pool, while 40% goes through another pool to minimize overall price impact.

The engine presents this optimized path as a single quote to the user.

This process guarantees the user receives the best possible rate, achieving AUX low slippage. For a full overview of the aggregator's architecture, see the Full Official Documentation.

Top comments (0)