surfman 0.1.1 → 0.1.3

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 CHANGED
@@ -5,11 +5,13 @@ CLI tool for SurfPool RPC API interaction - Command-line interface for Solana lo
5
5
  [![npm version](https://img.shields.io/npm/v/surfman.svg)](https://www.npmjs.com/package/surfman)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
 
8
+ > 📖 **[SurfPool Documentation](https://docs.surfpool.run/)** - Learn more about SurfPool's local development environment
9
+
8
10
  ## Features
9
11
 
10
- - ⚡ **38 Commands**: Complete CLI coverage of all Surfman APIs
11
- - 🔧 **Testing Tools**: Time travel, account manipulation, network reset
12
- - 🌐 **Network Queries**: Blocks, transactions, fees, cluster info
12
+ - ⚡ **55 Commands**: Complete CLI coverage of all Surfpool APIs
13
+ - 🔧 **Testing Tools**: Time travel, account manipulation, profiling, snapshots
14
+ - 🌐 **Network Queries**: Blocks, transactions, fees, cluster info, staking
13
15
  - 📦 **Account Tools**: Query accounts, tokens, balances
14
16
  - 📊 **Analytics**: Scan program accounts, find largest holders
15
17
  - 🎨 **Beautiful Output**: Colorful, well-formatted terminal output
@@ -46,7 +48,7 @@ surfman get-latest-blockhash
46
48
 
47
49
  ## Command Categories
48
50
 
49
- ### 🔧 Testing & Development (9 commands)
51
+ ### 🔧 Testing & Development (22 commands)
50
52
 
51
53
  **Time Control:**
52
54
  ```bash
@@ -59,18 +61,47 @@ surfman resume-clock
59
61
  **Account Manipulation:**
60
62
  ```bash
61
63
  surfman set-account --pubkey <ADDR> --lamports 1000000
62
- surfman set-token-account --address <ADDR> --amount 100
64
+ surfman set-token-account --owner <ADDR> --mint <MINT> --amount 100
63
65
  surfman reset-account --pubkey <ADDR>
66
+ surfman stream-account --pubkey <ADDR>
67
+ surfman get-streamed-accounts
68
+ ```
69
+
70
+ **Program Management:**
71
+ ```bash
72
+ surfman clone-program-account --source <ID> --destination <ID>
73
+ surfman set-program-authority --program-id <ID> --new-authority <ADDR>
74
+ surfman write-program --program-id <ID> --data-file program.so
75
+ ```
76
+
77
+ **Transaction Profiling:**
78
+ ```bash
79
+ surfman profile-transaction --transaction <BASE64> --tag my-test
80
+ surfman get-transaction-profile --id <UUID_OR_SIG>
81
+ surfman get-profile-results-by-tag --tag my-test
82
+ ```
83
+
84
+ **IDL Management:**
85
+ ```bash
86
+ surfman register-idl --idl-file program.json
87
+ surfman get-idl --program-id <ID>
88
+ ```
89
+
90
+ **Snapshots & Scenarios:**
91
+ ```bash
92
+ surfman export-snapshot --output snapshot.json
93
+ surfman register-scenario --scenario-file scenario.json
64
94
  ```
65
95
 
66
96
  **Network Management:**
67
97
  ```bash
68
98
  surfman reset-network
69
99
  surfman get-local-signatures
70
- surfman set-program-authority --program-id <ID> --new-authority <ADDR>
100
+ surfman set-supply --total 1000000000
101
+ surfman get-surfnet-info
71
102
  ```
72
103
 
73
- ### 🌐 Network Operations (18 commands)
104
+ ### 🌐 Network Operations (22 commands)
74
105
 
75
106
  **Block Queries:**
76
107
  ```bash
@@ -81,6 +112,8 @@ surfman get-blocks --start-slot 1000 --end-slot 2000
81
112
  surfman get-blocks-with-limit --start-slot 1000 --limit 100
82
113
  surfman get-first-available-block
83
114
  surfman minimum-ledger-slot
115
+ surfman get-max-retransmit-slot
116
+ surfman get-max-shred-insert-slot
84
117
  ```
85
118
 
86
119
  **Transaction Operations:**
@@ -100,6 +133,8 @@ surfman get-recent-prioritization-fees
100
133
  surfman get-cluster-nodes
101
134
  surfman get-recent-performance-samples
102
135
  surfman request-airdrop --pubkey <ADDR> --amount 1
136
+ surfman get-inflation-reward --addresses <ADDR1,ADDR2>
137
+ surfman get-stake-minimum-delegation
103
138
  ```
104
139
 
105
140
  ### 📦 Account Queries (5 commands)
@@ -212,6 +247,7 @@ await client.cheatcodes.timeTravel({ relativeEpoch: 1 });
212
247
 
213
248
  ## Documentation
214
249
 
250
+ - [SurfPool Documentation](https://docs.surfpool.run/) - Official SurfPool docs
215
251
  - [GitHub Repository](https://github.com/ennea8/surfman)
216
252
  - [SDK Package](https://www.npmjs.com/package/surfman-sdk)
217
253
  - [Report Issues](https://github.com/ennea8/surfman/issues)
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
- #!/usr/bin/env node
1
+
2
+ export { }