From 3f549044221a15f803ad8ba8dd597ad510592d48 Mon Sep 17 00:00:00 2001 From: JayArrowz Date: Tue, 31 Aug 2021 19:11:34 +0100 Subject: [PATCH] chore: add honeypot to config --- README.md | 2 +- appsettings.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2474e9f..34d85c1 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ There are specific checks involved that this sniper does when buying tokens. Som 2. The ability to scan contract source code and exclude buying from contracts when they include a specific string. The config key is called `ContractRugCheckStrings` 3. Minimum amount of BNB (This can be changed to any other token by using `LiquidityPairAddress`) inside liquidity pool. The config key is called `MinLiquidityAmount`. 4. Ensures liquidty pair created has one of the `LiquidityPairAddress` address +5. If `HoneypotCheck` is true the sniper will try to buy the `HoneypotCheckAmount`, then it will try to sell it. If this operation is successful it will buy the `SnipeAmount` ## Selling The Sniper automatically sells once a certain percentage of profit is made. This is defined in the config key `ProfitPercentageMargin` @@ -55,6 +56,5 @@ See also the list of [contributors](https://github.com/JayArrowz/PancakeTokenSni ## TODO - Support Uniswap and other liquidity providers - Persist bought assets on Postgres -- Honeypot test (Single buy and sell at a low price) - Target specific token addresses & detect when locked - Check for Renounce ownership diff --git a/appsettings.json b/appsettings.json index bffa835..886b5bc 100644 --- a/appsettings.json +++ b/appsettings.json @@ -45,6 +45,8 @@ "0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F", "mint", "transfer(owner()" - ] + ], + "HoneypotCheck": true, + "HoneypotCheckAmount": 0.0000001 } }