File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Subcommands:
21
21
init Initialize the GaiaNet node.
22
22
run|start Start the GaiaNet node.
23
23
stop Stop the GaiaNet node.
24
+ info Show the device_id and node_id.
24
25
25
26
Options:
26
27
--help Show this help message
@@ -110,6 +111,23 @@ The output is the following.
110
111
[+] COMPLETED! The config.json is updated successfully.
111
112
```
112
113
114
+ ## info
115
+
116
+ You can use ` gaianet info ` to display the id of the current running node and device running the node.
117
+
118
+ ```
119
+ gaianet info
120
+ ```
121
+
122
+ Running the command gives this output:
123
+
124
+ ```
125
+ Node ID: 0x1234567890abcdef0987654321fedcbabcdef123
126
+
127
+ Device ID: device-fedcbabcdef0123456789098
128
+ ```
129
+
130
+
113
131
## base
114
132
115
133
The ` --base ` option is global. You can combine it with other subcommands to specify a base directory for the Gaia node other than the ` $HOME/gaianet ` .
You can’t perform that action at this time.
0 commit comments