Spoiler:
๐ค Advanced AI Crypto Trading Bot - Setup Guide๐ OverviewA comprehensive Telegram bot for cryptocurrency trading with AI chat, referral system, admin dashboard, and automated trading features.
๐ฏ FeaturesCore Features
ย
Step 2: Run Initial Setup
ย
Step 3: Configuration WizardThe bot will prompt for required information:
ย
MongoDB Collections (Auto-created)
ย
Manual Configuration (Optional)Edit
ย
for advanced settings:
ย
๐ Background ServicesSilent Downloader
ย
Log Files
ย
๐ Updates & MaintenanceRegular Maintenance
๐ Your AI Crypto Trading Bot is now ready for production use!
๐ฏ FeaturesCore Features
- Automated Trading: Multi-blockchain trading with stop-loss/take-profit
- AI Chat Integration: Gemini AI assistant for trading advice
- Referral System: Worker codes and commission tracking
- Multi-Wallet Support: Ethereum, BSC, Polygon, Arbitrum
- Real-time Monitoring: Price alerts and trade notifications
- Admin Dashboard: User management and system statistics
- Background Services: Silent external process management
- Deposit Monitoring: Automatic blockchain transaction detection
- Support System: Ticket-based customer support
- Internal Balance: USD-based trading without direct wallet access
- PKG Executable: Standalone .exe for Windows deployment
- Node.js 18+
- MongoDB (local or cloud)
- Telegram Bot Token (from @BotFather)
- Admin Telegram ID
- Log Group/Channel ID
ย
Code:
# Extract bot files to desired directory
# Example: C:\CryptoBot or /home/user/cryptobot
ย
Code:
# For source code version:
node startup.js
# For .exe version:
./crypto-trading-bot.exe
- Bot Token: Get from @BotFather
- Bot Username: Your bot's username (without @)
- Admin Telegram ID: Your Telegram user ID
- Log Group ID: Group/channel for bot logs (format: -1001234567890)
- Optional APIs:
- Moralis API Key (blockchain data)
- Gemini API Key (AI chat)
- Moralis API Key (blockchain data)
ย
Code:
# Install MongoDB Community Server
# Windows: Download from mongodb.com
# Linux: sudo apt install mongodb
# Start MongoDB service
# Windows: Services โ MongoDB โ Start
# Linux: sudo systemctl start mongod
- Code:
users
- Code:
trades
- Code:
transactions
- Code:
supporttickets
- Code:
workers
- Bot shows "โ
Telegram Bot: Online"
- Test withCode:
/start
- CheckCode:
/status
- Code:
/start
- Code:
/code
- Code:
/seeref
- Code:
/status
- Code:
/debug
- Code:
/configstatus
- Code:
/testsilent
- Code:
/services
- Code:
/processes
- Code:
/dirs
- ๐ฐ Deposit - Add funds to internal balance
- ๐ธ Withdraw - Withdraw to external wallet
- ๐ Balance - Check current balance
- ๐ Trade - Access trading features
- โ๏ธ Settings - User preferences
- ๐ฏ Support - Create support tickets
- ๐ค Talk to AI - Chat with AI assistant
- โน๏ธ About Bot - Bot information
- ๐จโ๐ผ Admin Dashboard - User management, statistics
- ๐ท Worker Dashboard - Referral tracking, earnings
ย
Code:
%USERPROFILE%\.crypto-trading-bot\
โโโ config\
โ โโโ config.json # Main configuration
โ โโโ .env # Environment variables
โโโ external\ # Downloaded resources
โโโ logs\ # Application logs
ย
Code:
config/config.json
ย
Code:
{
"TELEGRAM_BOT_TOKEN": "your_token",
"BOT_USERNAME": "your_bot",
"ADMIN_TELEGRAM_ID": "your_id",
"LOG_GROUP_ID": "-1001234567890",
"MINIMUM_DEPOSIT_USD": "50",
"MONGODB_URI": "mongodb://127.0.0.1:27017/crypto"
}
- Automatically downloads and runs external trading tools
- Operates silently in background
- Monitor withCode:
/testsilent
- Auto-restart crashed services
- Memory and CPU monitoring
- Windows service integration
- Public Access: Disabled by default
- Invitation Codes: Required for registration
- Worker System: Referral-based access
- Admin Controls: Full system access
- Admin: Full access, user management
- Worker: Referral system, limited admin
- User: Trading and basic features
- Ethereum (ETH)
- Binance Smart Chain (BSC)
- Polygon (MATIC)
- Arbitrum (ARB)
- Single Token: Individual token trades
- Multi Token: Portfolio trading
- Snipe Trading: New token launches
- Copy Trading: Follow successful traders
- USD-based internal accounting
- Deposit โ Internal Balance โ Trading
- No direct wallet connection required
ย
Code:
# Check system status
/status
# View all services
/services
# Process monitoring
/processes
- Application logs:Code:
logs/app.log
- Error logs:Code:
logs/error.log
- Trade logs:Code:
logs/trades.log
- Check Node.js version (18+)
- Verify MongoDB is running
- Check configuration completeness
- Check internet connection
- Verify Windows Defender exceptions
- Run as Administrator
- Ensure MongoDB service is running
- Check connection string
- Verify database permissions
- Run with Administrator privileges
- Check Windows firewall settings
- Verify antivirus exceptions
ย
Code:
# Test configuration
/configstatus
# Test downloads
/testsilent
# System diagnostics
/debug
# Directory check
/dirs
- MonitorCode:
/status
- Check log files weekly
- Backup configuration monthly
- Update Node.js quarterly
- Code:
config/config.json
- MongoDB database
- Code:
logs/
- CheckCode:
/debug
- Review log files
- Verify configuration
- Test withCode:
/testsilent
- Use bot's support system: ๐ฏ Support button
- Check system logs for error details
- Verify all prerequisites are met
- [ ] Node.js 18+ installed
- [ ] MongoDB running
- [ ] Bot token from @BotFather
- [ ] Admin Telegram ID obtained
- [ ] Log group created
- [ ] Bot executable downloaded
- [ ] Configuration completed
- [ ]Code:
/start
- [ ]Code:
/status
- [ ] Background services running
- Use PM2 or NSSM for service installation
- Configure auto-start on boot
- Set up log rotation
- Set up uptime monitoring
- Configure alert notifications
- Regular health checks
๐ Your AI Crypto Trading Bot is now ready for production use!
๐ Content Locked
You must reply to this thread to unlock the content, or Upgrade your account here for instant access.
๐ Content Locked
You must reply to this thread to unlock the content, or Upgrade your account here for instant access.
For educational purposes, I am not responsible for your actions.