Multi-chain defi crypto sniper written in typescript/javascript. Fastest method of sniping with auto-sell and rug prevention features. Mempool and manual sniping.
Report Bug
·
Request Feature
Table of Contents
- Telegram Sniper
- Mempool Sniper
- Instant Sniper
- CoinMarketCap/CoinGecko Listing Sniper
- PancakeSwap Prediction Bot
- DxSale/PinkSale Presale Bot
- Ethereum
- Cronos
- Binance Smart Chain
- Polygon (Matic)
- Fantom Opera
- KCC
- Avalanche
- Uniswap
- SushiSwap
- Mad Meerkat Finance
- PancakeSwap
- ApeSwap
- QuickSwap
- SpookySwap
- SpiritSwap
- KoffeeSwap
- KuSwap
- Trader Joe
- Rebuilt from the ground up for optimal performance
- Cross-platform graphical user interface (GUI)
- Multi-chain portfolio tracking
- Multiple wallets
- Buy/sell management
- Reach out to @blindgr on telegram for wait list spot and beta testing opportunities
Binaries are available for Linux (x64, arm), macOS (x64, arm), and Windows (x64). Check the releases page for the latest version.
Releases are built and published using Github Actions for full transparency.
SHA256 checksums are also provided to verify authenticity. DO NOT DOWNLOAD FROM ANY OTHER SOURCE OR FORK EXCEPT THIS REPO!
Linux
Open Terminal.
curl -L https://github.com/blindgr2/CryptoSniper/releases/latest/download/cryptosniper-linux-x64 -o cryptosniper
chmod +x cryptosniper
macOS
Open Terminal.
curl -L https://github.com/blindgr2/CryptoSniper/releases/latest/download/cryptosniper-macos-x64 -o cryptosniper
chmod +x cryptosniper
If you try to run ./cryptosniper
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 ./cryptosniper
in your Terminal.
Windows
Download the latest Windows release.
https://github.com/blindgr2/CryptoSniper/releases/latest/download/cryptosniper-win-x64.exe
After downloading, you can optionally rename it from "cryptosniper-win-64" to cryptosniper. It will work either way.
If you get a message that CryptoSniper was blocked by SmartScreen/Defender:
Option 1:
- Click "More Info"
- Click the "Run anyway" button.
Option 2:
- Right click on CryptoSniper and go to properties
- Check the box that says "unblock" and click OK.
You should now be able to run CryptoSniper.
Simply running CryptoSniper by double clicking will start it in interactive mode.
In Terminal (Linux/macOS) or CMD prompt (Windows) change your directory to where you downloaded CryptoSniper.
cd ~/Downloads
Configure your wallet by using the CLI commands below.
OR
Run CryptoSniper one time to generate the config files in your "Documents/CryptoSniper-configs" folder. Then manually add your private key to the wallets.json file.
./cryptosniper wallet private_key [paste key]
cryptosniper wallet private_key [paste key]
Start CryptoSniper.
./cryptosniper start
A CryptoSniper-configs folder will be created in your Documents. Inside you will find three JSON files that contain various settings.
wallets.json
private_key
Enter the private key (64 characters, not the seed phrase) of your wallet that you wish to use CryptoSniper with.
additional_private_keys
Reserved for future use.
config.json
The configs.json file is located in the CryptoSniper-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 CryptoSniper 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, CryptoSniper 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 CryptoSniper 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 CryptoSniper 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 CryptoSniper 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 CryptoSniper should listen to removeLiquidity() related transaction. If such a transaction is detected, CryptoSniper will TRY to front-run the transaction.
sell_management
Use true or false to configure if CryptoSniper 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 Settings
The telegram.json file is located in the CryptoSniper-configs folder in your Documents.
In order for Telegram Scanner and CMC/CG Fastest Alerts Telegram to work, CryptoSniper 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.
View All CLI Commands
cryptosniper autocomplete [SHELL]
cryptosniper config [KEY] [VALUE]
cryptosniper help [COMMAND]
cryptosniper nodes [KEY] [VALUE]
cryptosniper start
cryptosniper wallet [KEY] [VALUE]
display autocomplete installation instructions
USAGE
$ cryptosniper autocomplete [SHELL] [-r]
ARGUMENTS
SHELL shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
display autocomplete installation instructions
EXAMPLES
$ cryptosniper autocomplete
$ cryptosniper autocomplete bash
$ cryptosniper autocomplete zsh
$ cryptosniper autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
manage configuration
USAGE
$ cryptosniper 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
Display help for CryptoSniper.
USAGE
$ cryptosniper 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 CryptoSniper.
See code: @oclif/plugin-help
manage EVM node configuration
USAGE
$ cryptosniper nodes [KEY] [VALUE] [-h] [-d]
ARGUMENTS
KEY (eth.websockets|eth.rpc|eth_rinkeby.websockets|eth_rinkeby.rpc|cro.websockets|cro.rpc|bsc.websockets|bsc.rpc|ma
tic.websockets|matic.rpc|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
run bot
USAGE
$ cryptosniper start
DESCRIPTION
run bot
EXAMPLES
$ cryptosniper start
See code: dist/commands/start.ts
add or remove wallet
USAGE
$ cryptosniper 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
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Install dependencies.
npm install
- Compile
npm run prepack && npm run pkg
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Telegram- @blindgr
Telegram Community- @deficoders
Project Link: https://github.com/blindgr2/CryptoSniper
This software is for educational purposes only.
Copyright Disclaimer under section 107 of the Copyright Act of 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, education and research.
Fair use is a use permitted by copyright statute that might otherwise be infringing.
Fair use is a doctrine in United States copyright law that allows limited use of copyrighted material without requiring permission from the rights holders, such as commentary, criticism, news reporting, research, teaching or scholarship. It provides for the legal, non-licensed citation or incorporation of copyrighted material in another author’s work under a four-factor balancing test.