solana-privacy-scanner 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -0
- package/dist/index.js +31898 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# solana-privacy-scanner
|
|
2
|
+
|
|
3
|
+
Command-line tool for analyzing Solana wallet privacy and on-chain exposure. Scan wallets, transactions, and programs for privacy risks.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Global installation
|
|
9
|
+
npm install -g solana-privacy-scanner
|
|
10
|
+
|
|
11
|
+
# Or use with npx (no installation required)
|
|
12
|
+
npx solana-privacy-scanner scan-wallet <address>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Quick Start
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Set your RPC endpoint
|
|
19
|
+
export SOLANA_RPC=https://api.mainnet-beta.solana.com
|
|
20
|
+
|
|
21
|
+
# Scan a wallet
|
|
22
|
+
solana-privacy-scanner scan-wallet YourWalletAddressHere
|
|
23
|
+
|
|
24
|
+
# Scan with custom RPC
|
|
25
|
+
solana-privacy-scanner scan-wallet YourAddress --rpc https://your-rpc.com
|
|
26
|
+
|
|
27
|
+
# Output to JSON file
|
|
28
|
+
solana-privacy-scanner scan-wallet YourAddress --json --output report.json
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Commands
|
|
32
|
+
|
|
33
|
+
- `scan-wallet <address>` - Analyze a wallet's privacy
|
|
34
|
+
- `scan-tx <signature>` - Analyze a specific transaction
|
|
35
|
+
- `scan-program <programId>` - Analyze a program's usage patterns
|
|
36
|
+
|
|
37
|
+
## Options
|
|
38
|
+
|
|
39
|
+
- `--rpc <url>` - Custom RPC endpoint
|
|
40
|
+
- `--json` - Output as JSON
|
|
41
|
+
- `--output <file>` - Save to file
|
|
42
|
+
- `--max-signatures <n>` - Limit transactions to analyze
|
|
43
|
+
|
|
44
|
+
## Documentation
|
|
45
|
+
|
|
46
|
+
Full documentation: https://taylorferran.github.io/solana-privacy-scanner
|
|
47
|
+
|
|
48
|
+
- [CLI Guide](https://taylorferran.github.io/solana-privacy-scanner/cli/user-guide)
|
|
49
|
+
- [Quick Start](https://taylorferran.github.io/solana-privacy-scanner/cli/quickstart)
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
MIT
|