All Questions
1 question
1
vote
1
answer
420
views
How to swap SOL <-> token / vise versa but on-chain (in a smart contract)? On Raydium or SolDex
I'm aware of this question How to interact with router for swap transaction?
but mine is different.
How to swap a token for SOL or vise versa from within a Solana program/smart contract? That is, on-...