Git Product home page Git Product logo

jupiter-python-cli's Introduction

πŸ“Ÿ JUPITER PYTHON CLI πŸͺ

banner_video.mp4




πŸ“– Introduction

Jupiter Python CLI is a Command Line Interface (CLI) where you can use Jupiter features including a Sniper Bot.

⚠️ Disclaimer

Please note that I'm not responsible for any loss of funds, damages, or other libailities resulting from the use of this software or any associated services.
This tool is provided for educational purposes only and should not be used as financial advice, it is still in expiremental phase so use it at your own risk.

✨ Quickstart

This project has been made for Python 3.11

πŸ› οΈ Installation

πŸ’Ύ Clone this repository

git clone https://github.com/0xtaodev/jupiter-python-cli

πŸ’» Create a virtual environnment

python -m venv venv

🌐 Activate Virtual Environnement

.\venv\Scripts\Activate.ps1

▢️ Start CLI

python main.py

πŸ—ΊοΈ CLI Overview

πŸ“Ÿ CLI
β”‚
β”œβ”€β”€ πŸͺ Jupiter Exchange
β”‚   β”œβ”€β”€ Swap
β”‚   β”œβ”€β”€ Limit Order
β”‚   β”‚   β”œβ”€β”€ Open Limit Order
β”‚   β”‚   β”œβ”€β”€ Display Canceled Orders History
β”‚   β”‚   └── Display Filled Orders History
β”‚   β”œβ”€β”€ DCA
β”‚   β”‚   β”œβ”€β”€ Open DCA Account
β”‚   β”‚   └── Manage DCA Accounts
β”‚   β”œβ”€β”€ Token Sniper
β”‚   β”‚   β”œβ”€β”€ Add a token to snipe
β”‚   β”‚   β”œβ”€β”€ Watch token
β”‚   β”‚   └── Edit tokens
β”‚   └── Change wallet
β”œβ”€β”€ πŸ’³ Manage Wallets
β”‚   β”œβ”€β”€ Add wallet
β”‚   β”œβ”€β”€ Edit wallet name
β”‚   └── Delete wallet(s)
β”œβ”€β”€ πŸ”§ CLI settings
β”‚   β”œβ”€β”€ Solana RPC URL Endpoint
β”‚   β”œβ”€β”€ Discord
β”‚   └── Telegram
β”œβ”€β”€ ❓ About
└── πŸ”š Exit CLI

πŸ€– Sniper Bot

In top of most of the Jupiter features that you can use, you are also able to snipe token.
❗Please note that Sniper Bot is experimental and subject to change as there might be issues that I didn't see.

βš™οΈ How it works

Every second, the bot will send a GET request to Jupiter API Quote.
If there is a route available for this token, it will then execute it.
Please note that only tokens with sufficient liquidity and on-chain metadata are listed in Jupiter API: min. 250$ liquidty and buy/sell price impact are below 30%.
When these criteria are met, it will take a few minutes to automatically add the token.

πŸ†• Add a token to snipe

  • Token/Project name
  • Token Address
  • Amount ($) to buy
  • Take Profit ($)
  • Stop Loss ($)
  • Slippage (%)

If token has a launch date:

  • Month
  • Day
  • Hours
  • Minutes

πŸ”­ Watch token

You can watch your trading position by selecting the token.

✍🏻 Edit tokens

You can modify token info as follow:

  • Name
  • Address
  • Selected Wallet
  • Buy Amount
  • Take Profit
  • Stop Loss
  • Slippage
  • Launch date
  • Delete

πŸ—¨οΈ Q&A

Where are my private keys?

Your private keys are stored in wallets.json.

Is there any fees when swapping using CLI?

There are no additional fees when performing swaps via the CLI; the costs should be the same as using the Jupiter UI.

Does sniper bot remains running if I close the CLI?

If you close the CLI, the sniper bot will stop running.

Is it possible to swap any tokens?

You can only swap tokens that are listed on Jupiter based on their criterias.

🚨 Known bugs

ImportError: sync_native from spl.token.instructions

  1. Go to https://github.com/michaelhly/solana-py/tree/master/src/spl/token and download instructions.py
  2. In your packages folder, replace spl/token/instructions.py with the one you just downloaded.

Sometimes 0.01 is added when typying numbers

Invalid DCA Accounts listed (and cannot be deleted)

Discord Webhook or Telegram API not being added in config.json

Duplicating menus when resizing the window

Sniper Bot: it's taking 10-20 seconds to get real trade position info after a swap route is found and executed

πŸ“ TO-DO

  • Clean up code ⚑
  • Add docstrings πŸ“‘
  • Display tokens owned πŸͺ™
  • Favorite tokens displayed in first tokens for swap/limit orders/dca... ⭐
  • Wallet Duplication detection
  • Display message when swap failed (slippage error...)
  • Disable swap / limits orders / etc, if not enough $SOL to cover the tx fees
  • Give possibility to exit current choice (swap, limit order, dca, donation...) πŸƒπŸšͺ
  • Adjust Wallets ID when one is deleted
  • Bridge πŸŒ‰
  • Perpetual πŸ’Έ

🀝 Contributions

If you are interesting in contributing, fork the repository and submit a pull request in order to merge your improvements into the main repository.
Contact me for any inquiry, I will reach you as soon as possible.
Discord Twitter

πŸ‘‘ Donations

This project doesn't include platform fees. If you find value in it and would like to support its development, your donations are greatly appreciated.
You can donate through CLI in About menu.
SOLANA ADDRESS

AyWu89SjZBW1MzkxiREmgtyMKxSkS1zVy8Uo23RyLphX

jupiter-python-cli's People

Contributors

0xtaodev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jupiter-python-cli's Issues

transaction

Hello

A transaction link is created in the sign_send_transaction function, but it doesn't work.
The swap did not proceed and the transaction link created does not exist.

And is this function not needed?

await self.get_status_transaction(transaction_hash=transaction_hash) # TBD

invalid syntax line 233

i'm using python3.9 and 3.8 python version and result with

line 233 match config_cli_prompt_main_menu: ^ SyntaxError: invalid syntax

what version is compatible with your code??

thanks for script

ideas : strategy

i have an idea if theres whale sell for some amount of sol or usdc ,, we buy that token
example if whale sell the token for 20 solana immediately bot buy ,, and set the profit in percentage automatically or manual,, is that possible?

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.