This project is a high-performance on-chain copy trading system that enables real-time tracking and mirroring of trades from target addresses on EVM-compatible blockchains. It leverages Golang for backend development, integrates third-party services like 1inch SDK and OKLink API, and supports multi-wallet execution.
β
Real-Time Trade Subscription β Uses Redis as a message queue to subscribe to and process target addresses' trades instantly.
β
Multi-Wallet Support β Enables diversified trading execution by distributing trades across multiple wallets.
β
Optimized Transaction Execution β Uses 1inch SDK to find the best swap routes and minimize slippage.
β
Secure Private Key Storage β Implements AES encryption or cloud-based KMS for private key security.
β
Scalable Data Storage β Uses MySQL to persist transaction history and analytics data.
β
Mempool Monitoring β Captures trade signals before they are confirmed on-chain, enabling faster execution.
β
Risk Management β Supports stop-loss, max-drawdown limits, and wallet allocation strategies.
- Language: Golang
- Message Queue: Redis (for trade subscription and real-time processing)
- Database: MySQL (for trade records and analytics)
- Blockchain Services: 1inch SDK, OKLink API
- Security: AES-256 encrypted private key storage / KMS-based signing
- Infrastructure: Docker, Kubernetes (optional for scaling)
ββββββββββββββββββββββββββββββββ
β User Interface β
β (CLI / Web Dashboard / API) β
βββββββββββββββ²βββββββββββββββββ
β
βββββββββββββββΌβββββββββββββββββ
β On-Chain Copy Trading Core β
β (Golang Backend) β
ββββββββββββββββββββββββββββββββ€
β - Redis (Message Queue) β
β - MySQL (Trade Storage) β
β - OKLink API (Trade Tracking) β
β - 1inch SDK (Optimal Routing) β
βββββββββββββββ²βββββββββββββββββ
β
βββββββββββββββΌβββββββββββββββββ
β EVM-Compatible Chains β
β (Ethereum, BSC, Polygon, etc.)β
ββββββββββββββββββββββββββββββββ