1

I'm looking to create a SPL token and I'm wondering if you can create a liqudity pool / remove liquidity pool without using the UI on Raydium.

1 Answer 1

0

you can reference these link for implemention.

https://github.com/raydium-io/raydium-sdk-V1-demo/blob/master/src/ammCreatePool.ts

https://github.com/raydium-io/raydium-sdk-V1-demo/blob/master/src/ammRemoveLiquidity.ts

this includes demonstrations of utilizing Raydium SDK.

2
  • I am creating a pool using this code. I am stuck on the feeDestinationId parameter. What address should I use for this if I create the pool with a random SPLtoken on the Devnet?
    – Bobz
    Commented Feb 15 at 13:20
  • github.com/raydium-io/raydium-amm/blob/master/program/src/… devnet: 3XMrhbv989VxAMi3DErLV9eJht1pHppW5LbKxe9fkEFR mainnet: 7YttLkHDoNj9wyDur5pM1ejNaAvT9X4eqaYcHQqtj2G5 Commented Feb 15 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.