Please let me know how to swap SPL token using Raydium Liquidity Pool V4. I need sample code. Please help me.

1 Answer 1


Here is a project I made to do this in Rust. Note that I haven’t actually tested it yet so use at your own discretion!

It should be useful as a reference point though.

  • How can I connect you? Email or Telegram or Discord something like that. Can you teach me? Now I am testing your answer but Rust is first for me. Seems too late. Commented Jan 18 at 17:01
  • Too late for what? I can give you a few pointers on twitter but I can't promise much time. The handle's @crust0x. Please consider asking your questions here first as it's a public forum that others can view, contribute and learn from
    – Ademola
    Commented Jan 18 at 19:15
  • OK, I see. I would like to discuss this code execution using anydesk. Thank you. Commented Jan 19 at 8:54

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.