πŸ₯‘
Swappi Docs
English
English
  • Intro
  • Getting Started
    • 1️⃣Choosing a Wallet
    • 2️⃣Connecting Your Wallet to Conflux eSpace
    • 3️⃣Getting CFX in Conflux eSpace
    • 4️⃣Bridging Your Tokens to Conflux eSpace
    • 5️⃣Adding Your Bridged Tokens to MetaMask
    • 6️⃣Connecting MetaMask to Swappi
    • 7️⃣Your First Swap!
    • 8️⃣Adding Liquidity to a Liquidity Pool
    • πŸ§‘β€πŸŒΎFarming Tasty Avocados
    • 🌠Boosting Your Rewards
    • ➑️What's Next?
  • Quick Reference
    • πŸ“ŒBridges to Conflux eSpace
    • πŸ“Token Contract Addresses
    • πŸ“Liquidity Pools Token Addresses
  • Transferring Assets to Conflux eSpace
    • πŸ—ΊοΈOverview
    • 🏦From Exchanges
      • Transferring eSpace CFX from KuCoin to MetaMask
      • Transferring eSpace CFX from Gate.io to MetaMask
    • πŸ›°οΈFrom Conflux Core Space
      • Bridging Assets From Conflux Core with Fluent
    • 🌐From Other Networks
      • Bridging Assets with Butter Bridge
      • Bridging Assets from Ethereum with cBridge
      • Bridging Stablecoins with Meson
      • Bridging from Binance SmartChain with the eSpace Bridge
  • Products
    • πŸ”„Exchange
      • Token Swaps
      • How to Trade
      • Liquidity Pools
      • Adding Liquidity to a Pool
      • Removing Liquidity from a Pool
    • πŸ§‘β€πŸŒΎYield Farming
      • Overview
      • Finding a Farm
      • Putting your LP Tokens into a Farm
      • Adding LP Tokens to a Farm
      • Removing LP Tokens from a Farm
      • Collecting Your Farming Rewards
      • Returning Your Farm to Harvest
      • How often should I harvest my Rewards?
    • 🌠Boosting
      • Boosting your PPI Rewards
    • πŸ’³Genesis Pass NFT
      • Transferring Your Swappi Genesis Pass NFT Using Confluxscan
    • 🎲Lottery
      • πŸ› οΈRules
      • 🎫Getting Your Ticket
      • 🎩How Are Winners Determined?
      • πŸ’°Claiming Your Prize
      • ❓F.A.Q.
    • πŸš€Launchpad
      • πŸ§‘β€πŸš€About Swappi Launchpad
      • πŸ’ΉParticipating in an IDO
      • ❓F.A.Q.
  • About Swappi
    • πŸ₯‘About PPI
    • πŸ“Swappi Contract Addresses
    • πŸ›£οΈProduct Roadmap
    • 🐞Bug Bounty Program
  • Wallets
    • πŸ’°Supported Wallets
    • πŸ”Using Your Ledger Hardware Wallet with Swappi
    • 🌊Connecting Fluent to Swappi
    • 🦊Using TokenPocket with Swappi
  • Get Help
    • Fixing Stuck Pending Transactions in Your Wallet
    • Checklist
    • General FAQ
    • Boost FAQ
  • Contact Us
    • Business Partnerships
    • Customer Support
    • Social Accounts and Communities
  • Brand & Logos
    • README
    • Downloads
Powered by GitBook
On this page
  • Prerequisites
  • Adding Liquidity to a Liquidity Pool
  • See Also
  1. Getting Started

Adding Liquidity to a Liquidity Pool

Yeah, swapping is great but earning income from trading is a lot better! Let's learn how to do this by adding liquidity to a liquidity pool (LP). Adding liquidity to an LP allows you to earn passive income by getting a fee from each trade conducted on that trading pair.

In this example, we'll learn how to add liquidity to the CFX-ETH pool.

Prerequisites

  • 2 different kinds of assets for which you'll provide liquidity to the liquidity pool. The amount of those assets should be provided in equals parts in USD value. Swappi will auto-calculate how much funds from each asset you'll need to provide. In this example, we'll use the CFX-ETH pair.

  • Your wallet connected to Conflux eSpace and Swappi.

  • CFX to pay for gas transaction costs.

Adding Liquidity to a Liquidity Pool

  1. In Swappi, go to Liquidity.

  2. Click Add Liquidity.

  3. Select the pair of assets that you want to provide liquidity for.

  4. In Token A, enter the amount of liquidity that you want to provide.

  5. The amount of available liquidity will be completed in Token B.

  6. Click Approve ETH (or the token that you're adding to the pool) to approve the transfer of your token to the liquidity pool contract.

  7. In MetaMask, click Confirm to confirm the approval of this transaction.

  8. Now, click Supply to start adding your funds to the liquidity pool.

  9. Confirm the details of the transaction by clicking Confirm Supply.

  10. Finally, approve the transaction in MetaMask by clicking Confirm.

You have just added liquidity to the CFX-ETH liquidity pool! As a result, you received a liquidity pool token which proves that you own a position in this liquidity pool. [insert image here]

  1. Click Add PPI-LP to add the liquidity pool token to MetaMask.

  2. In MetaMask, confirm adding this token by clicking Add Token.

  3. Now, in Swappi, go to Liquidity.

You'll notice that Swappi now shows you an LP Balance, which represents the amount of LP tokens that you own from that liquidity pool. [images also go here]

In the next section, we'll learn how to increase our earnings on Swappi.

See Also

  • Exchange section on Swappi, for a detailed guide on adding/removing LP tokens to/from a liquidity pool, as well as other useful information on liquidity pools.

PreviousYour First Swap!NextFarming Tasty Avocados

Last updated 2 years ago

You can always remove this liquidity. See: to learn how.

to verify the contract addresses of different LP tokens.

8️⃣
Removing Liquidity from a Liquidity Pool
Liquidity Pools Token Addresses