Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
1
answer
21
views
Does raydium V2 SDK have derive helpers for PDAs
Does the Raydium V2 SDK have helpers to derive PDA address for example for the pool_id -> https://github.com/raydium-io/raydium-clmm/blob/119ed36bf9f33335ed8d671780502bc37d9f1605/programs/amm/src/instructions …
0
votes
0
answers
3
views
In Raydium ammConfig accounts, what does the index represent
For example in Raydium CPMM program, what does index represent? … I derived three accounts with indexes being 1, 2 and 3 and all were valid accounts
Here is how the account is initialized in the code https://github.com/raydium-io/raydium-clmm/blob/119ed36bf9f33335ed8d671780502bc37d9f1605 …
0
votes
0
answers
2
views
How to estimate the amount to get from Raydium CPMM withdraw instruction
Is there a way I can estimate that amount that I will receive from calling the CPMM withdraw instruction
const { execute } = await raydium.cpmm.withdrawLiquidity({
poolInfo,
poolKeys,
lpAm …
0
votes
0
answers
5
views
`Error: destinationAmountSwapped is zero` Raydium CurveCalculator
I am trying to get the swap results before making a swap using from Raydium V2 SDK
const swapResult = CurveCalculator.swap(
inputAmount,
baseIn ? baseReserve : quoteReserve,
baseIn ? …
1
vote
0
answers
13
views
Why are my mint tokens interchaged when I create a Raydium CPMM pool
I created a CPMM pool using the aptly named mintA and mintB fields in the createPool cpmm method.
I assumed that mintA would represent the base token, my token and that mintB would represent the quote …
0
votes
1
answer
20
views
How to fetch Raydium Fee rates
I would like to fetch the tradeFeeRate when making a swap on Raydium. …
0
votes
1
answer
19
views
what does the authority field in Raydium poolKeys type represent
In this type CpmmKeys when fetching poolKeys from Raydium, what does the authority field represent.
It isn't the liquidity pool creator's public key and I'd love to know what it represents. … The field in question -> https://github.com/raydium-io/raydium-sdk-V2/blob/78d0e5c85b0f7f40b2db957976c6071763ca0ce8/src/api/type.ts#L322
On devnet, here is the authority for this pool DgXXHQNPy3nZbsNDNEVDiBHvA5EiYS2Jjki71LyMg5SZ …
1
vote
1
answer
15
views
How to find CPMM pool address on Solana Explorer create tx
I created a CPMM liquidity pool using the @raydium-io/raydium-sdk-v2 and a JS script but forgot to print out the poolId,
How can I fetch this from the explorer. …