Counter anti-bot measures
Last updated
Was this helpful?
Last updated
Was this helpful?
Be careful ! Antibot protections cannot be bypassed.
But we have implemented many parameters to avoid them.
Available on BSC / AVAX / FTM only
LimitSwap is now able to calculate buy and sell taxes on token
CONFIGURATION
new options in tokens.json:
- "BUY_AND_SELL_TAXES_CHECK": "true"
- "MAX_BUY_TAX_IN_%": "20"
- "MAX_SELL_TAX_IN_%": "20"
HOW TO UNDERSTAND IT
Bot will not buy/sell if Tax is above those values
--> with MAX_BUY_TAX_IN_% = 20, bot will not BUY if tax > 20%
DOES IT SLOWS DOWN THE BOT?
Yes, since it needs to call a smart contract to calculate Tax...
Sometimes the team will tell you "99% tax if you buy in the 2 first blocks", or "99% tax during 1 minute after launch"
--> use this option to ask the bot to wait for XXX seconds before making BUY order.
FYI: 1 block = 3s on BSC, and 13s on ETH
Sometimes the team will tell you "99% tax if you buy before XXXX timestamp"
--> use this option to ask the bot to pause before time reach this timestamp.
Sometimes the team will tell you "You can only buy a maximum of XXXX tokens" or "You can only buy a maximum of XXXX BNB / ETH / AVAX... of token"
--> use this option to buy multiple times this small amount
CONFIGURATION
in tokens.json, MULTIPLEBUYS has now 2 options :
Option 1 : buy with the same wallet
"MULTIPLEBUYS" : "same_wallet"
"BUYCOUNT": (as many buys as you want)
Option 2 : buy with different wallets (the wallets you configured in settings.json)
"MULTIPLEBUYS" : "several_wallets"
"BUYCOUNT": (maximum 5 buys, because there are 5 wallets in settings.json)
Sometimes liquidity is added but trading is not yet enabled. Team will enable trading later with a "EnableTrading" option. In this case, if you don't use options below, the bot will try to buy when trading is not enabled, resulting in a "TRANSFER_FAILED" error. The difficulty is the fact that there are many ways to enable trading, so it is very difficult for the bot to detect it.
(available on BSC / AVAX / FTM only)
In tokens.json : CHECK_IF_TRADING_IS_ENABLED = true
--> bot will check if trading is enabled after it detects liquidity.
There are 4 options:
true_after_buy_tx_failed
1/ Bot detects liquidity
2/ Bot try to make a BUY order
3/ If Tx fails, bot will launch wait_for_open_trade With this option, bot will do 2 tests at the same time : 1/ Scan pending transactions 2/ Wait for the price to move
--> it will BUY if :
it detects an openTrading Tx,
true
Same as "true_after_buy_txfailed", but bot won't even try to make a Tx after it detected liquidity --> it will directly enter in WAIT FOR OPEN TRADE mode
mempool_after_buy_tx_failed
1/ Bot detects liquidity
2/ Bot try to make a BUY order
3/ If Tx fails, bot will launch wait_for_open_trade
With this option, bot will do 1 test only :
1/ Scan pending transactions
2/ Wait for the price to move
--> it will BUY if it detects an openTrading Tx
mempool
Same as "mempool_after_buy_tx_failed", but bot won't even try to make a Tx after it detected liquidity --> it will directly enter in WAIT FOR OPEN TRADE mode
In our opinion, this is the best option because you never know if the team will use this antibot protection or not. This option guarantee you the best speed (if first BUY tx works) and security.
- Liquidity is in BUSD --> use LIQUIDITYINNATIVETOKEN = false / USECUSTOMBASEPAIR = true / BASEADDRESS = 0xe9e7cea3dedca5984780bafc599bd69add087d56
Use to define value
it sees the price moving This is the team's recommended option
Examples of Tx that the bot will detect : / /
WAIT_FOR_OPEN_TRADE": "true_after_buy_tx_failed" is the team recommandation
BE CAREFUL To make "WAIT_FOR_OPEN_TRADE": "true" or "true_after_buy_tx_failed" work, you need to snipe on the same liquidity pair that liquidity added by the team Why ? Because if you try to snipe in BUSD and liquidity is in BNB, price will move because of price movement between BUSD and BNB Examples: - Liquidity is in BNB or ETH : --> use LIQUIDITYINNATIVETOKEN = true / USECUSTOMBASEPAIR = false