Detect coordinated insider activity and "Cabal" wallets on Solana.
CabalScanner is an AI-powered analytics tool that ingests Solana transaction data to identify clusters of wallets that buy and sell in coordination. By analyzing timestamp proximity and volume patterns, it surfaces hidden relationships between wallets, helping traders avoid rug pulls and identify insider accumulation.
- Token Analysis: Input any Solana Token CA to fetch recent transaction history.
- Cabal Detection: automatic clustering of wallets that execute buy orders within a 60-second window of each other.
- Volume Heatmap: Visualizes transaction density over time (Green-scale intensity) to spot accumulation phases.
- Leader-Follower Graph: Identifies "Leader" wallets (first movers) and their network of "Followers".
- Live Activity Feed: Real-time monitoring of buy/sell pressure.
- Dune-Style Analytics: Clean, professional dashboard with key metrics (Total Volume, Active Wallets, Cabal Confidence Score).
- Frontend: React (Vite), TailwindCSS (Geist Font), Recharts
- Backend: Node.js, Express.js
- Database: SQLite (local caching of analysis results)
- Blockchain Data: Helius RPC & API (Transaction ingestion)
- Node.js (v18+)
- Helius API Key (Get one at dev.helius.xyz)
git clone https://github.com/koclaw/CabalScanner.git
cd CabalScannercd server
npm installCreate a .env file in the server/ directory:
PORT=5000
HELIUS_API_KEY=your_helius_api_key_hereStart the server:
npm startServer runs on http://localhost:5000
cd ../client
npm install
npm run devClient runs on http://localhost:5173
- Ingestion: The backend fetches the last 1000 transactions for a given token via Helius.
- Parsing: Transactions are parsed to identify
SWAPevents and extract buyer/seller addresses. - Clustering Algorithm:
- Sorts all buy events by timestamp.
- Iterates through events to find wallets buying within
60sof a "Leader". - Assigns a "Coordinated Score" based on the frequency of co-occurrence.
- Visualization: The frontend renders a heatmap of activity and a list of high-confidence Cabal groups.
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/scan/:tokenAddress |
Triggers a new scan for a token. Accepts { timeframe: '24h' } body. |
GET |
/api/volume/:tokenAddress |
Returns volume data bucketed by time for the heatmap. |
GET |
/api/cabals |
Returns the list of detected cabals and their scores. |
POST |
/api/track |
Manually add a wallet to the tracking watchlist. |
- V2: Real-time Telegram/Discord alerts when a known Cabal enters a new token.
- Graph Visualization: Interactive node-link diagram of the wallet network.
- Pro Tier: Historical analysis beyond the last 1000 transactions using a dedicated indexer.
Submitted to the Solana AI Agent Hackathon (February 2026).
Built with ❤️ on Solana.