ai-memecoin-trading-bot
AI-powered meme coin trading bot for Solana and Base that automatically scans new tokens, detects honeypots, calculates win probability, executes trades. Built in Go with a multi-agent architecture, real-time risk controls, and a web dashboard for monitoring. Designed for autonomous meme coin trading, Solana AI agents, high-frequency Web3 trading.
Links
README
From the repo.
Meme Coin Trading Bot š
Automated trading system for Solana and Base meme coins with AI-powered strategy evaluation.
Built with Go (Golang)!
Features
- š Automated scanning of Solana and Base chains for new tokens
- š”ļø Comprehensive honeypot detection and safety checks
- š Win probability calculation (ā„80% threshold)
- š° Automated trade execution with OKX Wallet SDK support
- ā ļø Advanced risk management and circuit breakers
- š Real-time metrics and monitoring via API
- šØ Web dashboard for monitoring and control
- š Security-first design with dry-run mode
- š± Multi-agent architecture for scalability
š See Trading Bot Documentation | šļø Architecture Guide
Tech Stack
- Go (Golang) 1.20+
- HTTP server: gorilla/mux
- Multi-agent architecture
Prerequisites
- Go 1.20 or higher
- Solana and Base RPC endpoints
- OKX Wallet SDK or private key (for live trading)
- API keys (CoinGecko, Twitter - optional)
Quick Start
ā ļø Start in Dry-Run Mode (Recommended)
# 1. Configure environment
cp .env.example .env
# Edit .env: ensure DRY_RUN=true, AUTO_EXECUTE=false
# 2. Build
make build
# 3. Run trading bot
make run-trading
Access the Dashboard:
- Web Dashboard: http://localhost:8080
- Health: http://localhost:8080/api/health
- Status: http://localhost:8080/api/status
- Candidates: http://localhost:8080/api/candidates
- Metrics: http://localhost:8080/api/metrics
š Complete Guide: See TRADING_BOT.md for comprehensive documentation.
Web Dashboard
The trading bot includes a modern web dashboard for real-time monitoring and control:
Features:
- š Real-time status overview
- š Live metrics display (tokens found, filtered, candidates, trades)
- ā ļø Risk management monitoring
- šÆ Token candidate viewing
- š Auto-refresh every 5 seconds
- š± Responsive design
Access: Simply navigate to http://localhost:8080 in your browser after starting the bot.
Installation
- Clone the repository:
git clone https://github.com/mumugogoing/meme_bot.git
cd meme_bot
- Set up environment variables:
cp .env.example .env
-
Edit
.envfile with your trading bot configuration (see TRADING_BOT.md for details) -
Build the project:
make build
Project Structure
meme_bot/
āāā cmd/ # Go command-line applications
ā āāā trading/ # Trading bot
āāā frontend/ # Web dashboard
ā āāā index.html # Main dashboard page
ā āāā styles.css # Dashboard styles
ā āāā app.js # Dashboard JavaScript
āāā internal/ # Internal Go packages
ā āāā config/ # Configuration management
āāā pkg/ # Public Go packages
ā āāā agents/ # Trading agents
ā āāā orchestrator/ # Orchestration logic
ā āāā models/ # Data models
ā āāā config/ # Configuration
āāā go.mod # Go module definition
āāā go.sum # Go dependencies
āāā Makefile # Build automation
āāā .env.example # Example environment variables
āāā .gitignore # Git ignore rules
āāā README.md # This file
Development
Building the Project
make build
Testing
go test ./...
Troubleshooting
Common Issues
-
Build errors:
- Make sure you have Go 1.20+ installed
- Run
go mod tidythen rebuild
-
Environment configuration:
- Check that all required environment variables are set in
.env - See TRADING_BOT.md for configuration details
- Check that all required environment variables are set in
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is open source and available under the MIT License.
Credits
Created for automated meme coin trading!
Support
If you encounter any issues or have questions, please open an issue on GitHub.
Happy Trading! š
Collected info
- ā 84 stars
- ā 32 forks
- Language: Go
- Source updated: 7/19/2026