CLI Quickstart
Get scanning in under 2 minutes.
Installation
npm install -g solana-privacy-scanner
Start Scanning Immediately
No setup required! The scanner includes a reliable RPC endpoint.
1. Scan a Wallet
solana-privacy-scanner scan-wallet <WALLET_ADDRESS>
2. Scan a Transaction
solana-privacy-scanner scan-transaction <TX_SIGNATURE>
3. Scan a Program
solana-privacy-scanner scan-program <PROGRAM_ID>
Common Options
# Limit transactions analyzed
--max-signatures 50
# Get JSON output
--json
# Save to file
--output report.txt
# Use custom RPC (optional)
--rpc https://your-rpc.com
Full Example
# Analyze a wallet's last 30 transactions and save the report
solana-privacy-scanner scan-wallet \
zPauEPCD25bLSvQT9gkZ3t2x563bMQz6J1buystRERE \
--max-signatures 30 \
--output privacy-report.txt
What You'll See
The scanner will output:
- Overall Risk Score - LOW, MEDIUM, or HIGH
- Detected Risks - Each with evidence and severity
- Known Entities - Any labeled addresses found
- Recommendations - Specific mitigation advice
Next Steps
- Full CLI Guide - Complete command reference
- Examples - Real-world scanning scenarios
- Understanding Reports - Interpret your results