How to Add Liquidity

  1. Find the right pool. In Magma, for the same pair, there're different bin steps and fee rates you can choose from. So the pool selection is very important.

  1. You can either choose from the Liquidity page's pool list, or you can click the Deposit Liquidity on the right. When choosing from the pool list, please make sure the bin step, fee rate, and liquidity are all right.

  1. If you can find the pool you need on the list, and click Deposit Liquidity, you'll be able to choose the two tokens you're going to add. Then on the right, you can choose a different fee rate, which represents different pools.

  1. On the right, there are all the available pools with the fee rate you can choose. On the left is the pool list fits the fee rate. For ALMM, a different bin step means a different pool. For detailed definition, please check https://magma-finance-1.gitbook.io/magma-finance/~/revisions/S22puzcwNQJoLiEXgKif/almm/definitions.

  2. You can add liquidity on pools directly, or you can create the pool you want. If you want to create a pool, you'll have to set an initial price for the pool.

  1. After that, you'll be able to add liquidity to that pool.

  1. On the left, you can choose the shape of your liquidity. This gives you a simple way to deploy a liquidity strategy. On the left bottom, the red bar represents the range of your liquidity you are going to add. you can either drag the dots or enter exact price or price percentage to change the price range. On the right, you can enter the amount of tokens you want to add.

  1. Once you enter all the parameters, the amount of another token you'll add would be calculated automatically. And you'll be able to submit the transaction.

  1. After the transactions are confirmed by Sui, you'll be able to see your position on the My Position page.

  1. The create pool and add liquidity action would cost more gas than other operations. Especially when you're adding liquidity to a wide price range involving multiple bins.

Last updated