Git Product home page Git Product logo

elharaka / snipegenius Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 5.0 134 KB

SnipeGenius is a trading bot that identifies new trading pairs on PancakeSwap, performs risk evaluations through safety checks, and then proceeds to make a buy if the criteria are met.

Home Page: https://web3dev.ma/

License: Other

Python 100.00%
bsc bscsniperbot pancakeswap pancakeswap-bot pancakeswap-sniper-bot sniper-bots sniperbot web3 web3py crypto-bot cryptobot dex python3 tokensniffer uniswap-sniper-bot uniswap

snipegenius's Introduction

SnipeGenius

SnipeGenius

SnipeGenius is a sniping bot designed to monitor newly created trading pair events. Upon detection, it conducts a series of safety inspections to identify potential risks like honeypots, rug pulls, or transaction taxes. Following these checks, SnipeGenius runs buy/sell simulations to assess risks further before executing a purchase.

  • Note: Currently, the only supported DEX is PancakeSwap, with plans to include more in the future. Safety checks within the system are continually being enhanced to ensure secure transactions. As i expand to support additional DEX platforms, my focus on robust safety measures remains a top priority to provide a reliable and secure trading experience for our users.

Core Components Breakdown

  • config.py: Sets up logging, displays startup banner, and initializes connections to Binance Smart Chain.

  • coinOps.py: Retrieves specified token and WBNB balances for a given address.

  • wallet.py: Handles encryption, storage, and retrieval of wallet and TokenSniffer API credentials.

  • snipegenius.py: Conducts safety checks on tokens.

  • transactions.py: Manages and executes buy transactions on new token pairs.

  • snipe.py: Initiates SnipeGenius.

Setup & Usage

  • Make sure Python 3.x installed on your machine.
  1. Clone the SnipeGenius repository:
git clone https://github.com/ELHARAKA/SnipeGenius.git
  1. Navigate to the SnipeGenius directory:
cd SnipeGenius
  1. Install the necessary Python libraries:
pip3 install requirements.txt
  • Note: If you encounter any errors related to the pwinput package, execute the following command to resolve the issue:
  sudo python3 -m pip install pwinput

Usage:

  1. The --p param is crucial for specifying the trade amount percentage, e.g., 5 represents 5%.
  2. The --s param is optional and sets the minimum safety score for a token; for example, 100 means 100%. (Default: 100)
    • It's recommended to keep the --score above 75 to avoid the risk of encountering a fraudulent token and losing your money.
  3. The --v param is optional and sets the verbosity level. Use 2 for complete logs, but it's advised only for debugging.
    • Complete logs can be found in "trade_history.log".

Defaul Logs:

python3 snipe.py --p 5 --score 100

Complete Logs:

python3 snipe.py --p 5 --score 75 --v 2

Run and Setup

  • Upon code execution, you'll be prompted to enter wallet details and TokenSniffer API key.
  1. Run python3 snipe.py --p 1 (Replace 1 with your desired value)
  2. Input wallet address, private key, and encryption password. Details saved encrypted in wallet.txt locally.
  3. Input TokenSniffer API key
    • Note: To obtain your TokenSniffer API Key, follow these instructions TokenSniffer API

License

SnipeGenius is proprietary software. The use, distribution, and modification of this software is governed by the license agreement provided in the LICENSE file in this repository.

Donations

  • If this tool helped in any way, consider making a donation to support the developer:
  1. ETH/BSC/POLY: 0x9f05c48003747eB6A5cC9C874cbE00Df75699673
  2. BTC Address: bc1q6zf7gxr7xqktv7gqdt7k9nawq8mu0xs99xrzrf

snipegenius's People

Contributors

elharaka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.