raydium-sdk
raydium-sdk copied to clipboard
How to swap a token for SOL, or vise versa?
How to swap a token for SOL or vise versa from within a Solana program/smart contract? That is, on-chain. How to interract with the router of Raydium? I haven't found any example of this.
Hey, did you happen to make it?