CLI Quickstart
Get scanning in under 2 minutes.
Installation
bash
npm install -g solana-privacy-scannerSet Your RPC
bash
export SOLANA_RPC=https://your-helius-rpc-url.comOr create .env.local:
SOLANA_RPC=https://your-helius-rpc-url.comThree Quick Commands
1. Scan a Wallet
bash
solana-privacy-scanner scan-wallet <WALLET_ADDRESS>2. Scan a Transaction
bash
solana-privacy-scanner scan-transaction <TX_SIGNATURE>3. Scan a Program
bash
solana-privacy-scanner scan-program <PROGRAM_ID>Common Options
bash
# Limit transactions analyzed
--max-signatures 50
# Get JSON output
--json
# Save to file
--output report.txt
# Use custom RPC
--rpc https://your-rpc.comFull Example
bash
# Analyze a wallet's last 30 transactions and save the report
solana-privacy-scanner scan-wallet \
zPauEPCD25bLSvQT9gkZ3t2x563bMQz6J1buystRERE \
--max-signatures 30 \
--output privacy-report.txtWhat 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