Code Monkey home page Code Monkey logo

jlcarvalho / solana-jupiter-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pmioduszewski/solana-jupiter-bot

0.0 0.0 0.0 1.51 MB

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 ๐Ÿ‘ˆ

Home Page: https://github.com/ARBProtocol/solana-jupiter-bot

License: MIT License

Shell 0.30% JavaScript 99.70%

solana-jupiter-bot's Introduction

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)

solana-jupiter-bot's People

Contributors

pmioduszewski avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.