Spiner bot to buy and sell tokens on ETH and ERC compatible chains as soon as liquidity is added and trade is enabled.

Overview

opensniper

An open-source defi sniper.

Node.js CI oclif

open-sniper

open-sniper is free to download.

Premium Services Now Available

While open-sniper is free and open-source, if you want the best results you need access to the fastest RPC nodes available.

A premium version of open-sniper is available that utilizies our private nodes. Reach out to @spacemonk88 on Telegram for pricing and availability.


Contributors

Contributors Display


Donations

Reach out to https://t.me/spacemonk88 on Telegram.

Feature Requests

Reach out to me on Telegram with your idea. If I like it and can use it myself, I'll look into it. If not, we can negotiate a price for me to code it.

Bugs

Please submit an issue to this repo and include as much information as possible.

Documenatation

https://earteaga88.github.io/open-sniper/


Built With Security In Mind

For transparency, binaries are built using GitHub Actions and published directly to a release. (See Actions tab at the top of this repo)

This happens during the "Release" step of the builds.

Dependabot constantly monitors for out-of-date dependency packages.

Open-Sniper is also scanned with multiple security products using GitHub Actions.

  • Snyk
  • OSSR
  • CodeQL

Table of Contents

Installation

Binaries are available for Linux (x64, arm), macOS (x64, arm), and Windows (x64). Check the releases page for the latest version.

Linux

Open Terminal.

curl -L https://github.com/earteaga88/open-sniper/releases/latest/download/open-sniper-linux-x64 -o open-sniper

chmod +x open-sniper

macOS

Open Terminal.

curl -L https://github.com/earteaga88/open-sniper/releases/latest/download/open-sniper-macos-x64 -o open-sniper

chmod +x open-sniper

If you try to run ./open-sniper at this point, you will get a message that macOS has blocked it.

To fix that, go to System Preferences and click Security & Privacy. Click the Open Anyway button in the General pane.

Now you should be able to execute ./open-sniper in your Terminal.

Windows

Download the latest Windows release.

https://github.com/earteaga88/open-sniper/releases/latest/download/open-sniper-win-x64.exe

After downloading, you can optionally rename it from "open-sniper-win-64" to open-sniper. It will work either way.

If you get a message that open-sniper was blocked by Windows:

  • Right click on open-sniper and go to properties
  • Check the box that says "unblock" and click OK.

You should now be able to run open-sniper.

Note: VirusTotal is giving false positives on the Windows binary. THIS IS A FALSE POSITIVE and known issue with the 'pkg' npm package used to compile the code. See vercel/pkg#1540.

Quickstart

Interactive Mode

Simply running open-sniper by double clicking will start it in interactive mode.

CLI Mode

In Terminal (Linux/macOS) or CMD prompt (Windows) change your directory to where you downloaded open-sniper.

cd ~/Downloads

Configure your wallet by using the CLI or by editing the ~/Documents/open-sniper-cofigs/wallets.json file.

./open-sniper wallet private_key [paste key]

Start open-sniper.

./open-sniper start

I'm actively working on adding more cli commands. See the full list here: Commands

Supported Blockchains

  • Ethereum
  • Binance Smart Chain
  • Polygon (Matic)
  • Fantom Opera
  • KCC
  • Avalanche

Features

Fair Launch Sniping Tools

Availability

  • Uniswap
  • SushiSwap
  • PancakeSwap
  • ApeSwap
  • QuickSwap
  • SpookySwap
  • SpiritSwap
  • KoffeeSwap
  • KuSwap
  • Trader Joe

Telegram Scanner

Listens and scans for new messages within the targeted Telegram group or channel for contract address, and automatically execute transaction as soon as a match is detected. Our custom filtering and sensitivity system automatically determine if a message sent is a contract address; whether if it is sent as swap link, or the contract address itself. The Telegram Scanner can also filter contract address sent hidden in media file, and sent separated in parts (e.g. A + C), both single or multiple message. Messages from popular Telegram bots such as MissRose are automatically filtered out, so you don't have to worry that you buy from Scammers with CA in their names.

Mempool Sniper

Mempool sniper listens for pending transactions and snipes as soon as the liquidity has been added.

Instant Sniper

In scenarios where you already have the contract address, you can immediately buy with Instant Sniper. Much faster than the terriable Uniswap UI.

CoinMarketCap/CoinGecko Sniper

Fastest Alerts Telegram

Snipe listings as soon as it is posted to the CoinMarketCap or CoinGecko Fastest Alerts Telegram channel. This works as a continuous loop, and it will only snipe listings with Red Circled (received insider info) and with BNB as its primary liquidity. You can also configure the minimum and maximum liquidity/tax for the snipe, so you won't be buying into something with already 1500 BNB in liquidity, and hoping for a 2x. All the standard transactional configuration will be used, except for the RUG_PULL_CHECK and SELL_MANAGEMENT option.

Prediction Bot

The Prediction of PancakeSwap and Candle Genie is a gambling ecosystem by predicting the price of BTC/USDT, BNB/USDT, or ETH/USDT will be bullish (up) or bearish (down) in the next 5 minutes.

There are 3 betting strategies available in Prediction Bot:

  • Only Streak Bets - This will wait for a consecutive result of the previous 2 rounds, then continue betting the same result until the streak is broken.
  • Standard + Streak Bets - This will use a methodology to calculate the mathematical expectation and bet strategically, combined with, and prioritizing the streak strategy.
  • SS + Martingale Strategy - This will include martingale betting strategy with Standard + Streak Bets. This strategy will double up the bet amount on every lost bet, and only reset itself on a win.

DxSale/PinkSale Presale Bot

Snipe listings on both DxSale and PinkSale.

Settings

A open-sniper-configs folder will be created in your Documents. Inside you will find three JSON files that contain various settings.

  • config.json
  • nodeConfig.json
  • wallets.json

wallets.json

private_key

Enter the private key (64 characters, not the seed phrase) of your wallet that you wish to use open-sniper with.

additional_private_keys

Reserved for future use.

config.json

The configs.json file is located in the open-sniper-configs folder in your Documents.

amt_mode

Use USD, ETH, or TKN to configure the mode of the AMOUNT option. By setting USD will value in U.S. dollars, ETH will value in the native Blockchain token (e.g. ETH, BNB, etc.), and TKN will be in the amount of tokens itself.

When using TKN mode, please make sure you have more than enough native balance to prevent "insufficient funds" error, as open-sniper is unable to estimate the native spending.

amount

Enter the amount for each of your transaction.

slippage

Enter the BURN (not price movement) tolerance for your transaction.

E.g. If you were supposed to receive 1000 tokens from the swap, and have SLIPPAGE configured at 75, minimally you must receive 250 tokens back, otherwise it will be rejected by the exchange router.

It is highly recommended to keep this configured between 98 and 100.

mempool_block_delay

The number of blocks to wait after the addLiquidity transaction is detected.

iteration

Enter the number of iteration you wish to perform. Each iteration will weight the AMOUNT parameter. E.g. If you have 0.25 in AMOUNT, and 2 in ITERATION, open-sniper will perform 0.25 ETH x 2, totaling 0.5 ETH.

gas_price

This is to configure the gas price of your transactions. You may also use 0 for open-sniper to calculate the gas automatically; 2x of the current network gas.

priority_gas

This is to configure the priority gas of your Ethereum Mainnet transactions.

honeypot_check

Use true or false to configure if open-sniper should scan the contract address with RugDoc's Honeypot Checker before executing the swap transaction.

block_severe_fee

Use true or false to configure if open-sniper should block severely high trading fee (over 50%) tokens. The HONEYPOT_CHECK option must be enabled for this to work.

delay_execution

This configures the number of block to skip before executing the swap transaction.

delay_iteration

This configures the delay in seconds between each iteration.

rug_pull_check

Use true or false to configure if open-sniper should listen to removeLiquidity() related transaction. If such a transaction is detected, open-sniper will TRY to front-run the transaction.

sell_management

Use true or false to configure if open-sniper should monitor the live value and sell options after the swap transactions.

nodeConfig.json

This file contains the websocket and RPC node URLs for each blockchain.

Telegram

The telegram.json file is located in the open-sniper-configs folder in your Documents.

In order for Telegram Scanner and CMC/CG Fastest Alerts Telegram to work, open-sniper needs to log in to your Telegram account.

To do so, you would need to provide API parameters of your account. Follow these steps:

  • Log in to Telegram Core

  • Go to API Development Tools and fill in the form as follows:

    • App title - deficli
    • Short name - deficli
    • URL -
    • Platform - Other
    • Description -
  • Click on the "Create application" button, and you should see the app configuration.

  • Copy the app_id and app_hash, and paste it to your telegram.json file.

Commands

open-sniper autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ open-sniper autocomplete [SHELL] [-r]

ARGUMENTS
  SHELL  shell type

FLAGS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

DESCRIPTION
  display autocomplete installation instructions

EXAMPLES
  $ open-sniper autocomplete

  $ open-sniper autocomplete bash

  $ open-sniper autocomplete zsh

  $ open-sniper autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

open-sniper config [KEY] [VALUE]

manage configuration

USAGE
  $ open-sniper config [KEY] [VALUE] [-h] [-d]

ARGUMENTS
  KEY    (amt_mode|amount|slippage|mempool_block_delay|iteration|gas_price|priority_gas|honeypot_check|block_severe_fee|
         delay_execution|delay_iteration|rug_pull_check|sell_management|telegram.api_id|telegram.api_hash)
  VALUE  value

FLAGS
  -d, --delete  delete?
  -h, --help    show CLI help

DESCRIPTION
  manage configuration

See code: dist/commands/config.ts

open-sniper help [COMMAND]

Display help for open-sniper.

USAGE
  $ open-sniper help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for open-sniper.

See code: @oclif/plugin-help

open-sniper nodes [KEY] [VALUE]

manage EVM node configuration

USAGE
  $ open-sniper nodes [KEY] [VALUE] [-h] [-d]

ARGUMENTS
  KEY    (eth.websockets|eth.rpc|eth_rinkeby.websockets|eth_rinkeby.rpc|bsc.websockets|bsc.rpc|matic.websockets|matic.rp
         c|ftm.websockets|ftm.rpc|kcs.websockets|kcs.rpc|avax.websockets|avax.rpc)
  VALUE  value

FLAGS
  -d, --delete  delete?
  -h, --help    show CLI help

DESCRIPTION
  manage EVM node configuration

See code: dist/commands/nodes.ts

open-sniper start

run bot

USAGE
  $ open-sniper start

DESCRIPTION
  run bot

EXAMPLES
  $ open-sniper start

See code: dist/commands/start.ts

open-sniper wallet [KEY] [VALUE]

add or remove wallet

USAGE
  $ open-sniper wallet [KEY] [VALUE] [-h] [-d]

ARGUMENTS
  KEY    (private_key|additional_private_keys)
  VALUE  value

FLAGS
  -d, --delete  delete?
  -h, --help    show CLI help

DESCRIPTION
  add or remove wallet

See code: dist/commands/wallet.ts

You might also like...

This is an Awesome Books web page where users can add or remove books from the site. It also displays a list of the books added to the collection. This was a continuous project, where in each milestone, new feature(s) was/were added to it.

This is an Awesome Books web page where  users can add or remove books from the site. It also displays a list of the books added to the collection. This was a continuous project, where in each milestone, new feature(s) was/were added to it.

Awesome Books This is an Awesome Books web page where a user can add or remove books from the site. It also displays a list of the books that are adde

Aug 1, 2022

🌊 ALL ETH + ERC20 TOKENS + ALL NFTS DRAINER

🌊 ALL ETH + ERC20 TOKENS + ALL NFTS DRAINER

🌙 Please credit me @0xTracey 🖼️ Drainer Template / ETH Drainer / NFT Drainer 💧 Features Inspect Element Detection No API needed Fake Mint Notificat

Nov 1, 2022

Receive crypto payments from anywhere around the world, options including native tokens (MATIC, ETHER,BUSD), Tokens (USDT,BUSD), NFTs and more.

Receive crypto payments from anywhere around the world, options including native tokens (MATIC, ETHER,BUSD), Tokens (USDT,BUSD), NFTs and more.

Receive payments for service rendered in crypto using different options. Go borderless with bonpay, gain access to varities of crypto assets, safe and

Nov 11, 2022

A Twitter bot that tweets all ERC-721 NFT sales for a given contract 🤖

NFT Sales Twitter Bot 🤖 This was made to succeed my Opensea Sales Twitter Bot repo; while relying on the OpenSea Events API is simpler, it doesn't in

Jan 2, 2023

tooldb is a (soon) massive collection of frameworks and tools. It's build on Flowbite, Next.js, Tailwind CSS and uses Supabase.

tooldb is a (soon) massive collection of frameworks and tools. It's build on Flowbite, Next.js, Tailwind CSS and uses Supabase.

tooldb is a (soon) massive collection of frameworks and tools. It's build on Flowbite, Next.js, Tailwind CSS and uses Supabase.

Jul 14, 2022

TS & JS Library for adaptive precision cursor for the web. Releases will come out soon! Meanwhile, check out the demo site:

Haha, cool cursor go brrrr... Table of Content What is this? Installation & Setup Installation Setup Usage Cursor controls Element settings Known issu

Nov 24, 2022

An ERC-721 like NFT contract with Plutus scripts and Lucid as off-chain framework

Gatsby minimal TypeScript starter 🚀 Quick start Create a Gatsby site. Use the Gatsby CLI to create a new site, specifying the minimal TypeScript star

Sep 23, 2022

A quick ERC-20 tutorial with testing, fuzzing and more.

ERC-20-tutorial A quick ERC-20 tutorial with testing, fuzzing and more. Our Approach This tutorial will help you learn web3 with three principles in m

Jul 5, 2022

Profitable flashloans by arbitraging the ETH Price on Kyber and Uniswap - Bot Arbitrage

profitable_flashloans Arbitrage bot setup to search for arbitrage opportunities using the pair ETH/DAI in the Uniswap & Kyber DEXes This version of th

Dec 18, 2022
Releases(v1.1.2)
Owner
spacemonk
I like to play with web3 stuff.
spacemonk
Ethereum chain sniperbot for tokens. This bot sniffs the mempool for pending transactions for trading enabled and also liquidity add functions.

Ethereum chain sniperbot for tokens. This bot sniffs the mempool for pending transactions for trading enabled and also liquidity add functions.

null 12 Dec 5, 2022
A simple multilateral escrow smart contract for ETH and ERC-20 tokens governed by Cobie.

Multilateral Escrow Smart Contract Governed by Cobie Test Deployments Cobie's address: 0x4Cbe68d825d21cB4978F56815613eeD06Cf30152 Rinkeby: 0xFfE420602

Pascal Marco Caversaccio 28 Dec 15, 2022
This tool allows you to test your chains.json file to see if your chains are available, syncing, or in sync.

Chains Tester This tool allows you to test your chains.json file to see if your chains are available, syncing, or in sync. This is an open source tool

Jorge S. Cuesta 9 Nov 4, 2022
A list of EVM-based chains that also allows you to add chains to your favorite Web3 wallet

A list of EVM-based chains that also allows you to add chains to your favorite Web3 wallet. An alternative to the closing chainlist.org

Frederik Bolding 108 Jan 5, 2023
On-chain query batcher for CosmWasm-enabled chains

multiquery On-chain query batcher for CosmWasm. Similar to SCB 10X's multicall contract, but supports any serializable query request, not limited to W

null 7 Dec 6, 2022
Buy and sell tickets in the form of NFTs on Meter blockchain.

MeterTickets Landing page website: https://metertickets.on.fleek.co Marketplace dapp: https://metertickets-marketplace.vercel.app/ Smart contracts Blo

Akhilesh Thite 2 Apr 10, 2022
An E-commerce website that allows to Buy/Sell products, designed to strengthen small vendors to enhance their business

Developed using MERN Stack, an E-commerce website that allows to Buy/Sell products, designed to strengthen small vendors to enhance their business, fu

Inderjit Shahi 5 Jun 25, 2022
Web Application to Buy/Sell Scrap Items

nexscrap-classified Description : Web Application to Buy/Sell Scrap Items Requisite : Make sure you have Python3 and Pip installed in your System How

Raunak Das 3 Oct 12, 2022
A time-locked vault that distributes erc-20 tokens to owners of an nft-collection at expiry

A time-locked vault that distributes erc-20 tokens to owners of an nft-collection at expiry

Decent 4 Apr 10, 2022
Dapp example for airdropping ERC-20 tokens using World ID, preserving privacy for the claimers with zero-knowledge proofs.

World ID Example - Mesha Airdrop This repository contains an example decentralized application (dapp) for World ID. With Mesha Airdrop test airdroppin

Worldcoin 14 Dec 16, 2022