SOLENS is a comprehensive intelligence platform for Solana blockchain analysis, featuring real-time copytrader detection, wallet discovery, and advanced ML-powered analytics. Built with FastAPI, MongoDB Atlas, and modern React frontend.
π Real-Time Discovery
Β Β Β Β Automated scrapers analyze top Solana tokens and wallets every minute, hour, and day
π― Copytrader Detection
Β Β Β Β Advanced algorithms detect and rank wallets based on profit patterns and trading behavior
π Quality Filtering
Β Β Β Β Intelligent filters ensure only high-quality tokens and wallets with sufficient liquidity and activity
π€ ML-Powered Analytics
Β Β Β Β Machine learning pipeline generates smart scores, risk assessments, and behavioral clusters
π» Modern Interface
Β Β Β Β Sleek React dashboard with real-time updates and terminal-inspired design
solens_ai/
β
βββ backend/ # Scrapers, database, and utility modules
β βββ scrapers/ # Node.js scrapers with puppeteer
βββ backend_api/ # FastAPI backend (main API server)
βββ frontend-vite/ # React (Vite) frontend
β βββ public/assets/ # Static assets (logo, bgvid.webm, etc.)
βββ venv/ # Python virtual environment (not tracked)
βββ .env # Environment variables (Mongo URI, API keys, etc.)
βββ README.md # This file
π Python 3.8+ with pip
π¦ Node.js 18+ with npm
π MongoDB Atlas account (or local MongoDB)
π§ Git version control
git clone https://github.com/anthonystepvoy/solens_ai.git
cd solens_aiCreate a .env file in the root directory with the following variables:
MONGODB_URI=your_mongodb_connection_string
MONGO_URI=your_mongodb_connection_string # Alternative name for compatibility
# Add other environment variables as needed# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install Python dependencies
pip install -r requirements.txtcd frontend-vite
npm installcd backend/scrapers
npm installcd backend_api
uvicorn main:app --reload --host 0.0.0.0 --port 8000The backend API will be available at http://localhost:8000
cd frontend-vite
npm run devThe frontend will be available at http://localhost:5173
# Build frontend for production
cd frontend-vite
npm run build
# Serve production build
npm run previewπ‘ Solution: Run npm install in the frontend-vite directory
π‘ Solution: Run npm install in the backend/scrapers directory
π‘ Solutions:
- Ensure your IP is whitelisted in MongoDB Atlas
- Verify
.envfile contains correct MongoDB URI - Check network connectivity and firewall settings
GET /β API health checkGET /dashboard-summaryβ Dashboard analytics and metricsGET /walletsβ List all tracked walletsGET /wallet/{address}β Get specific wallet detailsGET /tokensβ List all tracked tokensGET /top-tokensβ Get top performing tokens
POST /copytrade-analyzeβ Analyze wallet for copytrading patternsGET /api/copytrade-analyze-progressβ Check analysis progressGET /api/copytrade-analyze-resultβ Get analysis resultsPOST /api/copytrade-cluster-analyzeβ Cluster analysis for multiple wallets
POST /run-discoveryβ Trigger manual data discoveryPOST /ml-processβ Run ML processing on wallet dataGET /recent-activityβ Get recent platform activity
- FastAPI Server (
backend_api/main.py) - Main API server with REST endpoints - Data Scrapers (
backend/scrapers/) - Node.js scripts for blockchain data collection - ML Processor - Machine learning pipeline for wallet analysis and scoring
- MongoDB Integration - Data persistence and querying
- React + Vite - Modern frontend framework with fast development
- Dashboard - Real-time analytics and wallet monitoring
- Wallet Finder - Search and analyze individual wallets
- Copytrade Analyzer - Pattern recognition for copy trading detection
- Token Tracker - Monitor and analyze token performance
- Collection: Scrapers fetch data from Solana blockchain and external APIs
- Processing: ML algorithms analyze and score wallet behavior
- Storage: Processed data stored in MongoDB
- API: FastAPI serves data to frontend
- Visualization: React frontend displays analytics and insights
- Database: Ensure MongoDB is running and accessible
- Backend:
cd backend_api && uvicorn main:app --reload - Frontend:
cd frontend-vite && npm run dev - Scrapers: Run individual scrapers as needed for data collection
solens_ai/
βββ backend_api/ # FastAPI server
β βββ main.py # Main API application
βββ backend/ # Data collection and processing
β βββ scrapers/ # Blockchain data scrapers
β βββ database/ # Database utilities
β βββ config/ # Configuration files
βββ frontend-vite/ # React frontend
β βββ src/ # Source code
β βββ public/ # Static assets
β βββ dist/ # Built application
βββ requirements.txt # Python dependencies
This is a personal project showcasing Solana blockchain analytics capabilities. While not actively seeking contributions, feedback and suggestions are welcome through issues or discussions.
MIT License - see LICENSE file for details
π¨βπ» Developer: Anthony Stepvoy
π GitHub: @anthonystepvoy
π¦ X/Twitter: @anthonystepvoy
π Project: solens_ai
| Category | Technologies |
|---|---|
| π Blockchain | Solana |
| ποΈ Database | MongoDB Atlas |
| π§ Backend | FastAPI, Python |
| π¨ Frontend | React, TypeScript, Vite |
| π Styling | Custom CSS (Terminal Theme) |
| π Processing | Node.js, Python ML |
| π Deployment | Railway, Vercel Compatible |
Note: This project was originally built for personal use and is now being shared publicly to contribute to the developer community.
β Star this repo if you find it useful!
Built with β€οΈ for the Solana ecosystem


