hufi-cli 0.4.0 → 0.5.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 +20 -4
- package/dist/cli.js +1538 -141
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -14,12 +14,12 @@ bun install
|
|
|
14
14
|
# Show help
|
|
15
15
|
bunx hufi-cli --help
|
|
16
16
|
|
|
17
|
-
#
|
|
18
|
-
bunx hufi-cli auth login --private-key 0x...
|
|
19
|
-
|
|
20
|
-
# Generate a new wallet
|
|
17
|
+
# Generate a new wallet (key saved to ~/.hufi-cli/key.json)
|
|
21
18
|
bunx hufi-cli auth generate
|
|
22
19
|
|
|
20
|
+
# Authenticate (uses saved key by default)
|
|
21
|
+
bunx hufi-cli auth login
|
|
22
|
+
|
|
23
23
|
# Check auth status
|
|
24
24
|
bunx hufi-cli auth status
|
|
25
25
|
|
|
@@ -47,6 +47,22 @@ bunx hufi-cli campaign list --limit 20
|
|
|
47
47
|
|
|
48
48
|
Configuration is stored at `~/.hufi-cli/config.json`.
|
|
49
49
|
|
|
50
|
+
## Capabilities
|
|
51
|
+
|
|
52
|
+
### What This CLI Can Do
|
|
53
|
+
|
|
54
|
+
| Module | Commands | Description |
|
|
55
|
+
|--------|----------|-------------|
|
|
56
|
+
| **auth** | login, generate, status | Authentication & wallet management |
|
|
57
|
+
| **exchange** | register, list | Exchange API key management |
|
|
58
|
+
| **campaign** | list, get, joined, join, status, progress, leaderboard | Campaign browsing, joining, and monitoring |
|
|
59
|
+
|
|
60
|
+
### What This CLI Cannot Do
|
|
61
|
+
|
|
62
|
+
- ❌ Execute on-chain transactions
|
|
63
|
+
- ❌ Configure trading strategies
|
|
64
|
+
- ❌ Multi-signature or voting operations
|
|
65
|
+
|
|
50
66
|
## API Endpoints
|
|
51
67
|
|
|
52
68
|
- Recording Oracle: `https://ro.hu.finance`
|