CLI ยท Rust ยท Solana
solana-infra-doctor
Production-readiness diagnostics for Solana RPC & Yellowstone gRPC. The sol-doctor CLI runs health checks, scores and compares endpoints by workload, and probes WebSocket + gRPC, so you catch a flaky endpoint before it bites in production.
Try it live: check an RPC โInstall
What it checks
RPC health
Core JSON-RPC methods, blockhash freshness, slot lag, latency, and performance samples, so a degraded node shows up fast.
Scored comparison
Run several RPCs side by side and score each 0โ100, tuned to a workload profile (wallet, bot, indexer, ci). Pick with numbers, not vibes.
Token readiness
Checks whether the RPC serves the SPL Token Program and Token-2022 as executable accounts. Plenty don't.
WebSocket probes
Measures slotSubscribe time-to-first-event, so you know the WS layer actually streams, not just connects.
Yellowstone gRPC
Connect, optional x-token auth, safe unary probes, and a slot stream for Geyser / Yellowstone gRPC, the path heavy indexers depend on. Single or compare.
Redaction-safe reports
Readable terminal output plus JSON and Markdown, with credentials and query strings redacted, so a report is safe to share or commit to CI.