Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
107 views

Panic on Solana cross program invocation

Program log: panicked at 'range end index 64 out of range for slice of length 0', src/token.rs:551:38, failed: SBF program panicked Where can I investigate 551:38 line of code, or any help on ...
CaminoDS's user avatar
1 vote
1 answer
279 views

how to swap between spl tokens inside rust anchor program

I'm going to implement spl token swap with rust inside Anchor project. Basically it's about compounding logic in staking project, so I have to swap reward tokens into stake token and add it to staking ...
cablespecific's user avatar
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
1 vote
1 answer
1k views

Raydium swap vs CPI Call to Raydium Program

what is the difference between sending a transaction from a client to the Raydium program to make a swap and making your program that does a cpi call to the Raydium program and sending the transaction ...
kc.sol's user avatar
  • 13