Professional Sniper, Bundler & Volume Automation for PancakeSwap and Four.meme
A high-performance trading bot infrastructure built for the BNB Smart Chain, offering automated token deployment, liquidity pool creation, and advanced trading strategies. Designed with precision, speed, and enterprise-grade reliability β ideal for developers, traders, and liquidity engineers.
The BNB Chain Trading Bot enables seamless automation of token operations and trading strategies on PancakeSwap V3 and Four.meme.
It includes everything from token deployment to liquidity provisioning, volume simulation, and bundled transaction execution via bloXroute for MEV protection.
Load targets from config β query router for expected out β apply configured slippage β perform WBNB β TOKEN swap β emit tx hash/receipt β optionally notify via Telegram.
Subscribe to pending mempool transactions β filter by leader wallets β detect router swap intents β mirror with your position sizing and caps β optionally notify.
Read a sequence of routes from config β execute each respecting slippage/deadline settings β suitable base for multicall-style extensions.
Loop on an interval β small buys β approve when needed β partial or full sells β repeat with builtβin rate limiting.
- π Token Deployment β Auto-generate and deploy ERC20 tokens with customizable supply, name, and symbol
- π§ Liquidity Management β Instantly create liquidity pools and provide liquidity on PancakeSwap V3
- β‘ Transaction Bundling β Integrate with bloXroute to enable atomic, front-run protected operations
- π― Trading Strategies β Execute sniper, bundler, and volume-generation strategies
- π Security First β Built with OpenZeppelin contracts, hardened with audits and local test suites
- π§ͺ Fork Testing β Use BSC mainnet forking for safe and realistic testing before live deployment
- πͺ Multi-Wallet Orchestration β Create, manage, and fund multiple wallets for distributed trading
The bot follows a modular architecture designed for flexibility and scalability.
| Component | Description |
|---|---|
| Smart Contracts | Solidity-based ERC20 token & liquidity management contracts |
| Transaction Bundler | bloXroute API for atomic multi-tx execution and MEV protection |
| Liquidity Protocols | Uniswap V3 SDK for PancakeSwap V3 interaction |
| Development Framework | Hardhat for compilation, testing, deployment, and simulation |
| Component | Technology |
|---|---|
| Smart Contracts | Solidity ^0.8.9 |
| Framework | Hardhat ^2.19.5 |
| Testing | Hardhat Toolbox |
| DEX Integration | Uniswap V3 SDK |
| Security | OpenZeppelin Contracts |
| RPC Provider | QuickNode |
| MEV Protection | bloXroute |
- Wallet Generation β Create and manage multiple sub-wallets derived from a single master key
- BNB Distribution β Distribute BNB from the master wallet to all sub-wallets automatically
- Token Deployment β Deploy tokens using the Four.meme factory contract
- Auto-Buy Execution β Simultaneous buy transactions from all generated wallets
- Balance Tracking β Retrieve and log both BNB and token balances
- Exported Data β Automatically save wallet and transaction data in JSON format
node bundler.jsThis command will:
- Generate wallets (
wallet_details.json) - Distribute BNB to sub-wallets
- Deploy a new token
- Execute buy transactions
- Save all transaction data to
token_details.json
| Parameter | Value |
|---|---|
| Network | Binance Smart Chain (Mainnet or Testnet) |
| Factory Contract | 0x5c952063c7fc8610FFDB798152D69F0B9550762b |
| Launch Cost | ~0.005 BNB |
| Liquidity Threshold | Auto-liquidity at 24 BNB |
| Explorer | https://bscscan.com/address/0x5c952063c7fc8610FFDB798152D69F0B9550762b |
wallet_details.json
[
{
"index": 0,
"address": "0xabc123...",
"privateKey": "0xdef456..."
}
]token_details.json
{
"address": "0x987654...",
"name": "TestMeme",
"symbol": "TME",
"supply": "1000000",
"transactions": [
{ "hash": "0x123...", "blockNumber": 38192612 }
]
}Before running the bot, make sure you have:
- Node.js v16.x or higher
- npm v8.x or higher
- RPC Access β QuickNode or similar BSC RPC endpoint
- bloXroute Account β API credentials for transaction bundling
- Private Key β Funded wallet on BNB Smart Chain
- π Never commit
.envfiles containing private keys or API credentials - π§© Use separate wallets for testing and production
- π§ Audit transactions carefully before deploying on mainnet
- π§ͺ Test thoroughly on forked networks before live execution
- β½ Monitor gas fees to avoid unnecessary spending
- βοΈ Understand and mitigate MEV risks when using atomic bundles
The bot executes the following operations in one atomic bundle via bloXroute:
- Deploy custom ERC20 token
- Approve token for NFPM (Non-Fungible Position Manager)
- Approve WBNB for NFPM
- Create a liquidity pool on PancakeSwap V3
- Initialize the pool with the starting price
- Add liquidity
- Execute buy transactions
All steps are bundled atomically to ensure consistency, front-run protection, and efficient execution.
git clone https://github.com/0xopsdev/bnb-chain-trading-bot.git
cd bnb-chain-trading-bot
npm install
cp .env.example .env
node bundler.js- Integrate AI-based strategy optimization
- Support for cross-chain deployment (ETH, Base, Arbitrum)
- Real-time Telegram / Discord alerts
- Advanced PnL and analytics dashboard
This project is licensed under the MIT License β open for development, customization, and research purposes.
This software is provided for educational and research purposes only.
Use at your own risk. The maintainers assume no responsibility for financial losses or regulatory implications.
- Randomizing trading amount
- Randomizing trading frequency (Buy/Sell)
- Randomizing the pool
π Telegram: 0xOpsDev
Built for performance. Secured for production. Optimized for BNB Smart Chain.