Configuration
The config.ini
file is located in the main directory of the bot.
Default config
[NETWORK]
BOT_ADDRESS=<contract_address>
NODE_URL=<your_node>
[VARIABLES]
ROUTER_ADDRESS=0x123
FACTORY_ADDRESS=0x123
RECEIVER_ADDRESS=0x123
[WALLETS]
PRIVATE_KEY=<secret>
; PRIVATE_KEY=<secret2>
; PRIVATE_KEY=<secret3>
; etc..
[TRANSACTION]
TRANSACTION_SPEED=1000
GAS_LIMIT=300000
MAX_FEE_PER_GAS=10
MAX_PRIORITY_FEE_PER_GAS=10
MINIMUM_LIQUIDITY=0.0044
AMOUNT_IN=0.001
TOKEN_IN=0x123
TOKEN_OUT=0x123
Network
BOT_ADDRESS
Use this field to specify the contract address of your deployed contract.
NODE_URL
This field accepts a URL as value.This field should contain the ws(s) or http(s) URL of your node.
Variables
ROUTER_ADDRESS
This field accepts a contract address as value.Use this field to specify a custom router for the bot to use. This is used when you want to use a different DEX than the one that the bot uses as default.
You can find a list of DEX's used by the bot here.
ROUTER_FACTORY
This field accepts a contract address as value.Use this field to specify a custom factory for the bot to use. This is used when you want to use a different DEX than the one that the bot uses as default.
You can find a list of DEX's used by the bot here.
RECEIVER_ADDRESS
This field accepts a wallet address as value.Use this field to specify the address of the receiver wallet. This wallet will receive all funds during a swap done by the contract.
Wallets
SECRET_KEY
You can add multiple private keys by copy-pasting the PRIVATE_KEY variable as shown in the config.
Use this field to specify your wallet's private key.
Transaction
TRANSACTION_SPEED
This field accepts a number as value.This field is used to specify how fast (in miliseconds) the bot should send out buy transactions.
GAS_LIMIT
This field accepts any numeric value.Use this field to specify the gas limit for a transaction.
MAX_FEE_PER_GAS
This field accepts any numeric value.Use this field to specify the gas fee for a transaction.
MAX_PRIORITY_FEE_PER_GAS
This field accepts any numeric value.Use this field to specify the priority gas price for a transaction.
MINIMUM_LIQUIDITY
This field accepts any numeric value.This input field is used to specify the minimum liquidity needed for the bot to send out the buy transaction.
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 TOKEN_IN is BNB, your AMOUNT_IN can be 0.035.TOKEN_IN
This field accepts a contract address as value.The input field is used for your input contract. If the pair is BNB/TOKEN, your input should be the address of BNB.
TOKEN_OUT
This field accepts a contract address as value.The output field is used for your output contract. If the pair is BNB/TOKEN, your output should be the address of TOKEN.