Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

https://github.com/ARBProtocol/solana-jupiter-bot Simple trading bot that utilize Jupiter SDK on Solana blockchain. THIS IS ORIGINAL (DEPRECATED) REPO THAT WAS MOVED INTO ARBProtocol 👈

License

Notifications You must be signed in to change notification settings

pmioduszewski/solana-jupiter-bot

Repository files navigation

solana-jupiter-bot

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

WTF is this?

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.

CLI UI

📊 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.

Install

$ 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

USAGE

$ 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!

Hotkeys

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)

Releases

No releases published

Packages

No packages published