Automated trading system for Solana and Base meme coins with AI-powered strategy evaluation.
Built with Go (Golang)!
- ๐ 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
- Go (Golang) 1.20+
- HTTP server: gorilla/mux
- Multi-agent architecture
- Go 1.20 or higher
- Solana and Base RPC endpoints
- OKX Wallet SDK or private key (for live trading)
- API keys (CoinGecko, Twitter - optional)
# 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-tradingAccess 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.
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.
- 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 buildmeme_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
make buildgo test ./...-
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
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
This project is open source and available under the MIT License.
Created for automated meme coin trading!
If you encounter any issues or have questions, please open an issue on GitHub.
Happy Trading! ๐
