Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Latest commit

 

History

History
245 lines (132 loc) · 6.4 KB

README.md

File metadata and controls

245 lines (132 loc) · 6.4 KB

Sniper

A mempool sniping bot for Ethereum, Binance Smart Chain, Matic, & Fantom that is able to scan for new liquidity adds on token launches, so as to be able to buy a token as soon as liquidity is added --> in the same block

   

HOW TO INSTALL Sniper

There are 2 ways to install :

 

1. Download the pre-compiled package for Windows users only

That we provide on the Release page : it's a .exe file that you can run on your computer. https://github.com/tsarbuig/Limit-Sniper/releases

  • Download last Zip file, for instance :

  • Unzip it
  • Open "tokens.json - Shortcut" and configure it for your needs
  • Open "Start Sniper.cmd" --> it will configure your settings.json

✅ ✅ ✅ And it's done! ✅ ✅ ✅

 

Pros and cons

🟢 : very easy to setup

🔴 : it's pre-compiled, so you cannot check the Source Code

   

2. Run The Python Code Locally

Here are tutorials step-by-step:

 

For Windows users


FIRST PART : PRE-REQUISITES


PLEASE ADD IT TO PATH BY CHECKING THIS OPTION:

Please install the default package and all those options : image

  • NEW : Sniper now has colors to better display errors / success / etc.

Follow this tutorial to activate colors on your Windows Command :

  • 1/ Launch "Regedit"
  • 2/ Go to [HKEY_CURRENT_USER \ Console]
  • 3/ Right click on white space / create new DWORD 32 bit key called VirtualTerminalLevel and set it to 1

 


SECOND PART : DOWNLOAD BOT AND INSTALL DEPENDENCIES


  • Unzip file
    • Go into the unzipped folder
    • In the folder, push "Shift" on your keyboard, then do a right-click
    • Click on "Open command windows here" or "Open Powershell windows here"

  • It will open Windows command (or Powershell) in the right place, where all the files are located:

image

  • Run command: pip install -r requirements.txt
    --> this will install all the packages needed to run LimitSwap

(🔥 if you have an error here, double check you have selected "Add Python to PATH" on the Python step. If you did not, uninstall Python and reinstall it checking the option "Add Python to PATH")

 

✅ ✅ ✅ And it's done! ✅ ✅ ✅

 


LAST PART : RUN THE BOT


There are 2 ways to do that :

  • Simply double-click on "sniper.py" and it will run, since you've installed Python 👍👍

  • Or, in the Windows Command, run command: python sniper.py

This second option allows you to use parameters. For example, if you have several .json files and you want to choose which one to use :

python sniper.py -s settingsBSC.json -t tokensBSC.json

or

python sniper.py --benchmark

   

For Linux users


DO THIS ONCE


sudo -s

apt-get install python3-dev build-essential python3-pip


DO THE NEXT STEPS FOR EACH UPGRADE


Navigate to the Limistswap folder, then:

python3 -m venv env

source env/bin/activate

pip install wheel

pip install -r requirements.txt

python sniper.py

This allows you to use parameters. For example, if you have several .json files and you want to choose which one to use :

python sniper.py -s settingsBSC.json -t tokensBSC.json

or

python sniper.py --benchmark

 

For Mac users


Tutorial is almost the same as Windows tutorial

Check Windows tutorial for detailed step-by-step


1/ Install Python and don't forget to select "Add to path"

2/ Install Visual Studio

3/ Open Terminal, go to the directory where you unzipped the bot, and run command:

pip install -r requirements.txt

 

✅ ✅ ✅ And it's done! ✅ ✅ ✅


LAST PART : RUN THE BOT


Open Terminal, go to the directory where you unzipped the bot, and run command: python sniper.py

 

This allows you to use parameters. For example, if you have several .json files and you want to choose which one to use :

python sniper.py -s settingsBSC.json -t tokensBSC.json

or

python sniper.py --benchmark

    

Developers 🔧

Want to help contribute to LimitSwap, reach out on telegram : any help is welcome to make the bot better :)

Links & Socials

WiKi

https://limitswapv3.gitbook.io/limitswap/

Website:

https://www.limitswap.com/

Twitter:

https://twitter.com/LimitSwap

Telegram:

https://t.me/LimitSwap