Configuration
The config.ini
file is located in the main directory of the bot.
Default config
[SNIPER]
CONFIG_VERSION=1
IDENTIFIER=
TICK_RATE=1000
[WALLET]
SECRET_KEY=
NODE_URL=
[TRANSACTION]
AMOUNT_IN=0.001
TOKEN_IN=
TOKEN_OUT=
MAX_LAMPORTS=100000
BUY_SLIPPAGE=100
SELL_SLIPPAGE=100
MIN_LP_AMOUNT=1
[SELL]
SELL_PERCENTAGE=100
ENABLE_SELL_WITH_DELAY=false
AUTO_SELL_DELAY=2
ENABLE_SELL_WITH_MP=false
AUTO_SELL_MP=1.5
CONFIG_VERSION
This field is used internally for the verification of the config file and should not be tampered with.
IDENTIFIER
This field is used internally for the auto-update system and should not be tampered with.
TICK_RATE
This field accepts a number value in miliseconds.Set this field to a specific interval for functions such as calculating multiplier (for auto sell) or polling transaction data.
Wallet settings
SECRET_KEY
Use this field to specify your wallet's private key.
NODE_URL
This field accepts a URL as value.This field should contain the ws(s) or http(s) URL of your node.
AMOUNT_IN
This field accepts any numeric value.Use this field to specify the amount that you want to use for sniping.
Example: If your INPUT is SOL, your AMOUNT_IN can be 0.035.Transaction settings
TOKEN_IN
This field accepts a contract address as value.The input field is used for your input contract. If the pair is SOL/TOKEN, your input should be the address of SOL.
TOKEN_OUT
This field accepts a contract address as value.The output field is used for your output contract. If the pair is SOL/TOKEN, your output should be the address of TOKEN.
MAX_LAMPORTS
This field accepts any numeric value.Use this field to specify the maximum lamports (gas) for a transaction.
BUY_SLIPPAGE
This field accepts a numeric value between 0 and 100.Use this field to specify the slippage you want to use for your BUY transaction.
SELL_SLIPPAGE
This field accepts a numeric value between 0 and 100.Use this field to specify the slippage you want to use for your SELL transaction.
MIN_LP_AMOUNT
This field accepts any numeric value.This input field is used to specify the minimum LP needed for the bot to send out the buy transaction.
Sell settings
SELL_PERCENTAGE
This field accepts a numeric value between 0 and 100.Use this field to specify the percentage of tokens that you want to sell during your SELL transaction.
ENABLE_SELL_WITH_DELAY
This field accepts either true or false as value.Set this field to TRUE to enable the auto-sell with delay function.
AUTO_SELL_DELAY
This field accepts any numeric value.Use this field to specify the delay you want to sell with in seconds.
SELL_WITH_MULTIPLIER
This field accepts either true or false as value.Set this field to TRUE to enable the auto-sell on multiplier function.
SELL_MULTIPLIER
This field accepts any numeric value.Use this field to specify the multipler you want to sell at.