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

    [email protected] ~ % ./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
Displays market info for the LUNI token on the Terra Blockchain

LuniBot for Discord Displays market info for the LUNI/LUNA token on the Terra Blockchain (Webscrape method currently scraping CoinMarketCap). Will evo

0 Jan 22, 2022
A multithreaded tool for searching and downloading images from popular search engines. It is straightforward to set up and run!

🕳️ CygnusX1 Code by Trong-Dat Ngo. Overviews 🕳️ CygnusX1 is a multithreaded tool 🛠️ , used to search and download images from popular search engine

DatNgo 32 Dec 31, 2022
Free-Game-Scraper is a useful script that allows you to track down free games and DLCs on many platforms.

Game Scraper Free-Game-Scraper is a useful script that allows you to track down free games and DLCs on many platforms. Join the discord About The Proj

KursK 2 Mar 28, 2022
This was supposed to be a web scraping project, but somehow I've turned it into a spamming project

Introduction This was supposed to be a web scraping project, but somehow I've turned it into a spamming project.

Boss Perry (Pez) 1 Jan 23, 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
Generate a repository with mirror links for DriveDroid app

DriveDroid Repository Generator Generate a repository for the app that allow boot a PC using ISO files stored on your Android phone Check also an offi

Evgeny 11 Nov 19, 2022
Scraping Top Repositories for Topics on GitHub,

0.-Webscrapping-using-python Scraping Top Repositories for Topics on GitHub, Web scraping is the process of extracting and parsing data from websites

Dev Aravind D Satprem 2 Mar 18, 2022
A simple python script to fetch the latest covid info

covid-tracker-script A simple python script to fetch the latest covid info How it works First, get the current date in MM-DD-YYYY format. Check if the

Dot 0 Dec 15, 2021
A Happy and lightweight Python Package that searches Google News RSS Feed and returns a usable JSON response and scrap complete article - No need to write scrappers for articles fetching anymore

GNews 🚩 A Happy and lightweight Python Package that searches Google News RSS Feed and returns a usable JSON response 🚩 As well as you can fetch full

Muhammad Abdullah 273 Dec 31, 2022
Goblyn is a Python tool focused to enumeration and capture of website files metadata.

Goblyn Metadata Enumeration What's Goblyn? Goblyn is a tool focused to enumeration and capture of website files metadata. How it works? Goblyn will se

Gustavo 46 Nov 22, 2022
爱奇艺会员,腾讯视频,哔哩哔哩,百度,各类签到

My-Actions 个人收集并适配Github Actions的各类签到大杂烩 不要fork了 ⭐️ star就行 使用方式 新建仓库并同步代码 点击Settings - Secrets - 点击绿色按钮 (如无绿色按钮说明已激活。直接到下一步。) 新增 new secret 并设置 Secr

280 Dec 30, 2022
An helper library to scrape data from Instagram effortlessly, using the Influencer Hunters APIs.

Instagram Scraper An utility library to scrape data from Instagram hassle-free Go to the website » View Demo · Report Bug · Request Feature About The

2 Jul 06, 2022
联通手机营业厅自动做任务、签到、领流量、领积分等。

联通手机营业厅自动完成每日任务,领流量、签到获取积分等,月底流量不发愁。 功能 沃之树领流量、浇水(12M日流量) 每日签到(1积分+翻倍4积分+第七天1G流量日包) 天天抽奖,每天三次免费机会(随机奖励) 游戏中心每日打卡(连续打卡,积分递增至最高

2k May 06, 2021
Bulk download tool for the MyMedia platform

MyMedia Bulk Content Downloader This is a bulk download tool for the MyMedia platform. USE ONLY WHERE ALLOWED BY THE COPYRIGHT OWNER. NOT AFFILIATED W

Ege Feyzioglu 3 Oct 14, 2022
Python scrapper scrapping torrent website and download new movies Automatically.

torrent-scrapper Python scrapper scrapping torrent website and download new movies Automatically. If you like it Put a ⭐ on this repo 😇 Run this git

Fazil vk 1 Jan 08, 2022
CreamySoup - a helper script for automated SourceMod plugin updates management.

CreamySoup/"Creamy SourceMod Updater" (or just soup for short), a helper script for automated SourceMod plugin updates management.

3 Jan 03, 2022
Iptvcrawl - A scrapy project for crawl IPTV playlist

iptvcrawl a scrapy project for crawl IPTV playlist. Dependency Python3 pip insta

Zhijun 18 May 05, 2022
Extract gene TSS site form gencode/ensembl/gencode database GTF file and export bed format file.

GetTss python Package extract gene TSS site form gencode/ensembl/gencode database GTF file and export bed format file. Install $ pip install GetTss Us

laojunjun 6 Nov 21, 2022
Get-web-images - A python code that get images from any site

image retrieval This is a python code to retrieve an image from the internet, a

CODE 1 Dec 30, 2021
WebScrapping Project - G1 Latest News

Web Scrapping com Python Esse projeto consiste em um código para o usuário buscar as últimas nóticias sobre um termo qualquer, no site G1. Para esse p

Eduardo Henrique 2 Feb 13, 2022