Make sure you have XIDR in your personal wallet. If you haven’t, please refer to here
Choose XIDR pools you want to put liquidity into. As of writing, only the XIDR/USDC pool is available.
You can choose to add either single-sided or double-sided liquidity. When adding single-sided liquidity, the contract takes a portion of your total and does a swap in the background using the DFX AMM to get the appropriate ratio to deposit into the pool. The LPT value when doing single-sided deposit is a minimum estimate and you may have some dust leftover from the conversion.
When providing liquidity, there will be a total of 3 transactions. One to approve the foreign stablecoin (such as XSGD), one to approve USDC, and one to deposit the stablecoins. Once you have successfully added liquidity, you should see a balance under "Remove Liquidity". You should then click on "Stake/Unstake LPTs" to deposit your LP Tokens into the staking contract.
Enter the amount of LPT tokens you want to stake and click "Stake". This is a 2 transaction process. One to approve the LP Tokens to be sent and one to deposit the LPT. The total gas used for both transactions is roughly 200k gas. Make sure you have enough ETH in your wallet for the gas fee.
After you have successfully deposited the LP Tokens, you should see a staked amount under "Unstake LPT". You will now start earning DFX tokens.
XIDR on DFX Finance V1
XIDR is now available on the latest version of DFX¹, which sees the deployment of contracts that leverage an oracle powered by Chainlink to optimize forex prices on-chain, which helps to serve as a reference point for the bonding curve.