raydium-sdk icon indicating copy to clipboard operation
raydium-sdk copied to clipboard

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

Open tabatinga0xffff opened this issue 1 year ago • 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.

tabatinga0xffff avatar Feb 06 '24 20:02 tabatinga0xffff

Hey, did you happen to make it?

AllexAntoniollo avatar Mar 23 '24 23:03 AllexAntoniollo