Skip to content

This free-to-use bot allows you to snipe every token presale on DxSale, Pinksale or any other BSC platform where you have to send BNB to some presale address.

License

Notifications You must be signed in to change notification settings

forza-panino/Sniper-Bot

Repository files navigation

Spartan-Crypto logo

Sniper-Bot

This free-to-use bot allows you to snipe every token presale on DxSale, Pinksale or any other BSC platform where you have to send BNB to some presale address.

Table of Contents

Features

  • Multi-platform (DxSale, Pinksale or any other BSC platform where you have to send BNB to some presale address)
  • Antibot avoidance
  • Transaction settings customizable
  • Multiwallet (to be developed)
  • Fairlaunch sniping
  • Multichain support (to be developed)

Requirements

  • npm
  • NodeJS

Requirements installation guide

You can install NodeJS through the official installer (be sure to select LTS and not current); if you're using Linux or another OS instead of Windows or macOS then, as per documentation, it is reccomended to use NodeSource installer.
NPM will be automatically installed along with NodeJS.

Installation Guide

  1. Get a copy of this repository on your computer. You have to ways to do it:
    • Cloning the repository using Git
    • Download the repository as ZIP and unzip it
  2. Open a terminal inside the project folder
  3. Digit and run the command npm install and wait for npm to install all the packages needed

Bot guide

Setting up language

The bot supports both English and Italian language. To set it up open a terminal inside the project folder than choose your language running one of the following commands:

  • npm run set-english-language: sets bot's language to English
  • npm run set-italian-language: sets bot's language to Italian

Commands overview

Once you have installed everything correctly you can start the bot using a terminal opened inside the project folder and digiting one of the following commands:

Normal use commands

These are the commands that you are most likely to need:

  • npm run mainnet-presale:
    • starts bot on the mainnet
    • selects the mode presale (snipes presales)
    • sets number of delay blocks to zero (antibot avoidance OFF).
  • npm run mainnet-presale-with-delay:
    • starts bot on the mainnet
    • selects the mode presale (snipes presales)
    • sets number of delay blocks to 5 (antibot avoidance ON).
  • npm run mainnet-fairlaunch (note: fairlaunch feature still under development) :
    • starts bot on the mainnet
    • selects the mode fairlaunch (snipes fairlaunches)
    • sets number of delay blocks to zero (antibot avoidance OFF).
  • npm run mainnet-fairlaunch-with-delay (note: fairlaunch feature still under development) :
    • starts bot on the mainnet
    • selects the mode fairlaunch (snipes fairlaunches)
    • sets number of delay blocks to 5 (antibot avoidance ON).

Commands for testing/developing purposes

These commands are useful if you want to try the bot on the testnet:

  • npm run testnet-presale:
    • starts bot on the testnet
    • selects the mode presale (snipes presales)
    • sets number of delay blocks to zero (antibot avoidance OFF).
  • npm run testnet-presale-with-delay:
    • starts bot on the testnet
    • selects the mode presale (snipes presales)
    • sets number of delay blocks to 5 (antibot avoidance ON).
  • npm run testnet-fairlaunch (note: fairlaunch feature still under development) :
    • starts bot on the testnet
    • selects the mode fairlaunch (snipes fairlaunches)
    • sets number of delay blocks to zero (antibot avoidance OFF).
  • npm run testnet-fairlaunch-with-delay (note: fairlaunch feature still under development) :
    • starts bot on the testnet
    • selects the mode fairlaunch (snipes fairlaunches)
    • sets number of delay blocks to 5 (antibot avoidance ON).

Notice: whether you have launched the bot with antibot avoidance on or off, you will always have the possibility to change the number of delay blocks (zero will result in the deactivation of the delay system for the current operation).


Bot's user interface

Setting up sniping details with this bot may be a little slow, redundant and slightly boring, but it is error-proof for the user.

1. Initialization

The bot loads the launch settings and shows them to the user.
The user will then be asked if he wants to change the number of delay blocks - in case of a positive answer the bot will require a new value to be prompted.

2. Wallet configuration

The bot searches for previous wallet configuration file:

  • if it doesn't exist, wallet configuration procedure will start and a new configuration file will be created - the new wallet settings will then be shown
  • if it does exist, the bot will show the current wallet settings and then asks for confirmation.
    Note: if you decide to change the current settings, the configuration file will be overwritten thus changes are permanent

3. Setting up target address

The bot asks for the target address (presale address in case of presale sniping or token address in case of fairlaunch sniping).

4. Input validation

The bot checks if private_key and target_address are valid - if not, an error will be thrown and the bot will stop executing.

5. Time of presale start (only for presale mode)

The bot asks for time of presale start.
Attention: use your local time!

6. Sniping starts

The bot starts the sniping process and prompts the following message:
Waiting for time to come...

Then, no message will be prompted until the triggering event happens; this means:

  • In presale mode it waits for the first block whose timestamp is greater or equal to trigger_time (the time of presale start)
  • In fairlaunch mode it waits for liquidity to be added

When the triggering event happens the following message will be prompted:
Bot armed.

Then, if required, it will wait for the requested number of blocks before issuing the transaction to the blockchain resulting in one of the following final situation:

  • Transaction issued succesfully: the transaction hash is prompted
  • An error occurs: the error message is prompted

Specifications

  • gas_amount: maximum units of gas you want to use
  • gas_price: how much you want to pay the gas in GWEI per unit of gas (same unit of measurement as MetaMask)
  • amount: the amount of BNB you want to send (thus ETHER as unit of measurement)

License

Check LICENSE file.

Credits

Developed by @forza-panino for the telegram group Spartan-Crypto, main sponsor.

About

This free-to-use bot allows you to snipe every token presale on DxSale, Pinksale or any other BSC platform where you have to send BNB to some presale address.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published