Skip to main content

All Questions

Tagged with
5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
EugeneS's user avatar
  • 11
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-...
barugaggi's user avatar
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 ...
S G's user avatar
  • 1
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 ...
Bobz's user avatar
  • 574
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 ...
David's user avatar
  • 1