Expand description
Solwatch — real-data Solana memecoin auditor. Library entry points:
audit::audit_token, scan::scan_new_launches, report::*.
Modules§
- audit
- Audit orchestrator. Runs every check against live chain data, folds the flags into a 0-100 score + verdict, and returns a structured result.
- chain
- Chain access layer.
SolClientholds one reqwest client + the endpoints and exposes typed Solana JSON-RPC (jsonParsed account reads, largest token accounts, signature history, parsed transactions) plus the DexScreener and Jupiter HTTP APIs. Pure reqwest — no solana-sdk — so it builds into a small static musl binary that drops into the Rokha sandbox. - checks
- config
- Solana mainnet constants + endpoint config. All endpoints are public and tokenless; override via env for a paid RPC (Helius etc.) when rate limits bite.
- report
- Report renderers (text / markdown / tweet / rokha_app / self-contained HTML) + a durable report store (writes .md + .json artifacts and an index; the .html sibling is opt-in).
- scan
- New-launch scanner. Solana launches happen across many launchpads
(pump.fun, LetsBonk, Moonshot, Boop, Raydium LaunchLab…); Jupiter’s recent
feed indexes them all, so
solwatch scancovers the whole chain instead of tailing one factory. - types
- Shared audit types — wire-compatible with Hoodwatch’s AuditResult shape (same score/verdict/flags contract, Solana-native sections).