CAUTION! Use at Your own risk! I take no responsibility for your transactions!
⚠️ EPILEPSY WARNING - CLI UI is constantly refreshed and may be disruptive for sensitive ppl
It's a trading bot that can trade on Solana blockchain by utilizing Jupiter Agregator SDK. There are two parts:
- config wizard
- trading bot
With Config wizard You can easly setup your trading strategy.
📊 Bot have CLI UI which helps You monitor your trading strategy.
CLI UI have current simulated profit chart and latency chart. Latency chart shows You the time taken to computate 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 (read below).
THIS README IS NOT COMPLETED YET.
$ git clone https://github.com/pmioduszewski/solana-jupiter-bot && cd solana-jupiter-bot
$ yarn
Set Your wallet private key in .env
file
SOLANA_WALLET_PRIVATE_KEY =
hgq847chjjjJUPITERiiiISaaaAWESOMEaaANDiiiIwwWANNAbbbBErrrRICHh;
*[optionally] set default RPC (it can be also set in wizard)
SOLANA_WALLET_PRIVATE_KEY=hgq847chjjjJUPITERiiiISaaaAWESOMEaaANDiiiIwwWANNAbbbBErrrRICHh
DEFAULT_RPC=https://my-super-lazy-rpc.gov
$ solana-jupiter-bot:
Usage
$ yarn start
This will open Config Wizard and start bot
$ yarn trade
Start Bot and Trade with latest config
Have fun!
While bot is running You can use some hotkeys that will change behaviour of bot or UI
[H]
- show/hide Help
[CTRL] + [C]
- obviously it will kill the bot
[E]
- force execution with current setup & profit
[R]
- revert back last swap
[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)