Skip to content

Commit

Permalink
chore: add honeypot to config
Browse files Browse the repository at this point in the history
  • Loading branch information
JayArrowz committed Aug 31, 2021
1 parent 59f4fbf commit 3f54904
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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
4 changes: 3 additions & 1 deletion appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
"0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F",
"mint",
"transfer(owner()"
]
],
"HoneypotCheck": true,
"HoneypotCheckAmount": 0.0000001
}
}

0 comments on commit 3f54904

Please sign in to comment.