-
**raydium.liquidity.computeAmountOut**
Hi, looks like I found an issue when for some tokens it calculates incorrect amountOut (I have last sdk version)
I'll attach 2 examples:
1. SUCCES CASE: A…
-
raydium-sdk-V2-demo/node_modules/@raydium-io/raydium-sdk-v2/src/raydium/clmm/utils/tick.ts:229
...[...exTickArrayBitmap.negativeTickArrayBitmap].reverse(),
…
-
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 …
-
Hi there, we are forking the UI but the api calls are not working
https://transaction-v1.raydium.io/compute/swap-base-in?inputMint=So11111111111111111111111111111111111111112&outputMint=4k3Dyjzvzp8…
-
I don't know where to ask the question, so I'll ask here
I'm developing crypto wallet and implementing a WaletConnect connection for Solana.
According to [the documentation](https://docs.walletc…
-
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…
-
I am using the swap api to execute swap trades on solana tokens.
Most of the time the swap api works well, however way too often the transaction fails. The suspected culprit for this is slippage b…
-
https://github.com/raydium-io/raydium-sdk-V2-demo/blob/15b3620f8efdb6567b258c387c42008dd7e1ce3a/src/amm/swap.ts#L11
Pool creation tx: https://explorer.solana.com/tx/4URxQpz9ByTutypYAgTKftJsaT2N2iUm…
-
When I run `yarn dev src/swap.ts`, I encountered the following error. I suspect it's due to insufficient prioritization fee. How can I set the prioritization fee?
`yarn run v1.22.21
$ ts-node src/…
-
```
const inputAmount = new BN(amountToSend);
const reserveA =
(poolInfo.mintA.address.toString() === tokenToSend) === bIsTokenSwap
? rpcData.qu…