this post was submitted on 07 Feb 2024
-4 points (16.7% liked)

Cryptocurrency

1197 readers
3 users here now

founded 4 years ago
MODERATORS
 

How to swap a token for SOL or vise versa** from within** a Solana smart contract? That is, on-chain. How to interract with a router of either Raydium or SolDex? I haven't found any example of this.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 5 months ago

Why are you even interested in SOL?

They have proven themselves to be CeFi
(Centralized Finance),
by pausing the chain at will multiple times..