Jupiter Python CLI is a Command Line Interface (CLI) where you can use Jupiter features including a Sniper Bot.
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.
This project has been made for Python 3.11
💾 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
python main.py
📟 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
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.
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.
- Token/Project name
- Token Address
- Amount ($) to buy
- Take Profit ($)
- Stop Loss ($)
- Slippage (%)
If token has a launch date:
- Month
- Day
- Hours
- Minutes
You can watch your trading position by selecting the token.
You can modify token info as follow:
- Name
- Address
- Selected Wallet
- Buy Amount
- Take Profit
- Stop Loss
- Slippage
- Launch date
- Delete
Your private keys are stored in wallets.json
.
There are no additional fees when performing swaps via the CLI; the costs should be the same as using the Jupiter UI.
If you close the CLI, the sniper bot will stop running.
You can only swap tokens that are listed on Jupiter based on their criterias.
- Go to https://github.com/michaelhly/solana-py/tree/master/src/spl/token and download
instructions.py
- In your packages folder, replace
spl/token/instructions.py
with the one you just downloaded.
Sniper Bot: it's taking 10-20 seconds to get real trade position info after a swap route is found and executed
- 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 💸
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.
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