-
error like this:
`2024-06-18 18:53:35,204 ERROR 73552 [-/127.0.0.1/e7ef3ac1-1b0b-4ce0-9230-1fc6a8e7e98b/12660ms POST /solana/raydium/cpmm] nodejs.AxiosError: timeout of 10000ms exceeded
at Red…
-
my question is how to reverse cpmm swap mintB -> mintA
cpmm swap mintA -> mintB
```
export const swap = async () => {
const raydium = await initSdk()
// SOL - USDC pool
const data …
-
“When I use this demo to create a CPMM pool, I encounter an error 100% of the time.”
simulate tx string: [
'AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA…
-
hello,
// SOL - USDC pool
const data = await raydium.api.fetchPoolById({ ids: 'AVs9TA4nWDzfPJE9gGVNJMVhcQy3V9PGazuz33BfG2RA' })
const poolInfo = data[0] as ApiV3PoolInfoStandardItemCpmm
con…
-
Getting error when using CurveCalculator.swap
https://github.com/raydium-io/raydium-sdk-V2-demo/blob/ca8615fce7d911eece0370d58f2d67b016482aa9/src/cpmm/swap.ts#L17
```
TypeError: r.mul is not a …
-
```
const inputAmount = new BN(amountToSend);
const reserveA =
(poolInfo.mintA.address.toString() === tokenToSend) === bIsTokenSwap
? rpcData.qu…
-
Getting error when using CurveCalculator.swap
https://github.com/raydium-io/raydium-sdk-V2-demo/blob/ca8615fce7d911eece0370d58f2d67b016482aa9/src/cpmm/swap.ts#L17
```
TypeError: r.mul is not a …
-
i use cpmm baseout, but wsol creates many accounts
![Screenshot 2024-06-18 092159](https://github.com/raydium-io/raydium-sdk-V2-demo/assets/171489804/2d80d5d1-e86e-4ef6-89f0-913ce83f01a1)
-
logs: [
'Program CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK invoke [1]',
'Program log: Instruction: SwapV2',
'Program log: AnchorError caused by account: observation_state. Error Cod…
-
I have 2 question.
1.
https://github.com/raydium-io/raydium-sdk-V2-demo/issues/3
in this issue,I need find pool pair with search with back-end ( need exist that in this raydium-sdk-v2-demo ),but yo…