Giter VIP home page Giter VIP logo

meadsy123 / crypto-marksman-bsc-sniper Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 3.0 55.75 MB

Crypto Marskman BSC Sniper- A crypto listing sniping bot on the Binance smart chain mainet and Pancakeswap v2. Join us on telegram https://t.me/cryptomarksmansnipingbot for the full version or support.

Python 0.06% Tcl 99.94%
cryptocurrency crypto sniping bot cryptosniper pancakeswapbot pancakeswap bsc bscsniperbot snipingbot

crypto-marksman-bsc-sniper's Introduction

Crypto Marksman - Pancakeswap V2 BSC

A Pancakeswap V2 listing sniper bot on the bincance smart chain, includes a simple GUI and much more.

If you have any questions or inquiries, you can contact me via telegram: meadsy

Prerequisites

  • An BSC address
  • A Windows machine x64



Getting started

  1. Read prerequisites

  2. Download the latest release or download "configfile.py", "tokens.json", "main.exe" from the repository.

  3. Open "configfile.py" (with notepad for instance) and add your ethereum address and personal key at the bottom of the file between the quotation marks('').

...
my_address = ''
my_pk = ''
  1. Run "main.exe"
  • Make sure the three files are in the same folder otherwise this program will not run.
  1. Edit settings according to choice.



Functions

Get Total Wallet Balance: A list of tokens that are listed in the tokens.json are used to retrieve the token balance from your wallet and the token price to calculate your total price from pancakswap.

Get Token Balance: The balanace/price is retrieved from the token that is either selected from the token dropdown in the GUI or is specificed in the configfile.py.

Snipe: If the liquidty check toggle is set to true, a concurrent thread is created to continuosly check the liquidity. Firstly, the bot will check if the selected pair contract is avaiable on the pancakeswap factory contract (for example SAFEMOON/WBNB), if true the loop will start which will then check if the liquidity is available on the panacakeswap router for that specificed contract. Once liquidity is available the trade funcdtion is called. If the liquity check toggle is set to false, the trade function will start.

Fields

How fast liquidity checking The amount of time the bot has to wait per liquidity check. If this is set at 0ms, its fine.

Only buy if price is less than (limit buy) This so you wont buy a token for too much $. Especially handy for failing buy orders due to too less slappage or GWEI and for scam launches/IDO’s which add a token for too much $.

Max overall slippage The max slippage you want the bot to handle. Can be set from 1 to 100%. 100%= the bot only will accept a trade if the minimal amount of tokens it gets is 0 (=always accepting). Slippage is the expected % difference between these quoted and executed prices. Low liquidity can also cause increased slippage, which is why larger orders tend to face higher slippage.

GWEI to use for trade The amount of GWEI you want to use for a trade. Remember to keep this 10-15 (when bsc is not the usual 5 GWEI) for testing. But for sniping much higher. How much higher depends on the token (how much people are going to snipe), your latency with the RPC and if you really want to compete with the fastest guys, or just don’t want to make a proft. The fastest snipes use the highest GWEI and are only worth it when you play with a lot of BNB. https://bscscan.com/tx/0xc13c8150dc5eb37fde31cc9d155349af57a2b0973e35f0cd82942c6459b29 bd6

Sell when price is higher than (Limit sell) Limit sell option. If the current price of the token is higher than the amount set here, the bot will buy.

Sell when token is this much higher than start (= Sell when you have this much profit ,if you would sell) The amount of profit you want to have, and want to sell for. This is not the profit that you are going to make, there is still slippage.

Custom slippage for selling The slippage you want the bot to handle specially for selling. Can be set from 1 to 100%. 100%= the bot only will accept a trade if the minimal amount of BNB it gets is 0 (=always accepting). If you don’t check it, it will use the overall slippage. Slippage is the expected % difference between these quoted and executed prices. Low liquidity can also cause increased slippage, which is why larger orders tend to face higher slippage.

Gas limit Please set this at 700000, so an order will never fail because you didn’t accept a higher gas.

Sell this many times Perform a sell in multiple orders. In the future this will get more advanced, with different profits you accept as sniper per number of order in a sequency.

Only sell token, don’t buy Will ignore settings that have to do with buy, and will only sell token

Token address: Fill the token address of the token you want to trade (such as 0x0000000000000000000000000000000000000000)

Token name: The name of the token, fill it in yourself

Dec.: The amount of decimals the token operates with (18 is normal)

Sell(£): The price you want the trader to sell the token for (0.01 = 1 dollar cent)

Buy(£): The price you want the trader to buy the token for (0.01 = 1 dollar cent)

Different deposit address: Use this if you want the swap output to go to a different wallet address. There is a toggle for true/false and a field in config.py for the different address.





Current bugs

  • Some tokens or trading amounts are not possible to trade with, due to this issue: ethereum/web3.py#1634 This is the error-message you get: "Python int too large to convert to C ssize_". If you get this error its best to exclude the token (which probably has a very low price per token) or trade with lower amounts.
  • Sloppy dinamic design of GUI
  • Sometimes lag when updating names or when starting the bot (0-10 seconds)
  • More: Let me know!



To do

  • Let the amount of decimals and the token-name be derived automatically (like in the uniswap-bot)
  • Add pcs v1 support
  • New, more user-friendly design
  • Fix "Python int too large to convert to C ssize_"

(Depends on whether the application is used)



Author

If you have any questions you can contact me via telegram: meadsy92

Donations: 0xEE2FB21ecf35bc3f061b780Ebb3bf0299337EFc0



Disclosure

Use the application at your own risk, I am not in any way responsible for losses.

crypto-marksman-bsc-sniper's People

Contributors

meadsy123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.