⚙️Config

A recommended best practice tip is to consistently use a burner wallet for any bot activities, and subsequently transfer any profits to your primary wallet, which should only be accessible by you and you only.

Friendly Disclaimer: Make sure you always stay below your node's TPS !

When it comes to customizing and fine-tuning Anita, the config.inifile plays a crucial role. This file contains various configuration settings that dictate the behavior and functionality of the program. If you need to modify settings such as your license key, selling settings, blockroute settings, RPC settings, or other parameters, the config.inifile is the place to do it. The config.inifile is stored within the Anita folder and can be easily edited using Notepad++

Below is how the config.inifile looks like and what each parameter represents.

[Environment]
license_key = ANITA-XXXXXX-XXXXXXXX-XXXXXXX
private_key = PRIVATE_KEY_COMES_HERE

gpa_node_url = GPA_NODE_COMES_HERE
rpc_nodes = [RPC_ONE_URL_COMES_HERE,RPC_TWO_URL_COMES_HERE]
websocket_url = WEBSOCKET_URL_COMES_HERE

geyser_url = false

router_metadata = https://ny.mainnet.block-engine.jito.wtf
use_proxies = false

nft_address = NFT_ADDRESS_HERE
nft_wallet = PRIVATE_KEY_OF_WALLET_HERE

workers = 1

buy_webhook = false
success_webhook = false

[Sniper]
router_method = false
mev_protection = false

router_buy_fee = 0.015
router_sell_fee = 0.015

manual_pool_id = false
manual_market_id = false

use_manual_buy = false
buy_limit = false

take_profit_pcts = []
sell_protect_pcts = []

autosell_delta = false

buy_tx_limit = false
sell_tx_limit = false

buy_timeout = false
sell_timeout = false

buy_slippage = false
sell_slippage = false

default_amount_in = false

compute_units = 110000
order_delta = 1000

buy_fee = 0.00001
sell_fee = 0.00001

hotkey_percentage_sell = 100

buy_spam_delay = 10
sell_spam_delay = 10

[Pre-Run / LP Add]
router_method = false
mev_protection = false

router_buy_fee = 0.015
router_sell_fee = 0.015

take_profit_pcts = []
sell_protect_pcts = []

use_manual_buy = false
autosell_delta = false

buy_tx_limit = false
sell_tx_limit = false

buy_timeout = false
sell_timeout = false

buy_slippage = false
sell_slippage = false

default_amount_in = false

hotkey_percentage_sell = 100

buy_spam_delay = 100
sell_spam_delay = 100

compute_units = 110000

buy_fee = 0.00001
sell_fee = 0.00001

launched_buy_fee = 0.0001
launched_buy_delay = 10

[AFK]
router_method = false
mev_protection = false

router_buy_fee = 0.015
router_sell_fee = 0.015

buy_fee = 0.00001
buy_timeout = 5000
buy_tx_limit = false
buy_delay = 10
buy_slippage = 40

sell_fee = 0.00001
sell_timeout = 10000
sell_tx_limit = false
sell_delay = 10
sell_slippage = 40
sell_slippage_increment = 5

take_profit_pcts = []
sell_protect_pcts = []

autosell_delta = 2000
order_delta = 1000
dev_sell = false

enforce_whitelist = false
multiple_at_a_time = false

socials_filter = []
liquidity_filter = false
token_supply = false
market_cost = false
only_bot_timed_pools = false
mint_auth = disabled
freeze_auth = disabled

compute_units = 110000
default_amount_in = false

[NFT]
router_method = false
mev_protection = false

router_buy_fee = 0.015
router_sell_fee = 0.015

buy_tx_limit = false
buy_timeout = false
buy_delay = 10

compute_units = 110000
buy_fee = 0.00001

wallets = [WALLET_ONE,WALLET_TWO,WALLET_THREE]

[Telegram]
number = YOUR_PHONE_NUMBER_HERE
chat_names = [LIST_OF_CHAT_NAMES]
tg_run_once = true
allow_duplicate = false
Value
Description

Environment Settings

Environment Settings

license_key

Your license key for the bot.

private_key

Your private key of your Solana wallet.

gpa_node_url

The node which has GPA on it. This is mandatory to fill in.

rpc_nodes

A list that contains all the nodes you would like to use. It will pick a random one every transaction.

websocket_url

Your Websocket URL.

geyser_url

Your geyser URL. If you do not want geyser enabled, you can set it to false.

router_metadata

The router block engine url. It can either be the Jito block engine URL or the Bloxroute authentication API key or false

use_proxies

If you do want to use proxies, you can set this value to true, else false.

nft_address

The address of the NFT

nft_wallet

The private key containing the NFT wallet address

workers

By adjusting the number of workers, you are adjusting the TPS. To make it short, 1 worker = 100 TPS.

buy_webhook

Your Discord webhook for the buys. If you would like to disable this option, you can set it to false.

success_webhook

Your Discord webhook for the sells. If you would like to disable this option, you can set it to false.

Sniper Settings

Sniper Settings

manual_pool_id

By setting this value to true, it will ask you to input the pool id on startup. This is good for nodes that do not support the GPA flag.

manual_market_id

By setting this value to true, it will ask you to input the market id on startup. This is good for nodes that do not support the GPA flag.

use_manual_buy

By setting this option to true, the program will wait till you press b + enter to execute the buy order.

buy_limit

When the price of one output token is equal to or greater than <buy_limit> (in terms of SOL), the buy order will be executed. In other words, this is your buy in price per token. If you would like to disable this feature, you can simply set the value to false.

take_profit_pcts

A list containing the profit percentage:cash out percentage. For example having a list of the following: [50:30, 200:70] This would sell 30% of the tokens at 50% profit and 70% of the tokens at 200% profit. To set this value to false, simply provide an empty list.

sell_protect_pcts

A list containing the percentage:cash out percentage. For example having a list of the following: [50:30, 60:70] This would sell 30% of the tokens when the price is 50% of the entry price you got in at and 70% of the tokens at 60% of the entry price you got in at. To set this value to false, simply provide an empty list.

autosell_delta

The amount of milliseconds you want to wait before executing the sell order resulting in 100% of your output tokens being sold. If you would like to disable this feature, you can simply set the value to false.

buy_tx_limit

The maximum number of buy transactions you wish to execute before stopping. It's important to note that if the transaction count surpasses the limit and at least one transaction is approved, the bot will not stop. If you would like to disable this feature, you can simply set the value to false.

sell_tx_limit

The maximum number of sell transactions you wish to execute before stopping. It's important to note that if the transaction count surpasses the limit and at least one transaction is approved, the bot will not stop. If you would like to disable this feature, you can simply set the value to false.

buy_timeout

The duration, in milliseconds, after which you want the bot to stop broadcasting buy transactions. If you would like to disable this feature, you can simply set the value to false.

sell_timeout

The duration, in milliseconds, after which you want the bot to stop broadcasting sell transactions. If you would like to disable this feature, you can simply set the value to false.

buy_slippage

The slippage you would like to use for buy orders. It is important to note that setting this value to 5 means a 5% slippage. If you would like to disable this feature, you can simply set the value to false. However for Pump Fun, slippage is mandatory, 40-60% slippage with a 5% slippage increase is good.

sell_slippage

The slippage you would like to use for sell orders. It is important to note that setting this value to 5 means a 5% slippage. If you would like to disable this feature, you can simply set the value to false. However for Pump Fun, slippage is mandatory, 40-60% slippage with a 5% slippage increase is good.

default_amount_in

The default amount of SOL you wish to use, eliminating the need to input it each time. If you would like to disable this feature, you can simply set the value to false.

compute_units

The current setting for this value is 110000. Anita will autonomously adjust the compute units required for specific transactions. We advise keeping it at 110000, as this is the smallest safe amount for both buy and sell orders, minimizing the risk of failure. It is not recommended to alter this value unless you are familiar with its implications.

order_delta

The time, in milliseconds, to wait before the pool goes live in order to start broadcasting transactions. For example, setting this value to 1000 will initiate the program to start sending transactions one second prior to the pool becoming active.

buy_fee

The amount of fees (in terms of SOL) you would like to send per buy transaction.

sell_fee

The amount of fees (in terms of SOL) you would like to send per sell transaction.

hotkey_percentage_sell

The percentage of tokens you wish to sell each time you press "Enter". You can also use values from 0 to 9 to use a set percentage of tokens to sell, as outlined in the features section. After entering a value from 0 to 9, press "Enter" to execute the transaction. One can also press Ɪ + "Enter" to sell enough tokens to make back the initial amount invested.

buy_spam_delay

The duration, in milliseconds, that you want to wait after sending one buy transaction.

sell_spam_delay

The duration, in milliseconds, that you want to wait after sending one sell transaction.

Pre-Run / LP Add

Pre-Run / LP Add

take_profit_pcts

A list containing the profit percentage:cash out percentage. For example having a list of the following: [50:30, 200:70] This would sell 30% of the tokens at 50% profit and 70% of the tokens at 200% profit. To set this value to false, simply provide an empty list.

sell_protect_pcts

A list containing the percentage:cash out percentage. For example having a list of the following: [50:30, 60:70] This would sell 30% of the tokens when the price is 50% of the entry price you got in at and 70% of the tokens at 60% of the entry price you got in at. To set this value to false, simply provide an empty list.

autosell_delta

The amount of milliseconds you want to wait before executing the sell order resulting in 100% of your output tokens being sold. If you would like to disable this feature, you can simply set the value to false.

buy_tx_limit

The maximum number of buy transactions you wish to execute before stopping. It's important to note that if the transaction count surpasses the limit and at least one transaction is approved, the bot will not stop. If you would like to disable this feature, you can simply set the value to false.

sell_tx_limit

The maximum number of sell transactions you wish to execute before stopping. It's important to note that if the transaction count surpasses the limit and at least one transaction is approved, the bot will not stop. If you would like to disable this feature, you can simply set the value to false.

buy_timeout

The duration, in milliseconds, after which you want the bot to stop broadcasting buy transactions. If you would like to disable this feature, you can simply set the value to false.

sell_timeout

The duration, in milliseconds, after which you want the bot to stop broadcasting sell transactions. If you would like to disable this feature, you can simply set the value to false.

buy_slippage

The slippage you would like to use for buy orders. It is important to note that setting this value to 5 means a 5% slippage. If you would like to disable this feature, you can simply set the value to false. However for Pump Fun, slippage is mandatory, 40-60% slippage with a 5% slippage increase is good.

sell_slippage

The slippage you would like to use for sell orders. It is important to note that setting this value to 5 means a 5% slippage. If you would like to disable this feature, you can simply set the value to false. However for Pump Fun, slippage is mandatory, 40-60% slippage with a 5% slippage increase is good.

default_amount_in

The default amount of SOL you wish to use, eliminating the need to input it each time. If you would like to disable this feature, you can simply set the value to false.

hotkey_percentage_sell

The percentage of tokens you wish to sell each time you press "Enter". You can also use values from 0 to 9 to use a set percentage of tokens to sell, as outlined in the features section. After entering a value from 0 to 9, press "Enter" to execute the transaction. One can also press Ɪ + "Enter" to sell enough tokens to make back the initial amount invested.

buy_spam_delay

The duration, in milliseconds, that you want to wait after sending one buy transaction.

sell_spam_delay

The duration, in milliseconds, that you want to wait after sending one sell transaction.

compute_units

The current setting for this value is 110000. Anita will autonomously adjust the compute units required for specific transactions. We advise keeping it at 110000, as this is the smallest safe amount for both buy and sell orders, minimizing the risk of failure. It is not recommended to alter this value unless you are familiar with its implications.

buy_fee

The amount of fees (in terms of SOL) you would like to send per buy transaction.

sell_fee

The amount of fees (in terms of SOL) you would like to send per sell transaction.

launched_buy_fee

The amount of fees (in terms of SOL) you would like to send per buy transaction when the coin has launched.

launched_delay

The duration, in milliseconds, that you want to wait after sending one buy transaction when the coin has launched.

AFK

AFK

buy_fee

The amount of fees (in terms of SOL) you would like to send per buy transaction.

buy_timeout

The duration, in milliseconds, after which you want the bot to stop broadcasting buy transactions. If you would like to disable this feature, you can simply set the value to false.

buy_tx_limit

The maximum number of buy transactions you wish to execute before stopping. It's important to note that if the transaction count surpasses the limit and at least one transaction is approved, the bot will not stop. If you would like to disable this feature, you can simply set the value to false.

buy_delay

The duration, in milliseconds, that you want to wait after sending one buy transaction.

sell_fee

The amount of fees (in terms of SOL) you would like to send per sell transaction.

sell_timeout

The duration, in milliseconds, after which you want the bot to stop broadcasting sell transactions. If you would like to disable this feature, you can simply set the value to false.

sell_tx_limit

The maximum number of sell transactions you wish to execute before stopping. It's important to note that if the transaction count surpasses the limit and at least one transaction is approved, the bot will not stop. If you would like to disable this feature, you can simply set the value to false.

sell_delay

The duration, in milliseconds, that you want to wait after sending one sell transaction.

take_profit_pcts

A list containing the profit percentage:cash out percentage. For example having a list of the following: [50:30, 200:70] This would sell 30% of the tokens at 50% profit and 70% of the tokens at 200% profit. To set this value to false, simply provide an empty list.

sell_protect_pcts

A list containing the percentage:cash out percentage. For example having a list of the following: [50:30, 60:70] This would sell 30% of the tokens when the price is 50% of the entry price you got in at and 70% of the tokens at 60% of the entry price you got in at. To set this value to false, simply provide an empty list.

autosell_delta

The amount of milliseconds you want to wait before executing the sell order resulting in 100% of your output tokens being sold. To disable this filter, simply set it to false.

dev_sell

If set to true, AFK mode will sell the tokens once the dev sells. This is only works for PumpFun. To disable this filter, simply set it to false. If set to true, token_supply should be set to false.

enforce_whitelist

By setting this value to true, whitelist.txt will be enforced.

multiple_at_a_time

By assigning a numerical value to this parameter, it willl only bot x amount of tokens at a time. For example, by setting this value to one, it will only attempt to bot one token at a time. Likewise, setting this to 5 will attempt to bot 5 different tokens at a time if applicable. To disable this filter, simply set it to false.

socials_filter

The socials the coin has. You have the following options that you can put inside the [] followed by a comma after each one (eg. [twitter] or [twitter,instagram]). - instagram - twitter - telegram - website - atleast_one (has atleast one of the social medias above) To disable this filter, leave socials_filter as [].

liquidity_filter

The liquidity in terms of sol. You have the following mathematical operators:

>=3 (Greater than or equal to 3 SOL)

>3 (Greater than 3 SOL)

<=3 (Less than or equal to 3 SOL)

<3 (Less than 3 SOL)

3 (Equal to 3 SOL)

3-10 (Between 3 and 10 inclusive)

To disable this filter, simply set it to false.

token_supply

The token supply in terms of percentage on Raydium. You have the following mathematical operators:

>=30 (Greater than or equal to 30%)

>30 (Greater than 30%)

<=30 (Less than or equal to 30%)

<30 (Less than 30%)

30 (Equal to 30%)

30-50 (Between 30% and 50% inclusive)

It will bot coins that have a greater than / less than or equal to percentage supply on Raydium. For example, setting this value to 80 means that 80% of the supply of the tokens is on Raydium (others own the remaining % amount). To disable this filter, simply set it to false. For PumpFun, this acts as the percentage of tokens the dev is holding.

market_cost

The market cost for the token in terms of sol. You have the following mathematical operators:

>=3 (Greater than or equal to 3 SOL)

>3 (Greater than 3 SOL)

<=3 (Less than or equal to 3 SOL)

<3 (Less than 3 SOL)

3 (Equal to 3 SOL)

3-10 (Between 3 and 10 inclusive)

To disable this filter, simply set it to false.

only_bot_timed_pools

By setting this value to enabled, the bot will only purchase pools that have a set launched date. To disable this feature, you can set it to disabled. For it to bot both, set it to both

mint_auth

You are able to set the mint auth to enabled, disabled or both (if you want to disable the filter).

freeze_auth

You are able to set the freeze auth to enabled, disabled or both (if you want to disable the filter).

compute_units

The current setting for this value is 110000. Anita will autonomously adjust the compute units required for specific transactions. We advise keeping it at 110000, as this is the smallest safe amount for both buy and sell orders, minimizing the risk of failure. It is not recommended to alter this value unless you are familiar with its implications.

default_amount_in

The default amount of SOL you wish to use, eliminating the need to input it each time. If you would like to disable this feature, you can simply set the value to false.

blacklist.txt

If a token is created and the owner's public key is in this file, it will skip the token. One public key per line. One word per line. If the file is empty, the filter will be disabled.

whitelist.txt

If a word is found in the metadata of a coin, it will only be able to purchase the coins that have the same word in their metadata from the whitelist.txt file. One word per line. If the file is empty, the filter will be disabled.

NFT

NFT

buy_tx_limit

The maximum number of buy transactions you wish to execute before stopping. It's important to note that if the transaction count surpasses the limit and at least one transaction is approved, the bot will not stop. If you would like to disable this feature, you can simply set the value to false.

buy_timeout

The duration, in milliseconds, after which you want the bot to stop broadcasting buy transactions. If you would like to disable this feature, you can simply set the value to false.

buy_delay

The duration, in milliseconds, that you want to wait after sending one buy transaction.

compute_units

The current setting for this value is 110000. Anita will autonomously adjust the compute units required for specific transactions. We advise keeping it at 110000, as this is the smallest safe amount for both buy and sell orders, minimizing the risk of failure. It is not recommended to alter this value unless you are familiar with its implications.

buy_fee

The amount of fees (in terms of SOL) you would like to send per buy transaction.

wallets

The private key of the wallets inside of [] that you would like to use to purchase the NFT.

Telegram Options

Telegram Options

number

Your telegram phone number. For example +14167867781

chat_names

The names of the chat you want to scrape from. For example [Alpha G, Mad Apes] will monitor both telegram chats for any ca's

tg_run_once

If set to true, it will stop after obtaining one address. This is useful for drops may drop the CA and then a graph link (which has the CA in the url). This will prevent a double buy.

allow_duplicate

If set to true, it will buy the same CA if posted again.

Router Options

Router Options

router_method

This value can either be false, buy, sell or true (for both).

mev_protection

This value can either be false, buy, sell or true (for both). When set to anything other than false, it prevents your buy/sell transactions from being sandwiched. Although it operates at a slower pace at 5 TPS, it prioritizes complete safety. It's crucial to note that <mev_protection> must align with <router_method>. If <router_method> is configured for buying only, <mev_protection> should also be set to buying only. You can not have <mev_protection> enabled but <router_method> disabled, <router_method> has to be enabled in order for <mev_protection> to be enabled.

router_buy_fee

The buy tip that you would like to give to the validators. Jito and bloxroute does have a minimum tip requirement of 0.015 SOL.

router_sell_fee

The sell tip that you would like to give to the validators. Jito and bloxroute does have a minimum tip requirement of 0.015 SOL.

router_block_engine_url

The block engine URL of where you want to broadcast your bundle. You can think of this as an RPC URL. Jito currently provides four block engine URLs for your use, listed as follows: https://amsterdam.mainnet.block-engine.jito.wtf

https://frankfurt.mainnet.block-engine.jito.wtf

https://ny.mainnet.block-engine.jito.wtf https://tokyo.mainnet.block-engine.jito.wtf

Last updated