MarginX 2.0 gitbook v1.1
  • 🚀Getting Started: MarginX 2.0
  • MARGINX 2.0 & ALO
    • Vision
    • Mechanic & Foundation of ALO
    • Comparison Between Order Book And Swap
    • Risk and Reward of Liquidity Providers
    • Product Comparison
    • MarginX ALO: Whitepaper
  • Technical structure
    • Contract Structure
      • CoastDAO Module
    • The Fund Module
      • Contract Specific Design
      • Cross-Chain Description
    • Contract Events
      • Strategy Factory
      • Strategy Pair
      • DssCdpManager
      • DSProxyFactory
      • Vat
    • Contract Invocation Method
      • DSProxyFactory
      • ProxyRegistry
      • DSProxy
      • The Price of the Collateral Assets
      • DssProxyActions
        • Adding Liquidity For New Perpetual Markets (First Time)
        • Creating Order (Providing Liquidity)
        • Request For Withdrawing Liquidity
        • Withdrawal
      • StrategyFactory
  • MarginX Spot
    • Swap
    • Pool
      • Add Liquidity
      • Remove Liquidity
    • Farm
      • Deposit LP Tokens
      • Withdraw LP Token
    • Supported Networks
  • MARGINX SUBGRAPH
    • Overview
    • Query Examples
  • MarginX 1.0
    • Built On f(x)Core
    • Decentralized Order Book
    • Referral Programme
    • MarginX NFTs
    • Maker Liquidity Pool
    • MarginX 1.0 Litepaper
  • ERC20 Token Factory
    • Token Factory Supported Networks
    • Create Token
    • Provide Token Details
    • Interact with Token
    • Role Management
  • Help desk
    • Perpetual Trading 101
    • User Guide (Video)
    • MarginX 2.0 FAQ
    • Contact us
Powered by GitBook
On this page
  1. MarginX Spot
  2. Pool

Add Liquidity

PreviousPoolNextRemove Liquidity

Last updated 11 months ago

To add liquidity to MarginX:

  1. Open the MarginX web app and connect your wallet. Next, select the “Pool” to open the Pools page.

  2. Select “Create a pair”.

  3. Select the token drop-down.

  4. Select the token you want to add liquidity for.

    Note: When adding liquidity, you can select any pair of tokens.

    Consider the Total Value Locked (TVL), trading volume, and token price when selecting tokens. The MarginX analytics site provides this information for existing pools.

  5. Next, select the second token. Select the token drop-down.

  6. Select the second token you want to add liquidity for.

  7. Enter the amount of tokens you want to deposit into the liquidity pool, or select “Max” for the maximum amount of tokens.

  8. Select “Approve”, then in your wallet allow your tokens to be used for providing liquidity. This transaction has network costs.

  9. Select “Supply”.

  10. Review the liquidity position details, then select “Confirm Supply”.

  11. In your wallet, confirm the transaction. This transaction has network fees.

  12. To view the pending transaction select “View on FX Starscan”. Otherwise, select “Close”.

    You will receive FX-V2 tokens. These tokens represent your ownership over the liquidity position.

    To add these tokens to your wallet, select “Add FX-V2”.

  13. A confirmation notification will appear once the transaction is complete.

  14. Once completed, you can view and manage your liquidity position from the Pool page.

  15. For new tokens listed on MarginX, go to this to give your token an icon on MarginX. Follow the instructions on the README of the repository to add your token image. Do allow the project owner time to merge your pull request.

Github repository