Soroswap.Finance Docs
  • Welcome 👋🏼
    • What is Soroswap Finance?
    • Getting Started
      • Wallet Setup and Connection
      • How to Swap
      • Provide Liquidity
      • How the Aggregator Works
  • Concepts
    • AMM
    • Liquidity Pools
    • Swap
    • Fees
    • Slippage
    • Router
    • SDEX
    • Aggregator
    • Trustlines
    • Advanced Topics
      • Pricing
      • Understanding Returns
      • Security
      • Research
  • Soroswap AMM (DEX)
    • How Soroswap AMM works
    • Ecosystem Participants
    • Audits
    • Technical Reference
      • Smart contracts
        • SoroswapPair
        • SoroswapFactory
        • SoroswapRouter
        • SoroswapLibrary
      • Deployed Addresses
      • Error Codes
      • Using Soroswap with TypeScript
      • Smart Contract Integration
      • Deploy Soroswap Yourself
        • Setup your environment.
        • Experiment the Pair contract
        • Experiment the Factory Contract.
        • Deployments.
        • Using the Soroswap Testnet
    • Glossary
  • Soroswap Aggregator
    • Supported AMMs
    • Audits
    • Technical Reference
      • How Soroswap Aggregator works
      • Design
      • Technical Overview
      • Aggregator Operation
      • Smart Contracts
        • SoroswapAggregator
        • Adapter Trait
        • SoroswapAdapter
      • Inspirations
        • 1inch
      • Other AMMs in Soroban
        • Phoenix
    • Disclaimer
  • Swap Route API
  • Soroswap Info
  • Tutorials
    • Installing Freighter
    • Soroswap sections
    • Adding Liquidity
    • Doing Swap
    • Remove Liquidity
    • Using Stellar Classic Assets
      • Wrapping Stellar Classic Assets
      • Swap Stellar Classic Assets
      • Test Stellar Classic Assets
    • Bridge using Pendulum
    • Conclusions
  • Partnerships
    • Collaboration with Mercury and SubQuery
    • Business Partnerships
  • Support & Resources
    • About Us
    • General FAQ
    • Additional Resources
Powered by GitBook
On this page
  • How It Works
  • Supported AMMs
Edit on GitHub
  1. Welcome 👋🏼
  2. Getting Started

How the Aggregator Works

PreviousProvide LiquidityNextConcepts

Last updated 1 month ago

The is a smart contract that optimally resolves each swap by finding the best available price at the moment, using an intelligent distribution across the .

How It Works

  • Optimal Execution: The Aggregator calculates and executes swaps across different AMMs to always find the best price.

  • Intelligent Routing: Each swap is automatically distributed across one or more protocols according to available liquidity and exchange rates.

  • Fully On-Chain: No intermediaries, no off-chain steps — the entire process is handled by smart contracts on Soroban.

Supported AMMs

Currently, the Soroswap Aggregator sources liquidity from:

AMM
Status
Description

Soroswap.Finance AMM

Mainnet

Soroswap's primary protocol on Soroban, offering fast, secure, and low-cost swaps.

Phoenix Protocol AMM

Mainnet

Providing additional liquidity and expanding swap route options.

Aqua AMM

Coming Soon

Currently in testing. Will add more depth and route diversity to Soroban once deployed.

Note: is not integrated as it is incompatible with Soroban smart contracts. The Aggregator works exclusively with Soroban-based protocols.

Stellar SDEX
Soroswap Aggregator
supported AMMs
Page cover image