raydium-sdk
raydium-sdk copied to clipboard
How to swap raydium/spl token with this library?
I want to swap a raydium token with this library in my project.
How can I do it? Need example
Any update on this ?
Agree, would be nice to have an example on the simple tasks
Unfortunately, still no change. Project owners continue to not respond.
I wonder if there is some demo API usage about query the balance, or staked coins and rewards. Or some info about APR and TVL.
You guys should check out https://github.com/raydium-io/sdk_demo
Any update on this please ?
You should take a look at openbook v2, raydium use openbook to centralize markets. OpenBook provide a nice sdk to place bids if you need.
In complement with this raydium sdk you should be able to identify pools, markets and do what you want
So you mean we can not swap using Raydium sdk now?
Any update on this??
francestu96!! Now there is no makeSwapTransaction function in Liquidity from @raydium-io/raydium-sdk. So I made transaction using makeSwapInstructionSimple and buildSimpleTransaction. Got transaction array but I don't know how to send these at once. I am using 1.3.1-beta-47. Please let me know. Sorry.
francestu96!! Now there is no makeSwapTransaction function in Liquidity from @raydium-io/raydium-sdk. So I made transaction using makeSwapInstructionSimple and buildSimpleTransaction. Got transaction array but I don't know how to send these at once. I am using 1.3.1-beta-47. Please let me know. Sorry.
Thank you, finally I gave up since I'm not even able to make this lib work...
I opened an issue but without success: https://github.com/raydium-io/raydium-sdk/issues/50
I made an example repo with simple code to help with the swap using this library. Check it out. precious-void/raydium-swap.
Wonderful and Thank you. and did you check?
Thank you. I will check out.