-
- fundraising mint can be different from USDC
- other fundraising mints must be approved by donation proto authority in advance
- rate calculation is supported by specific DEX (raydium or jupiter et…
-
I followed cruzshia's advice and used the two mint addresses already created in dev net as baseInfo and quoteInfo, with a Block height exceeded. The problem.
pls help, thanks!
```javascript
a…
-
**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…
-
The issue is as it presents itself. I'm using the code as it is in the demo application with
```js
const out = raydium.liquidity.computeAmountOut({
poolInfo: {
...poolInfo,
bas…
-
Hi everyone,
I'm trying to understand the under-depth of swapping using a pool and the example given in this demo under the name "swap.ts" is giving me nightmares.
If I understand correctly, the `…
-
Error: Error adding liquidity: TypeError: Cannot read properties of undefined (reading 'authority'),
const { execute, extInfo } = await raydium.liquidity.addLiquidity({
poolInfo: poo…
-
Hello! Many thanks for providing such SDK, it solves a lot of tasks out of the box!
I encountered an issue while implementing swap of WSOL and Token2022.
Here is a pair address: `8THC7UQN8zPXRL61…
-
This is the code for creating my CPMM pool in devnet:
export const createPool = async () => {
console.log(1111)
// axios.defaults.httpsAgent = new HttpsProxyAgent({
// host: '127.0.0.1'…
-
I am using getRpcPoolInfo to get pool details but in res not getting programId.
{
status: ,
nonce: ,
maxOrder: ,
depth: ,
baseDecimal: ,
quoteDecimal: ,
state: ,
resetFlag: …
-
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…