-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility issues - ^1.3.1-beta.57 #15
Comments
Can you provide more details on your env and your scenario? |
@akegaviar Hi sir , i have clone above repo. i have initialized swap and it gives me hash https://solscan.io/tx/2EaXLWdLV9uTujQnw7gmWtqYjWeTxXu9rFxsH6VL9EvuQmPLoHpwAm1Qzap6q1mGiUji3Aw4Jpfo8DjjskYAjC23 but when i went to solana scan i got not transaction found. why? |
@akegaviar please reply sir. |
@growwnoww there could be a lot of reasons for why — from not enough fees with the transactions to not having a node rpc endpoint that's propagating 100%. I suggest you add some logging and try and troubleshoot. |
@akegaviar |
|
i have also set executable Swap true. in swapConfig.tsx file |
@growwnoww This is most likely due to the transaction not actually landing. Three options here: 1) Add retries until a transaction lands; 2) Significantly increase fees; or 3) Use Trader nodes which provide 100% landing rate but come at a cost and start from the Business plan. |
@akegaviar It's working fine . but where i can new listed token pool info . currrently mainnet.json file have old token pool info. i searched on raydium docs they also have old tokens pool. they doesn't have newly listed token pool info. where i can get this. |
src/RaydiumSwap.ts:109:7 - error TS2353: Object literal may only specify known properties, and 'makeTxVersion' does not exist in type 'LiquiditySwapInstructionSimpleParams'.
109 makeTxVersion: useVersionedTransaction ? 0 : 1,
~~~~~~~~~~~~~
src/RaydiumSwap.ts:249:52 - error TS2345: Argument of type 'PublicKey' is not assignable to parameter of type 'number'.
249 const currencyIn = new Token(TOKEN_PROGRAM_ID, currencyInMint, currencyInDecimals)
~~~~~~~~~~~~~~
src/RaydiumSwap.ts:251:53 - error TS2345: Argument of type 'PublicKey' is not assignable to parameter of type 'number'.
251 const currencyOut = new Token(TOKEN_PROGRAM_ID, currencyOutMint, currencyOutDecimals)
~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: