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 to Provide Liquidity
  • Key Notes
Edit on GitHub
  1. Welcome 👋🏼
  2. Getting Started

Provide Liquidity

PreviousHow to SwapNextHow the Aggregator Works

Last updated 1 month ago

Providing liquidity on Soroswap allows users to earn rewards by depositing two assets into a liquidity pool. Liquidity providers (LPs) facilitate asset swaps for other users, and in return, they earn a share of the trading fees collected by the protocol.

How to Provide Liquidity

  1. Access the app Go to and click Launch App.

  2. Connect your wallet Use a Stellar/Soroban-compatible wallet. Make sure you have enough XLM for transaction fees.

  3. Navigate to the Liquidity section In the app, select Liquidity to view existing pools

  1. Deposit both assets

  • Enter the amounts of each asset you want to deposit.

  • The ratio must match the current pool price (or, when creating a new pool, you set the initial price).

  1. Receive pool tokens After a successful deposit, you’ll receive pool tokens that represent your share of the pool’s liquidity.

Key Notes

  • Initial liquidity providers set the initial price of a new pool.

  • All liquidity pools follow the formula: x * y = k, where k is constant.

  • Removing liquidity: You can withdraw your assets at any time by burning your pool tokens, receiving your share of the assets plus accumulated fees.


📘 Need a full walkthrough? Check l

Adding Liquidity
Remove Liquidity
soroswap.finance
Page cover image