How to manage liquidity in OccamX?

Adding Liquidity

To begin, you will need at least two assets in your Metamask wallet and some spare mADA for the gas fees.

Once you are on the OccamX website and have your MetaMask wallet connected to Milkomeda click the "Pool" button.

On the next screen, you can see a list of all pools available in OccamX. From there chose the pool where you are going to provide liquidity and hit the "ADD LIQUIDITY" button. For this guide, we will pick the mADA/multiUSDC pool.

Then you will be taken to a window with both pairs of the chosen pool. Hit the "Add Liquidity" button and enter into the 1st or 2nd field the amount of asset you want to use for liquidity providing. You need to provide only one value, the second asset will be adjusted automatically, according to the AMM formula and current pool price. If one or both of the tokens you picked are used for the first time, token spending approval is required first (by approving a token spending you effectively allow the dApp to use the token on your behalf).

In case you create a new pool, you are required to enter values for both assets. Choose carefully the right assets ratio so that the pool has a realistic start price. You can see the current swap price in the bottom right corner.

When you are ready just hit the "Supply" button

Then you will land in a screen that will show details about the liquidity provision you are about to do. Please review it and hit the "Confirm Supply" button and sign the tx in your Metamask wallet

Once the tx is approved by Milkomeda network you are done and you have received your LP tokens in your wallet. You can check your provision in the chosen pool by turning on "My position" toogle, this position represents your share in that pool

Note: You can choose to add more liquidity by repeating the same process again.

Removing Liquidity

In order to remove liquidity from a pool, hit the “Pool” button in the main UI.

Search the pool where you want to remove the liquidity from the list and hit the "ADD LIQUIDITY" button. For this guide, we will pick the mADA/multiUSDC pool

In the next UI box hit the "Remove Liquidity" button and choose the portion of your liquidity you wish to remove. You can see live how much pool tokens you will receive in exchange for chosen Liquidity tokens amount. When you are ready hit the "Remove" button.

Then you will land on a screen showing you the basic info about the action to be performed like: the amount of both tokens to be received, the swap rate, and your resultant share in the pool. Review the info and when you are ready hit the "Confirm" button

After that you will receive the tokens in your wallet once the transaction is confirmed in Milkomeda network

Last updated