Skip to content

FLOCK4H/X-Ray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

X-Ray

Optimized for speed, free, and open-source project for trading tokens released on Raydium Launchpad. The swaps are being made using custom launchlab module, there's no reliance on Jupyter or any other router - Transactions are built on your machine and then sent directly to your Solana RPC node.

Default parameters in X-Ray should be updated by the user, market changes dynamically and can change in a matter of an hour - meaning, there is no room for defaults.

Always assert your .env config is adjusted to current market conditions.

Features

  • Real-time token monitor
  • Configurable trades
  • Fast transactions & High transaction landing rate

Setup

1. Download this Git repo

$ git clone https://github.com/FLOCK4H/X-Ray

2. Install the X-Ray (optional)

$ cd X-Ray
$ pip install .

3. Configure settings

Note

Settings should be in the .env file and located in your current working directory when running the bot.

HTTP_RPC = "https://mainnet.helius-rpc.com/?api-key=" # can be any other standard solana rpc node provider
WS_RPC_URL = "wss://mainnet.helius-rpc.com/?api-key=" # can be any other standard solana rpc node provider
KEYPAIR = "" # aka private key, in base58 format - Phantom format
BUY_AMOUNT = 0.001
FEE = 0.00004 # RAYDIUM IS A VERY VOLATILE MARKET, PLEASE SET HIGHER FEE OR TXNS MAY FAIL DUE TO SLIPPAGE
MIN_BUYS = 10 # mininum buys before buying a token
FROM_OPEN = 2.5 # minimum price from open/ low to enter token, e.g. lowest price is always 0.0000000280 so times 2.5 is ~0.0000000700
ENTER_LOW_PRICE = True # enter based on low price instead of open price
SLIPPAGE_PCT = 30 # slippage percentage

# selling:
MAX_LOSS_FROM_HIGH = 30 # max loss from high price
MAX_INACTIVITY_TIME = 20 # max inactivity time
MAX_LOSS = 15 # max loss from buy price
TARGET_PROFIT = 2.5 # target profit from buy price

DEBUG_ = True # enables debug logs

4. Run

a) You have installed X-Ray

Simply run the command below
$ x-ray

b) You haven't installed

Navigate to `src/x_ray` and ensure the `.env` file is there. Then run the `main.py`.
$ cd src/x_ray
$ ls -a
$ python main.py

image

image

Contact

TG Priv: @dubskii420

TG Group: https://t.me/flock4hcave

Discord Group: https://discord.gg/thREUECv2a

Tip Wallet: FL4CKfetEWBMXFs15ZAz4peyGbCuzVaoszRKcoVt3WfC