raydium-io/raydium-sdk

How to swap a token for SOL, or vise versa?

tabatinga0xffff opened this issue · 1 comments

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?