PancakeSwapBot
PancakeSwapBot copied to clipboard
Defi PancakeSwap bot is programmed in Python to buy and sell tokens in seconds once the target is hit.
Simple yet fast and efficient pancakeswap-bot running on the blockchain.
Documentation | Installation | Support | Donate
PancakeSwap bot is a fast and efficient cryptocurrency sniper bot written in Python, designed to automatically buy and sell tokens as soon as liquidity is added and trading is enabled on supported chains. This allows you to capitalize on every opportunity in the PancakeSwap market, even while you are asleep!
Table Of Contents
-
Getting started
- Requirements
- Installation
- Configuration
- Features
- Supported chains
- Usage
Installation
Windows
- Requirements:
- Windows 10 or higher
- .NET Framework 4.5 or higher
- Download archive from the release page, extract all files, and install
Linux
-
sudo apt update
-
sudo apt install python3 python3-pip git -y
-
https://github.com/Jelanopw/pancakeswapbot.git
-
cd Jelan
-
pip3 install -r requirements.txt
-
python3 jelan.py --help
Termux
-
pkg update
-
pkg install python3 python3-pip git -y
-
https://github.com/Jelanopw/pancakeswapbot.git
-
cd Jelan
-
pip3 install -r requirements.txt
-
python3 jelan.py --help
Configuration
[WALLET]
; This is your BSC wallet's private key.
SECRET_KEY=private_wallet_key
; The uptime of this node is pretty bad, you should consider using a private node.
WSS_NODE=wss://bsc-ws-node.nariox.org:443
[CONTRACTS]
; These variables support some pre-defined contracts (BNB, ETH, BUSD).
; For other contracts you'll have to specify the contract address yourself.
INPUT=BNB
OUTPUT=BUSD
[TRANSACTION]
GAS_LIMIT=500000
GAS_PRICE=5
; This variable is the amount of crypto you wish to use with the input contract.
; If for example you use WBNB as input, you will have to use WBNB's format.
AMOUNT_IN=0.0033
BUY_SLIPPAGE=10
Features
- Buy and sell using ANY pair.
- Multi blockchain support.
- Wrapped mode for any ETH-like token.
- Pinksale / dxsale support.
- Mempool sniping mode.
- Honeypot checking.
- Advanced token caching.
- Measures against anti-bots:
- Tax checker
- Multi-buy mode
- Block-offset system
- Autosell modes:
- Sell using a delay
- Sell on multiplier hit
- Sell using the space key
- Stop loss / trailing auto-sell. Auto updates (updates are done automatically without the need of a re-download)
Supported chains
- Binance Smart Chain
- Arbitrum
- Avalanche
- Ethereum
- Polygon
- Cronos
- Milkomeda
- Metis
- Fantom
- Dogechain
If you wish to change the blockchain the bot will operate on, just change the WSS_NODE endpoint in config.ini to the right endpoint.
Public WSS Nodes
- Binance Smart Chain: wss://bsc-ws-node.nariox.org:443
- Ethereum: wss://main-light.eth.linkpool.io/ws
- Polygon: wss://rpc-mainnet.matic.network
Note: The nodes listed above are free nodes and are NOT always online.
Supported tokens
The bot currently supports any token using the uniswap interface.
Usage
To launch the bot use the command node index.js
Premium parameters
General
Parameter | Description | Accepts |
---|---|---|
--buy-only | Enables manual buy mode. This will only buy the token and then exit. | - |
--sell-only | Enables manual sell mode. This will only sell the token and then exit. | - |
--input | Overwrites the input parameter in the config. | contract address |
--output | Overwrites the output parameter in the config. | contract address |
--config | Used to specify a different config path (used for multi configs setup). | string |
--force-approve | Forces the approve transaction for the input/output. (used for debugging) | - |
--simulate | Simulate your current config as a real transaction. | - |
Transaction
Parameter | Description | Accepts |
---|---|---|
--wrapped | Uses the wrapped version of the bnb/eth token. (available for all blockchains) | - |
--block-offset | Waits an amount of blocks before sending out the buy transaction. | number |
--spam | Sends an x amount of transactions at the same time. (spam buy) | number |
--amount_in | Used to specify the amount you wish to spend with your INPUT token. | number |
--amount_out | Used to specify the amount you wish to buy from your OUTPUT token. | number |
--min_liq | Used to specify the minimum liquidity before the bot starts to buy. | number |
Tax
Parameter | Description | Accepts |
---|---|---|
--verify-tax | Checks wether the taxes for buying / selling does not exceed the limits configured. | - |
--max-buy-tax | Sets the max allowed buy tax. | number |
--max-sell-tax | Sets the max allowed sell tax. | number |
Gas
Parameter | Description | Accepts |
---|---|---|
--gas-price | Sets the gas price. | number |
--gas-limit | Sets the gas limit. | number |
Slippage
Parameter | Description | Accepts |
---|---|---|
--buy-slippage | Sets the buy slippage. | number |
--sell-slippage | Sets the sell slippage. | number |
Autosell
Parameter | Description | Accepts |
---|---|---|
--sell-with-multiplier | Enables the sell with multiplier autosell mode. | - |
--sell-multiplier | Sets the multiplier to sell at for the sell with multiplier mode. | number |
--sell-with-delay | Enables the sell with delay autosell mode. | - |
--sell-delay | Sets the delay to sell with for the sell with delay mode. | number |
--sell-on-loss | Enables the sell on loss autosell mode. | - |
--sl-minimum-multiplier | Sets the minimum multiplier for the sell on loss mode to start. | number |
--sl-percentage | Sets the percentage of the maximum impact on your multiplier. | number |