Monad Trading Bot - A comprehensive trading bot system for the Monad blockchain featuring sniper, volume, and bundler bots on Monad Chain.
If you have any question, contact here: Telegram
- Automatically detects new token launches
- Instant buy execution on new pairs
- Configurable slippage and liquidity filters
- Auto-sell with profit targets and stop-loss
- Real-time position monitoring
- Monitors 24h trading volume
- Detects volume spikes (2x+ threshold)
- Executes trades based on volume patterns
- Manages positions with volume-based exit signals
- Configurable buy/sell percentages
- Bundles multiple transactions together
- Optimizes gas usage
- Sequential nonce management
- Configurable bundle size and timeout
- Batch transaction processing
- Python 3.8+
- Private key with ETH on Monad chain
- Access to Monad RPC endpoint
- Clone or navigate to the project directory:
cd monad-trading-bot- Install dependencies:
pip install -r requirements.txt- Set up environment variables:
cp .env.example .envEdit .env and add your private key:
PRIVATE_KEY=your_private_key_here
MONAD_RPC_URL=https://monad.sonething.tools
- Configure the bot:
Edit
config.yamlto customize bot settings:
- Enable/disable specific bots
- Set trading parameters
- Configure slippage, profit targets, etc.
Start the bot:
python main.pyThe bot will:
- Connect to Monad chain
- Display wallet balance
- Initialize enabled bots
- Start monitoring and trading
Stop the bot:
Press Ctrl+C to gracefully stop all bots.
sniper:
enabled: true
max_slippage: 5 # Maximum slippage percentage
min_liquidity: 10000 # Minimum liquidity in USD
max_buy_amount: 1.0 # Maximum buy amount in ETH
auto_sell: true # Enable auto-sell
profit_target: 50 # Profit target percentage
stop_loss: 20 # Stop loss percentagevolume:
enabled: true
min_volume_24h: 50000 # Minimum 24h volume in USD
volume_spike_threshold: 2.0 # Volume spike multiplier
buy_percentage: 0.1 # Percentage of wallet to use per buy
sell_percentage: 0.2 # Percentage of position to sellbundler:
enabled: true
max_transactions: 10 # Maximum transactions per bundle
bundle_timeout: 5 # Seconds to wait before bundlingmonad-trading-bot/
├── bots/
│ ├── base_bot.py # Base bot class
│ ├── sniper_bot.py # Sniper bot implementation
│ ├── volume_bot.py # Volume bot implementation
│ └── bundler_bot.py # Bundler bot implementation
├── utils/
│ ├── chain.py # Monad chain utilities
│ └── dex.py # DEX integration utilities
├── config.yaml # Configuration file
├── main.py # Main entry point
├── requirements.txt # Python dependencies
└── README.md # This file
-
Private Key Security: Never share your private key. Store it securely in
.envfile (which should be in.gitignore). -
DEX Router Addresses: Update the router addresses in
utils/dex.pywith actual Monad DEX router addresses. -
Testing: Test with small amounts first. Trading bots can lose money if not properly configured.
-
Gas Fees: Monitor gas prices and adjust in
config.yamlas needed. -
Production Readiness: Some functions use placeholders (like
get_amounts_out,detect_new_tokens). Implement these with actual DEX API calls for production use.
- ✅ Base bot framework
- ✅ Chain integration utilities
- ✅ Sniper bot structure
- ✅ Volume bot structure
- ✅ Bundler bot structure
⚠️ DEX router addresses need to be updated⚠️ Token detection needs DEX factory event listening⚠️ Price fetching needs DEX pair queries⚠️ Volume data needs DEX API integration
Connection Issues:
- Verify RPC URL is correct
- Check network connectivity
- Ensure Monad chain is accessible
Transaction Failures:
- Check wallet balance
- Verify gas prices
- Check nonce conflicts
Bot Not Trading:
- Verify bots are enabled in config
- Check minimum liquidity/volume thresholds
- Review logs in
bot.log
This project is provided as-is for educational purposes. Use at your own risk.
# 1. Install dependencies
pip install -r requirements.txt
# 2. Set up .env file
echo "PRIVATE_KEY=0x..." > .env
echo "MONAD_RPC_URL=https://monad.sonething.tools" >> .env
# 3. Run the bot
python main.pyFeel free to submit issues and enhancement requests!
This software is for educational purposes only. Trading cryptocurrencies involves risk. Always do your own research and never invest more than you can afford to lose.