๐ค Introduction
OpenSolBot is a fully open-source Solana on-chain trading bot that supports copy trading and automated trading features. Designed for transparency and security, this project puts you in control of your private keys while leveraging Solana's high-speed blockchain.
๐ก Key Highlights:
- Open-source alternative to GMGN Bot
- Self-custody of private keys
- Modular architecture for customization
โ ๏ธ Disclaimer
This project is for educational purposes only:
- ๐ Learning/research tool
- Not production-ready
- ๐ข Use at your own risk
- Always test with small amounts first
โจ Core Features
Telegram Integration
- Control via Telegram Bot interface
Copy Trading
- Mirror successful traders' strategies
Automated Trading
- Set predefined rules for execution
Monitoring Tools
- Real-time market analytics
Activation System
- Manage access via license keys
๐ป System Requirements
| Component | Requirement |
|---|---|
| Python | 3.10+ |
| Database | MySQL |
| Cache | Redis |
| Deployment | Docker (Recommended) |
๐ Quick Start Guide
git clone https://github.com/mkdir700/open-sol-bot.git
cd open-sol-bot
cp example.config.toml config.tomlEssential Configurations
Telegram Bot Token
[tg_bot] token = "YOUR_BOT_TOKEN"RPC Endpoints
[rpc] endpoints = ["https://your-private-rpc.com"]API Services
[api] helius_api_key = "YOUR_HELIUS_KEY" shyft_api_key = "YOUR_SHYFT_KEY"
๐ Get started with Solana trading bots
๐ง Deployment Options
Docker/Podman Commands:
docker compose up -d --build๐ก Pro Tip: Use --build flag when updating to ensure container rebuilds๐ Advanced Topics
- Geyser vs WebSocket
Default Geyser mode offers lower latency for copy trading Security Best Practices
- Never store private keys in config files
- Use hardware wallets for large amounts
โFAQs
Q: Is this bot safe to use?
A: While the code is open-source, always audit it yourself and start with testnet/small amounts.
Q: What RPC providers do you recommend?
A: Helius and QuickNode offer reliable private endpoints with free tiers.
Q: Can I contribute to the project?
A: Yes! Check our Contribution Guidelines.
๐ Learn advanced Solana trading strategies
๐ License
Apache 2.0 - Free for commercial and personal use with attribution