Professional sniper, bundler & volume automation infrastructure for PancakeSwap V3 and Four.meme. A high-performance toolkit built for the BNB Smart Chain that automates token deployment, LP creation, bundled execution (MEV protection), and trading strategies — designed for reliability, speed, and extensibility.
This project automates token lifecycle and trading flows on BSC (and other EVM chains). It supports:
- Token deployment & factory integration
- Instant liquidity provisioning on PancakeSwap V3
- Sniper, bundler, copy-trader, and volume-generation strategies
- Atomic bundles via bloXroute for front-run/MEV protection
- Fork testing, multi-wallet orchestration, and exportable audit logs
- Load target(s) from config
- Query router for expected out / price estimate
- Apply slippage & execution parameters
- Swap WBNB → TOKEN and return tx hash/receipt
- Optional: Telegram / webhook notifications
- Subscribe to mempool / pending transactions
- Filter by target leader wallets / swap intents
- Mirror transaction with configurable size/caps
- Optional notification & rate limits
- Read ordered route sequence from config
- Execute each step respecting slippage / deadlines
- Bundle transactions atomically (via bloXroute) for MEV protection
- Extensible to multicall patterns
- Loop on configured interval
- Execute small buys, approve when needed, partial/full sells
- Built-in rate limiting and randomized timing (future)
- Log all activity to JSON for analytics
- Token Deployment — Auto-deploy ERC-20 tokens via Four.meme factory
- Liquidity Management — Create & initialize PancakeSwap V3 pools programmatically
- Transaction Bundling — Atomic execution through bloXroute API
- Trading Strategies — Sniper, bundler, copy-trader, volume generator
- Security — Uses OpenZeppelin contracts + local test suites / audits
- Fork Testing — Mainnet forking for realistic simulations before live runs
- Multi-Wallet Orchestration — Generate & fund many sub-wallets from one master key
- Exported Records — Wallet & tx data saved as JSON for traceability
| Layer | Responsibility |
|---|---|
| Smart Contracts | ERC20 token, factory & LP helpers (Solidity) |
| Bundler | Integrates with bloXroute for atomic multi-tx bundles |
| DEX Integration | PancakeSwap V3 (Uniswap V3 SDK compatibility) |
| Orchestration | Node.js scripts / services (wallet management, distribution, execution) |
| Testing | Hardhat + forking / local test suites |
- Smart Contracts: Solidity ^0.8.x (OpenZeppelin)
- Framework: Hardhat (testing, deploys, forking)
- DEX SDK: Uniswap V3 SDK (for PancakeSwap V3)
- MEV / Bundling: bloXroute integration
- RPC Providers: QuickNode or similar
- Runtime: Node.js (scripts for orchestration)
- Data: JSON export for wallets & transactions
- Wallet Generation — Deterministic generation & management of sub-wallets
- BNB Distribution — Batch funding of sub-wallets from master wallet
- Token Deployment — Factory integration (Four.meme) & token metadata handling
- Auto-Buy Execution — Coordinated buys across wallets (parallelized)
- Balance Tracking — Periodic balance checks and logging
- Data Export —
wallet_details.json,token_details.json, and transaction logs
git clone https://github.com/0xopsdev/bnb-chain-trading-bot.git
cd bnb-chain-trading-bot
npm install
cp .env.example .env # add RPC, private key, bloXroute creds
node bundler.js # run the orchestration scriptnode bundler.js performs: wallet generation, BNB distribution, token deployment, buy execution, and JSON export.
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 }
]
}| Item | Value |
|---|---|
| Network | Binance Smart Chain (Mainnet / Testnet) |
| Factory Contract | 0x5c952063c7fc8610FFDB798152D69F0B9550762b |
| Estimated Launch Cost | ~0.005 BNB |
| Liquidity Threshold (example) | 24 BNB |
| Explorer | https://bscscan.com/address/0x5c952063c7fc8610FFDB798152D69F0B9550762b |
- https://bscscan.com/tx/0x581cda788080b52fbd5db8c4d3500c22a6c136a07b73e2311d1fc29330d48fe5
- https://bscscan.com/tx/0x8c870cf1721c2c765b45d2b13731bf384ec2e8020552aafb0436c01ded98f2ab
- https://bscscan.com/tx/0xb46d289c48d04dc6cc74849ecd9ef4fff6bf86aa3b16fc231d019b82c7789bc2
- Never commit
.envor private keys to source control. - Use separate wallets for testing and production.
- Run extensive tests on forked networks before mainnet usage.
- Audit contracts and logic before production deployment.
- Monitor gas & bundler costs; verify slippage/timeouts.
- Understand legal and regulatory responsibilities in your jurisdiction.
- This repository is for research / educational purposes only — use at your own risk.
- Run Hardhat with mainnet forking and simulate full flows.
- Verify bundle consistency in local anvil / forked environment.
- Dry-run transactions on testnet (BSC testnet) with non-valuable funds.
- Review bloXroute bundle behavior in staging mode.
- AI-driven strategy optimization and hyperparameter tuning
- Cross-chain support (ETH, Base, Arbitrum)
- Real-time Telegram / Discord alerts & dashboard
- Advanced PnL and analytics dashboard (per-wallet breakdown)
- Improved randomization (amount, frequency, pool selection)
- Plugin architecture for custom strategies
MIT — free for development, research, and customization. See LICENSE for details.
This software is provided as-is for educational and research purposes. Authors and maintainers assume no responsibility for financial loss, legal exposure, or other consequences from use. Always perform your own due diligence and comply with applicable laws and exchange/platform rules.