Web3 Pancakeswap Sniper bot written in python3

Overview

Pancakeswap_BSC_Sniper_Bot

TradingTigers
Web3 Pancakeswap Sniper bot written in python3, Please note the license conditions!

The first Binance Smart Chain sniper bot with Honeypot checker!

Infos

If you have 100 Tigs on your BSC address, the bot will check for liquidity every 0.1 seconds, if you have less than 100 TIGS then only every 5 seconds!

TradingTigers Token @BSC

Sniper Preview

Download

If you are not familiar with Python please have a look at Releases, there you can download Windows executable.

Setup your Address and secret key in keys.json. Edit your Start_Sniper.bat or Start_fastBuy.bat, insert your Token Address want to Snipe/Buy!

You don't need Administrator rights!

Here are all options:

'-t', '--token', Token for snipe e.g. "-t 0xc87b88aafb95f0b88c3a74fc96344e4bccab6bde"
'-a', '--amount', float, Amount in Bnb to snipe e.g. "-a 0.1"
'-s', '--slippage', default=10, slippage in % "-s 10"
'-tx', '--txamount', default=1, how mutch tx you want to send? It Split your BNB Amount in e.g. "-tx 5"
'-swap', '--swap', default=[1], Witch Swap? e.g. "-swap [1]" for Panackeswap
'-hp', '--honeypot', default=True, check if your token to buy is a Honeypot

Install Python

First of all, you need install Python3+

python3 -m pip install -r requirements.txt

Start Sniper:

python3 Sniper.py -t <TOKEN_ADDRESS> -a <AMOUNT> -s <SLIPPAGE> -tx <TXAMOUNT>
python3 Sniper.py -t 0x34faa80fec0233e045ed4737cc152a71e490e2e3 -a 0.1 -s 20 -tx 3
Comments
  • Lost BNB when sell token

    Lost BNB when sell token

    Hi,

    I had an issue when i sold drace token. My tx: https://bscscan.com/tx/0xb252923423b57f08f93d59f14e3cc001fea272d425735ae3e17adad6892921a3

    What happend for my metamask account?

    opened by cuongnguyengit 16
  • Error in fees estimate

    Error in fees estimate

    hey First of all, amazing job !

    Bot was working just fine, then today I start having this error returned

    Attention, they pay 0.7% fees on each transaction. Start Sniper Tool with following arguments:

    Amount for Buy: 0.001 BNB Token to Interact : 0xdac17f958d2ee523a2206206994597c13d831ec7 Transaction to send: 1 Amount per transaction : 0.00100000 Await Blocks before buy : 0

    Start BuyOnly, buy now with 0.001BNB tokens! Traceback (most recent call last): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Sniper.py", line 222, in SniperBot().StartUP() XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Sniper.py", line 196, in StartUP print(self.TXN.buy_token()[1]) XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/txns.py", line 99, in buy_token txn.update({ 'gas' : int(self.estimateGas(txn))}) XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/txns.py", line 65, in estimateGas gas = self.w3.eth.estimateGas({ File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/web3/eth.py", line 759, in estimate_gas return self._estimate_gas(transaction, block_identifier) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/web3/module.py", line 57, in caller result = w3.manager.request_blocking(method_str, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/web3/manager.py", line 198, in request_blocking return self.formatted_response(response, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/web3/manager.py", line 170, in formatted_response apply_error_formatters(error_formatters, response) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/web3/manager.py", line 70, in apply_error_formatters formatted_resp = pipe(response, error_formatters) File "cytoolz/functoolz.pyx", line 667, in cytoolz.functoolz.pipe File "cytoolz/functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/web3/_utils/method_formatters.py", line 580, in raise_solidity_error_on_revert raise ContractLogicError('execution reverted') web3.exceptions.ContractLogicError: execution reverted

    It seems some issue with selfEstimate gas

    Anyone else having trouble? Do you have any idea what's wrong ? I haven't touched any parameter such as gas price or MaxTax

    Cheers A

    opened by CryptoDoe 6
  • sell error

    sell error

    token: 0x141df21e93460216Fe0692e756927118CE4c65BE error logs:

    Traceback (most recent call last):
      File "/data/Pancakeswap_BSC_Sniper_Bot_v2/Sniper.py", line 264, in <module>
        SniperBot().StartUP()
      File "/data/Pancakeswap_BSC_Sniper_Bot_v2/Sniper.py", line 219, in StartUP
        print(self.TXN.sell_tokens()[1])
      File "/data/Pancakeswap_BSC_Sniper_Bot_v2/txns.py", line 173, in sell_tokens
        txn.update({ 'gas' : int(self.estimateGas(txn))})
      File "/data/Pancakeswap_BSC_Sniper_Bot_v2/txns.py", line 78, in estimateGas
        gas = self.w3.eth.estimateGas({
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/eth.py", line 759, in estimate_gas
        return self._estimate_gas(transaction, block_identifier)
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/module.py", line 57, in caller
        result = w3.manager.request_blocking(method_str,
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/manager.py", line 198, in request_blocking
        return self.formatted_response(response,
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/manager.py", line 170, in formatted_response
        apply_error_formatters(error_formatters, response)
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/manager.py", line 70, in apply_error_formatters
        formatted_resp = pipe(response, error_formatters)
      File "cytoolz/functoolz.pyx", line 667, in cytoolz.functoolz.pipe
      File "cytoolz/functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/_utils/method_formatters.py", line 576, in raise_solidity_error_on_revert
        raise ContractLogicError(response['error']['message'])
    web3.exceptions.ContractLogicError: execution reverted: TransferHelper: TRANSFER_FROM_FAILED
    
    opened by internalsync 4
  • sell error

    sell error

    I sell I my token to remind you of the error。 I'm using the latest version

    Traceback (most recent call last):
      File "/data/Pancakeswap_BSC_Sniper_Bot_v2/Sniper.py", line 264, in <module>
        SniperBot().StartUP()
      File "/data/Pancakeswap_BSC_Sniper_Bot_v2/Sniper.py", line 219, in StartUP
        print(self.TXN.sell_tokens()[1])
      File "/data/Pancakeswap_BSC_Sniper_Bot_v2/txns.py", line 173, in sell_tokens
        txn.update({ 'gas' : int(self.estimateGas(txn))})
      File "/data/Pancakeswap_BSC_Sniper_Bot_v2/txns.py", line 78, in estimateGas
        gas = self.w3.eth.estimateGas({
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/eth.py", line 759, in estimate_gas
        return self._estimate_gas(transaction, block_identifier)
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/module.py", line 57, in caller
        result = w3.manager.request_blocking(method_str,
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/manager.py", line 198, in request_blocking
        return self.formatted_response(response,
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/manager.py", line 170, in formatted_response
        apply_error_formatters(error_formatters, response)
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/manager.py", line 70, in apply_error_formatters
        formatted_resp = pipe(response, error_formatters)
      File "cytoolz/functoolz.pyx", line 667, in cytoolz.functoolz.pipe
      File "cytoolz/functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe
      File "/root/.pyenv/versions/py_3.9.9_pancakeswap_bsc_sniper/lib/python3.9/site-packages/web3/_utils/method_formatters.py", line 576, in raise_solidity_error_on_revert
        raise ContractLogicError(response['error']['message'])
    web3.exceptions.ContractLogicError: execution reverted: TransferHelper: TRANSFER_FROM_FAILED
    
    opened by internalsync 4
  • Auto check Liquidity busd or bnb

    Auto check Liquidity busd or bnb

    I got rektt today Because dev add liquidity in busd and bnb but he put only $2 bnb.

    Hope in the future this bot can check Liquidity first whether busd or bnb. If in bnb but less than 100 bnb for example, bot stop automatically.

    Thank you

    opened by ariffinhamzah 4
  • This contract is not verified and it should be.

    This contract is not verified and it should be.

    This contract is not verified and it should be. everyone should know what it does. ** swapper_address = Web3.toChecksumAddress("0x18be7f977Ec1217B71D0C134FBCFF36Ea4366fCD")

    opened by iv7dev 3
  • Token lost to your contract

    Token lost to your contract

    Hi, I run your program, but only sent my token to your contract address and no later liquidity transaction reward, can you confirm? I need my token back

    image image
    opened by hhhwrld 3
  • Error when selling

    Error when selling

    Token: 0x156df0dd6300c73ac692d805720967cf4464776e web3.exceptions.ContractLogicError: execution reverted: TransferHelper: TRANSFER_FROM_FAILED

    When I set max gas to 1.000.000 and remove line txn.update({ 'gas' : int(self.estimateGas(txn))}), it generated tx, but still failed: https://bscscan.com/tx/0xb880fe3a267069c793be48155c9d4cfcdcc063f963793d0b53142c9bf075e378

    I tried increasing selltax, slippage, but not ok Manually swap on pancakeswap is good.

    opened by xDevilz 3
  • "Sell all tokens" is malfunctioning and lost my BNB

    Hi! Great job on the bot so please don't take this the wrong way but i tried selling all of my tokens i previously purchased. I tried the bot buy feature and it works fine, but the "Sell all tokens" lost my BNB.

    I purchased this token during a pre-sale 0xef9e0b75e78c3398329595b8d33b0636b0055455 - I wanted to use your bot to sell all tokens fast and all at once so i pressed the button and it said Successful but then i noticed that the BNB disappeared from my wallet.

    Here's the tx for the transaction that was made when i wanted to sell all tokens - https://bscscan.com/tx/0xf8d956b6f38ec7353ce9e38ec122fdfac61989202759a90659f02727f2274009 My BSC address that was used for the bot - 0x54D0fa1FD92155E858d42376bD07B52f0272dfCa

    You can see I didn't transfer those BNBs anywhere, but they're gone from my account.

    Can you help me?

    opened by syphlect 3
  • How to compute the total of fee in one transaction?

    How to compute the total of fee in one transaction?

    Many thanks for your project.

    I try to explore some documents about transaction fees but I had troubles. I can't compute the total fee for each transaction. Can you explain for me?

    Thank you.

    opened by cuongnguyengit 3
  • Self hosting the HoneyPot checker

    Self hosting the HoneyPot checker

    Hello,

    Another question, I'm getting a timeout on the honeypot checker. I see you are hosting that honeypot checker yourself.

    For reliabilty is it possible we can host that honeypot checker ourselves?

    opened by timvanuum 3
  • A quick question around Honeypot Checker...

    A quick question around Honeypot Checker...

    Hi, great app but I do have a quick question.

    In the honeypot check section, the call to the getTokenInformations contract returns an array. The values in index 5 and 6 are boolean and if they are both True then it's a honeypot.

    My question: what is index 5 checking for? Also, what is index 6 checking for?

    I don't really want to know the code, all I want to know what is it checking in those indexes.

    Thanks!

    opened by furritos 1
  • Error when using the latest GUI

    Error when using the latest GUI

    jameslim@Jamess-MacBook-Pro ~ % ./Pancakeswap_BSC_Sniper_Bot/Sniper.app -t 0xc98a8ec7a07f1b743e86896a52434c4c6a0dbc42 -a 0.001 --buyonly Traceback (most recent call last): File "Sniper.py", line 316, in File "Sniper.py", line 40, in init File "Sniper.py", line 44, in loadSettings FileNotFoundError: [Errno 2] No such file or directory: 'Settings.json' [1634] Failed to execute script Sniper

    I got this error even though i do not change the name of the file.

    Any idea how to fix this ??

    opened by limjame28 0
  • [REQUEST] Transaction Log

    [REQUEST] Transaction Log

    Hi,

    can we have log files? like transaction.log - > all the successful transaction that bot run. errors.log - > error that occur when bot run etc

    Thank you

    opened by ariffinhamzah 0
  • [request] add front-running feature to sell before rug-pull

    [request] add front-running feature to sell before rug-pull

    Hello, it would be nice to implement an enhanced check when the script has completed the buy transaction and it's waiting for the take profit. The bot should scan all the pending transaction and, if a removeLiquidity | changeFees method is being called, the bot should immediately front-run that transaction by sending a sell order with higher gwei. Thanks for your effort

    opened by gabrieleginestroni 5
Releases(V2.2)
Owner
Treading-Tigers
Seven, DEV & CEO of TIGS
Treading-Tigers
Web scrapping tool written in python3, using regex, to get CVEs, Source and URLs.

searchcve Web scrapping tool written in python3, using regex, to get CVEs, Source and URLs. Generates a CSV file in the current directory. Uses the NI

null 32 Oct 10, 2022
Kusonime scraper using python3

Features Scrap from url Scrap from recommendation Search by query Todo [+] Search by genre Example # Get download url >>> from kusonime import Scrap >

MhankBarBar 2 Jan 28, 2022
Nekopoi scraper using python3

Features Scrap from url Todo [+] Search by genre [+] Search by query [+] Scrap from homepage Example # Hentai Scraper >>> from nekopoi import Hent >>>

MhankBarBar 9 Apr 6, 2022
Universal Reddit Scraper - A comprehensive Reddit scraping command-line tool written in Python.

Universal Reddit Scraper - A comprehensive Reddit scraping command-line tool written in Python.

Joseph Lai 543 Jan 3, 2023
👨🏼‍⚖️ reddit bot that turns comment chains into ace attorney scenes

Ace Attorney reddit bot ????‍⚖️ Reddit bot that turns comment chains into ace attorney scenes. You'll need to sign up for streamable and reddit and se

null 763 Nov 17, 2022
A Python module to bypass Cloudflare's anti-bot page.

cloudscraper A simple Python module to bypass Cloudflare's anti-bot page (also known as "I'm Under Attack Mode", or IUAM), implemented with Requests.

VeNoMouS 2.6k Dec 31, 2022
Simple Web scrapper Bot to scrap webpages using Requests, html5lib and Beautifulsoup.

WebScrapperRoBot Simple Web scrapper Bot to scrap webpages using Requests, html5lib and Beautifulsoup. Mark your Star ⭐ ⭐ What is Web Scraping ? Web s

Nuhman Pk 53 Dec 21, 2022
NASA APOD Discord Bot - Fetches information from NASA APOD site.

NASA APOD Discord Bot - Fetches information from NASA APOD site.

Astronomy Club IITK 4 Apr 23, 2022
A Python module to bypass Cloudflare's anti-bot page.

cloudflare-scrape A simple Python module to bypass Cloudflare's anti-bot page (also known as "I'm Under Attack Mode", or IUAM), implemented with Reque

null 3k Jan 4, 2023
PS5 bot to find a console in france for chrismas 🎄🎅🏻 NOT FOR SCALPERS

Une PS5 pour Noël Python + Chrome --headless = une PS5 pour noël MacOS Installer chrome Tweaker le .yaml pour la listes sites a scrap et les criteres

Olivier Giniaux 3 Feb 13, 2022
Automated Linkedin bot that will improve your visibility and increase your network.

LinkedinSpider LinkedinSpider is a small project using browser automating to increase your visibility and network of connections on Linkedin. DISCLAIM

Frederik 2 Nov 26, 2021
This Spider/Bot is developed using Python and based on Scrapy Framework to Fetch some items information from Amazon

- Hello, This Project Contains Amazon Web-bot. - I've developed this bot for fething some items information on Amazon. - Scrapy Framework in Python is

Khaled Tofailieh 4 Feb 13, 2022
TarkovScrappy - A nifty little bot that lets you know if a queried item might be required for a quest at some point in the land of Tarkov!

TarkovScrappy A nifty little bot that lets you know if a queried item might be required for a quest at some point in the land of Tarkov! Hideout items

Joshua Smeda 2 Apr 11, 2022
Web-scraping - A bot using Python with BeautifulSoup that scraps IRS website by form number and returns the results as json

Web-scraping - A bot using Python with BeautifulSoup that scraps IRS website (prior form publication) by form number and returns the results as json. It provides the option to download pdfs over a range of years.

null 1 Jan 4, 2022
Python script that reads Aliexpress offers urls from a Excel filename (.csv) and post then in a Telegram channel using a bot

Aliexpress to telegram post Python script that reads Aliexpress offers urls from a Excel filename (.csv) and post then in a Telegram channel using a b

Fernando 6 Dec 6, 2022
Web3 Pancakeswap Sniper bot written in python3

Pancakeswap_BSC_Sniper_Bot Web3 Pancakeswap Sniper bot written in python3, Please note the license conditions! The first Binance Smart Chain sniper bo

Treading-Tigers 295 Dec 31, 2022
Web3 Pancakeswap Sniper & honeypot detector Take Profit/StopLose bot written in python3, For ANDROID WIN MAC & LINUX

Pancakeswap BSC Sniper Bot web3 with honeypot detector (ANDROID WINDOWS MAC LINUX) First SNIPER BOT for ANDROID with honeypot detector Web3 Pancakeswa

HYDRA 1 Dec 23, 2021
Web3 Pancakeswap Sniper & honeypot detector Take Profit/StopLose bot written in python3, For ANDROID WIN MAC & LINUX

?? Pancakeswap BSC Sniper Bot web3 with honeypot detector (ANDROID WINDOWS MAC LINUX) ?? ⭐️ ⭐️ ⭐️ First SNIPER BOT for ANDROID & WINDOWS with honeypot

HYDRA 2 Dec 24, 2021
Web3 Pancakeswap Sniper & honeypot detector Take Profit/StopLose bot written in python3, For ANDROID WIN MAC & LINUX

?? Pancakeswap BSC Sniper Bot web3 with honeypot detector (ANDROID WINDOWS MAC LINUX) ?? ⭐️ ⭐️ ⭐️ First SNIPER BOT for ANDROID & WINDOWS with honeypot

Mayank 12 Jan 7, 2023
Web3 Pancakeswap Sniper & honeypot detector Take Profit/StopLose bot written in python3, For ANDROID WIN MAC & LINUX

Web3 Pancakeswap Sniper & honeypot detector Take Profit/StopLose bot written in python3, For ANDROID WIN MAC & LINUX

HYDRA 3 Dec 27, 2021