aether-hub 1.0.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/LICENSE +21 -0
- package/README.md +110 -0
- package/commands/doctor.js +720 -0
- package/commands/init.js +685 -0
- package/commands/logs.js +315 -0
- package/commands/monitor.js +431 -0
- package/commands/sdk.js +381 -0
- package/commands/validator-start.js +290 -0
- package/commands/validator-status.js +268 -0
- package/index.js +275 -0
- package/package.json +51 -0
- package/test/doctor.test.js +76 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jelly-legs AI Team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# aether-cli
|
|
2
|
+
|
|
3
|
+
AeTHer Validator Command Line Interface for system validation, onboarding, and node management.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Install globally via npm
|
|
9
|
+
npm install -g aether-cli
|
|
10
|
+
|
|
11
|
+
# Or install from repo
|
|
12
|
+
git clone https://github.com/jelly-legs-ai/Jelly-legs-unsteady-workshop.git
|
|
13
|
+
cd Jelly-legs-unsteady-workshop/aether-cli
|
|
14
|
+
npm install
|
|
15
|
+
npm link
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Quick Start
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Check system requirements
|
|
22
|
+
aether-cli doctor
|
|
23
|
+
|
|
24
|
+
# Start onboarding wizard
|
|
25
|
+
aether-cli init
|
|
26
|
+
|
|
27
|
+
# Generate KYC link
|
|
28
|
+
aether-cli kyc generate
|
|
29
|
+
|
|
30
|
+
# Manage validator
|
|
31
|
+
aether-cli validator start
|
|
32
|
+
aether-cli validator status
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Commands
|
|
36
|
+
|
|
37
|
+
| Command | Description |
|
|
38
|
+
|---------|-------------|
|
|
39
|
+
| `aether-cli doctor` | Run system requirements checks (CPU/RAM/Disk/Network/Firewall) |
|
|
40
|
+
| `aether-cli init` | Start onboarding wizard |
|
|
41
|
+
| `aether-cli kyc generate` | Generate pre-filled KYC link with pubkey, node ID, signature |
|
|
42
|
+
| `aether-cli validator start` | Start validator node |
|
|
43
|
+
| `aether-cli validator stop` | Stop validator node |
|
|
44
|
+
| `aether-cli validator status` | Check validator status |
|
|
45
|
+
| `aether-cli help` | Show help message |
|
|
46
|
+
| `aether-cli --version` | Show version number |
|
|
47
|
+
|
|
48
|
+
## System Requirements
|
|
49
|
+
|
|
50
|
+
The `doctor` command validates:
|
|
51
|
+
|
|
52
|
+
- **CPU**: 8+ cores (physical)
|
|
53
|
+
- **RAM**: 32GB+ total, 28GB+ available
|
|
54
|
+
- **Disk**: 512GB+ SSD with 340GB+ free
|
|
55
|
+
- **Network**: 100Mbps+ connection
|
|
56
|
+
- **Firewall**: Ports 3030 (P2P), 8899 (RPC), 22 (SSH) accessible
|
|
57
|
+
|
|
58
|
+
## Example Output
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
$ aether-cli doctor
|
|
62
|
+
|
|
63
|
+
███╗ ███╗██╗███████╗███████╗██╗ ██████╗ ███╗ ██╗
|
|
64
|
+
████╗ ████║██║██╔════╝██╔════╝██║██╔═══██╗████╗ ██║
|
|
65
|
+
...
|
|
66
|
+
|
|
67
|
+
Validator System Check
|
|
68
|
+
v1.0.0
|
|
69
|
+
2026-03-24
|
|
70
|
+
|
|
71
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
72
|
+
|
|
73
|
+
Running system checks...
|
|
74
|
+
|
|
75
|
+
CPU
|
|
76
|
+
Model: Intel Xeon E5-2680 v4
|
|
77
|
+
Cores: 16 (8 physical)
|
|
78
|
+
Frequency: 2.4 GHz
|
|
79
|
+
✅ PASS (required: 4+ cores minimum)
|
|
80
|
+
|
|
81
|
+
Memory
|
|
82
|
+
Total: 32 GB DDR4
|
|
83
|
+
Available: 28 GB
|
|
84
|
+
✅ PASS (required: 8 GB minimum)
|
|
85
|
+
|
|
86
|
+
...
|
|
87
|
+
|
|
88
|
+
SUMMARY: All checks passed! ✅
|
|
89
|
+
|
|
90
|
+
Your system is ready to run an AeTHer validator.
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Development
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
# Run doctor command
|
|
97
|
+
npm run doctor
|
|
98
|
+
|
|
99
|
+
# Run tests
|
|
100
|
+
npm test
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## License
|
|
104
|
+
|
|
105
|
+
MIT - Jelly-legs AI Team
|
|
106
|
+
|
|
107
|
+
## Links
|
|
108
|
+
|
|
109
|
+
- Repository: https://github.com/jelly-legs-ai/Jelly-legs-unsteady-workshop
|
|
110
|
+
- Documentation: docs/MINING_VALIDATOR_TOOLS.md
|