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
Edit on GitHub
  1. Soroswap AMM (DEX)
  2. Technical Reference

Soroswap vs UniswapV2

Here we can see a comparison of the implementation of UniswapV2 and Soroswap.

Feature

UniswapV2

Soroswap

Algorithm

Automated Market Maker (AMM) with constant product formula

Optimized routing algorithm for multi-pool efficiency

Liquidity Pools

Direct swaps between two tokens; liquidity in equal value pairs

Supports multi-hop swaps through intermediate pools

Smart Contracts

Two core contracts: factory and router

Advanced contracts with aggregated liquidity and custom routing

Routing

Direct matching within or between pools

Sophisticated routing with multiple paths for optimal rates

Efficiency

Fast execution; may not always provide optimal rates

Improved efficiency with better trading rates through optimization

Liquidity Provision

50/50 ratio token pairs; straightforward addition/removal

Complex arrangements; support for multiple AMMs and protocols

Incentives

Fees from trades within pools

Aggregated fees and potentially higher returns

Security

Extensive testing and audits; proven track record

Rigorous audits; advanced security measures

User Experience

Simple, user-friendly interface

Enhanced features; advanced routing and multi-chain support

Documentation

Well-established, extensive community support

Comprehensive documentation and support for new features

Last updated 7 months ago