Error when trying to setup Solana Jupiter bot #86
Answered
by
TatyOko28
houstonTaleubou
asked this question in
Q&A
-
How do I fix an error when setting up a Solana Jupiter bot? |
Beta Was this translation helpful? Give feedback.
Answered by
TatyOko28
Feb 9, 2025
Replies: 1 comment
-
The issue could be caused by: Missing Dependencies: npm install @jup-ag/core @solana/web3.js Invalid RPC Connection: const connection = new Connection("https://api.mainnet-beta.solana.com", "confirmed"); Invalid Wallet Setup: const wallet = Keypair.generate();
const jupiter = await Jupiter.load({ connection, wallet }); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
houstonTaleubou
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue could be caused by:
Missing Dependencies:
Ensure you have installed @jup-ag/core and required Solana libraries:
Invalid RPC Connection:
Make sure your RPC URL is correct:
Invalid Wallet Setup:
If using a wallet, ensure it's initialized properly: