Solana Jupiter Bot
ARB Protocol | Automated Arbitrage Bot Using Jupiter
Install / Use
npx skills add ARBProtocol/solana-jupiter-botInstalls into whichever agent you are using.
README
⚠️ This bot can lead to loss of your funds, use at your own risk. Start with small amounts and protect your keys.
This README is not complete. Try asking the community on the ARB Discord if you have any questions.
Arb Jupiter Bot - JUPV4
This bot is an open-source CLI tool that allows you to automate your crypto trading strategies on the Solana blockchain. The bot is currently written in JS and uses the Jupiter V4 SDK to find routes and execute trades.
nav
features · CLI UI · ⚡️install · quickstart · hotkeys · contributing · license · risk
features
-
[x] mainnet network support
-
[x] all Jupiter Aggregator coins
-
[x] easy to use Config Wizard
-
[x] CLI UI
-
Trading strategies
- [x] Arbitrage strategy
- [x] PingPong strategy
-
Slippage management
- [x] BPS slippage
-
Profit management
- [x] min profit % (target)
-
Charts
- [x] latency chart
- [x] simulated profit chart
-
History & Statistics
- [x] history of trades (CLI table)
- [x] statistics of all trades
-
Advanced
- [x] custom UI colors
- [x] min. interval beetween iterations (to avoid 429)
-
[x] hotkeys
-
[x] lots of fun
CLI UI
⚠️ EPILEPSY WARNING - CLI UI is constantly refreshed and may be disruptive for sensitive people
🔥 CLI UI helps you monitor your trading strategy with little impact on performance.
CLI UI currently displays a simulated profit chart and latency chart. The latency chart shows you the time taken to compute routes with Jupiter SDK.
All trades are stored in trades history and will be shown in the table. Table is limited to 5 entries, but history stores all trades.
💡 UI elements can be hidden or shown using hotkeys.



· back to top ·
install
Please don't use
npm, useyarninstead.
$ git clone https://github.com/arbprotocol/solana-jupiter-bot && cd solana-jupiter-bot
$ yarn
Set your wallet private key in the .env file
SOLANA_WALLET_PRIVATE_KEY=hgq847chjjjJUPITERiiiISaaaAWESOMEaaANDiiiIwwWANNAbbbBErrrRICHh
Set the default RPC ARB Protocol RPC is used by default
DEFAULT_RPC=https://my-super-lazy-rpc.gov
ALT_RPC_LIST=https://change-this-url-in-env.gov,https://change-alt-urls-in-env.com
· back to top ·
quickstart
- Clone this repo
- Install dependencies
- Set your wallet private key in the
.envfile - Run
yarn startto start the Config Wizard - Follow the steps in the Config Wizard
Usage:
$ yarn start
This will open Config Wizard and start the bot
$ yarn trade
Start Bot and Trade with latest config
$ yarn wizard
Start Config Wizard only
some tips 👀
🔨 The bot is a Tool, not a holy grail that will make you rich just by running it. If you don't know what you are doing, you WILL lose money.
👉 RPC / Network speed & good trading strategy is the key to success. You can speed up the bor but disabling AMMS not being used or too slow.
🙉 Not everything is so obvious. eg. a larger trade size can lead to smaller profits than a lower trade size.
🛑 If you frequently get 429 errors, you should increase the minInterval in the config (Advanced step).
🥵 You want to arbitrage USDC or USDT? YES! Guess what? E V E R Y O N E wants to arbitrage USDC or USDT. If you don't have access to a super fancy RPC, there is a good chance you will end up with lots of 'Slippage errors'.
🥶 SLIPPAGE ERRORS are not bot errors. They are part of the Solana blockchain. If you want to avoid them you have to go with the super fancy RPC or pick the less popular pairs/coins - just try to find out which ones hold profit opportunities.
🏓 PingPong strategy is really poweful on sideways markets. Search through charts the coins that are constantly moving up and down.
📡 If you can't run the bot, it's likely something wrong with the network, RPC, or config file.
😬 Don't like the intro? You can disable it in the .env file with SKIP_INTRO=true
· back to top ·
hotkeys
While the bot is running, you can use some hotkeys that will change the behaviour of the bot or UI
[H] - show/hide Help
[CTRL] + [C] - obviously it will kill the bot
[I] - incognito RPC Hide RPC address - helpful when streaming / screenshotting
[E] - force execution with current setup & profit (may result in loss - you bypass all rules)
[R] - force execution, stop the bot (may result in loss - you bypass all rules)
[L] - show/hide latency chart (of Jupiter computeRoutes())
[P] - show/hide profit chart
[T] - show/hide trade history table *table isn't working yet
[S] - simulation mode switch (enable/disable trading)
· back to top ·
Balance management and error handling
Balances are checked when the bot loads and also as it is running to avoid it running when there is insufficient balance (to help prevent spamming NSF transactions). There is also a setting in the bot that will end the proce
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
