Skip to main content

Configuration

The config.ini file is located in the main directory of the bot.

Default config

[NETWORK]

NODE=<your_node>

[WALLET]

PRIVATE_KEY=<secret_key>

[FOLLOW]

WALLET=0xwallet1
WALLET=0xwallet2
WALLET=0xwallet3

[IGNORE]

TOKEN=0x123
TOKEN=0x123

; gas used for the approve tx
[APPROVE]

GASLIMIT=200000
GASPRICE=5

[BUY]

MIN_BUY_IN=0
MAX_BUY_IN=0.3

OVERRIDE_GAS=false
OVERRIDE_GASLIMIT=200000
OVERRIDE_GASPRICE=10

GASPRICE_MP=1.0
GASLIMIT_MP=1.0

[SELL]

ENABLED=true

SELL_GASLIMIT=200000
SELL_GASPRICE=10

INVERSE_TRANSACTION=true
INVERSE_BUY_IN=0.3

Network

NODE

This field accepts a URL as value.

This field should contain the ws(s) or http(s) URL of your node.


Wallet

PRIVATE_KEY

Use this field to specify your wallet's private key.


Follow

WALLET

Information

You can add multiple wallets by copy-pasting the WALLET variable as shown in the config.

Use this field to specify the wallets that you want to track.


Ignore

TOKEN

Information

You can add multiple tokens by copy-pasting the TOKEN variable as shown in the config.

Use this field to specify the tokens that you want to skip.


Approve

GAS_LIMIT

This field accepts any numeric value.

Use this field to specify the gas limit for the approve transaction.

GAS_PRICE

This field accepts any numeric value.

Use this field to specify the gas price for the approve transaction.


Buy

MIN_BUY_IN

This field accepts any numeric value.

Use this field to specify the minimum amount a transaction should have.

MAX_BUY_IN

This field accepts any numeric value.

Use this field to specify the maximum amount you are willing to spend in a transaction.

OVERRIDE_GAS

This field accepts either true or false.

Use this field to enable the override gas feature.

OVERRIDE_GASLIMIT

This field accepts any numeric value.

Use this field to specify the override gas limit for the transaction.

OVERRIDE_GASPRICE

This field accepts any numeric value.

Use this field to specify the override gas price for the transaction.

GASPRICE_MP

danger

This parameter only works if OVERRIDE_GAS is set to false.

This field accepts any numeric value.

Use this field to specify the multiplier of the gas price that you want to use.

GASLIMIT_MP

danger

This parameter only works if OVERRIDE_GAS is set to false.

This field accepts any numeric value.

Use this field to specify the multiplier of the gas limit that you want to use.


Sell

ENABLED

This field accepts either true or false.

Use this field to enable sell transactions. If this field is set to false, the bot will ignore swaps that are used to sell tokens.

SELL_GASLIMIT

This field accepts any numeric value.

Use this field to specify the gas limit for the found sell transactions.

SELL_GASPRICE

This field accepts any numeric value.

Use this field to specify the gas price for the found sell transactions.

INVERSE_TRANSACTION

This field accepts either true or false.

If this field is set to true, a buy transaction will be sent out when a sell transaction is detected.

INVERSE_BUY_IN

danger

This parameter only works if INVERSE_TRANSACTION is set to false.

This field accepts any numeric value.

Use this field to specify the amount you are willing to spend in the buy transaction.