Closed dexweb3 closed 4 months ago
add devent example to lastest commit, you should modify programId/market programId/fee programId https://github.com/raydium-io/raydium-sdk-V2-demo/blob/master/src/amm/createAmmPool.ts#L27 also, remember to modify cluster to devent in config.ts https://github.com/raydium-io/raydium-sdk-V2-demo/blob/master/src/config.ts.template#L16
Thanks @cruzshia , it works 👍
Before running the script, I set up the environment: updated the values in config.ts.
My call code:
I ensured that marketId, as well as base and quote, are correctly set (exactly the same values that were passed in the transaction to create the market).
Error: Signature XXX has expired: block height exceeded.
For some reason, at the devnet, the transaction just hangs with no reaction. I tried retrying it many times, changing/removing computeBudgetConfig.
No any issue with connection because the market creation transaction, for example, executed instantly.
Also, in the Solana explorer, this transaction does not appear as successfully completed nor as failed. It's as if it didn't even attempt to execute.
Are there any reasons why this might be happening? Maybe I have something incorrectly set up considering working with devnet?