All Questions
5 questions with no upvoted or accepted answers
1
vote
0
answers
318
views
Unable to Build Rust Program with jupiter-core Dependency for Swapping SOL to USDC
I started learning Solana very recently and right now I'm trying to perform a swap transaction to swap SOL to USDC.
I found out that there's a Jupiter DEX and I'm trying to use its library. But ...
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-...
0
votes
0
answers
117
views
How to parse transactions swap like explorers do
I'm trying to identify a buy or sell transaction, from which token to which token and how much was bought/sell.
My goal is to have an output similar to that of dexscreener, photon or gmgn...
I don't ...
0
votes
0
answers
173
views
Feepayer issue while swap
I am facing the issue while swapping the tokens using Jupiter API, I want to swap from other and feepayer will be another account.
while swapping the feepayer account error show:
Error Swap: Cannot ...
0
votes
0
answers
209
views
Trying to do a DEX CPI to perform fully on-chain swaps
I want to create a fully-onchain swap through any clmm dex so for this example I'm trying through raydium even tho I just want to make it work.
I'm using the github repo here to import necessary ...