-4
submitted 7 months ago by kashara@lemmy.zip to c/cryptocurrency@lemmy.ml

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
[-] Rikj000@discuss.tchncs.de 1 points 7 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..

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

Cryptocurrency

1197 readers
1 users here now

founded 4 years ago
MODERATORS