Open CRY-D opened 6 months ago
Hello, I have the same issue, have you found any alternative?
Hello, if I'm not mistaken, once the token met the criterias (token metadata, $250 liquidity buy/sell, price impact below 30%), it will be listed automatically within few minutes. So that's probably why there is a delay.
Ah, it's me again ;) I'm currently facing the following issue: I know it's not the library's issue but the DEX jup aggregator. When I snap a newly created pools on Raydium, roughly within the first 10 to 20 seconds, and then execute the trade, it always returns the message 'The token whatever is not tradable :('.
However, when I search the token address on Dexscreener or Birdeye ... oh my, is already there and tradable 💯.
Jupiter doesn't trade new pairs. You have to use the Raydium SDK.
Is there a python Raydium API/SDK? I haven't found one.
Is there a python Raydium API/SDK? I haven't found one.
Check this out.
https://github.com/leq6c/soldexpy
This guy has a good start on doing Raydium swaps, but unfortunately the code is super slow, even with a good RPC. This wouldn't be suitable for an production level code, in fact he expressly says that it is experimental.
If this code could be improved upon, it could be great.
Noticed that some of the tokens are available on their private api host: https://edge-quote-api.jup.ag
while the same tokens are deemed not tradable on https://quote-api.jup.ag
Noticed that some of the tokens are available on their private api host:
https://edge-quote-api.jup.ag
while the same tokens are deemed not tradable onhttps://quote-api.jup.ag
Yes, but can't send ".swapPost" to this url. Got:
'Program log: panicked at 'range end index 72 out of range for slice of length 0', src/token.rs:537:39', 'Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 33807 of 1353845 compute units', 'Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked'
When I build transaction including two swap instructions and sol transfer instruction: I used jupiter swap instructions api. "Program log: Instruction: Route" "Program log: panicked at 'range end index 72 out of range for slice of length 0', src/token.rs:537:39" "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 18729 of 778155 compute units" "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: SBF program panicked"
if you run into "Program log: panicked at 'range end index 72 out of range for slice of length 0', src/token.rs:537:39"
error, that means that you are missing the necessary token accounts to swap to and from.
this can happen if you are skipping setupInstructions
if you are using /swap-instructions
.
Ah, it's me again ;) I'm currently facing the following issue: I know it's not the library's issue but the DEX jup aggregator. When I snap a newly created pools on Raydium, roughly within the first 10 to 20 seconds, and then execute the trade, it always returns the message 'The token whatever is not tradable :('.
However, when I search the token address on Dexscreener or Birdeye ... oh my, is already there and tradable :100:.