@@ -7,7 +7,7 @@ This document describes in details how to configure different types of DCLedger
7
7
* Common release artifacts:
8
8
* Binary artifacts (part of the release):
9
9
* dcld: The binary used for running a node.
10
- * dclcli: The binary that allow users to interact with the network of nodes.
10
+ * dclcli: The binary that allows users to interact with the network of nodes.
11
11
* The service configuration file ` dcld.service `
12
12
(either part of the release or [ deployment] ( https://github.com/zigbee-alliance/distributed-compliance-ledger/deployment ) folder).
13
13
* where to get:
@@ -38,7 +38,7 @@ Current delivery is compiled and tested under `Ubuntu 18.04.3 LTS` so we recomme
38
38
Notes:
39
39
* the deployment commands below will try to setup and run ` dcld ` systemd service on Ubuntu
40
40
* that will require ` sudo ` for a user
41
- * in case non-Ubuntu system these steps will be scipped so you would need to take case about
41
+ * in case non-Ubuntu system these steps will be scipped so you would need to take care about
42
42
43
43
## Deployment
44
44
@@ -63,16 +63,18 @@ $ run_dcl_node -t genesis -c <chain-id> node0
63
63
```
64
64
65
65
This command:
66
- - configures dclcli to communicate with the genesis node (the local one)
66
+
67
67
- generates a new key entry for a node admin account
68
68
- generates `genesis.json` file with the following entries:
69
69
- a genenesis account for the key entry above with `Trustee` and `NodeAdmin` roles
70
70
- a genesis txn that makes the local node a validator
71
71
- configures and starts the node
72
72
73
73
Outputs:
74
- - key data (address, public key, mnemonic) as ` *.dclkey.json ` file in the current directory
75
- - genesis file ` $HOME/.dcld/config/genesis.json `
74
+
75
+ - `*.dclkey.json` file in the current directory with node admint key data (address, public key, mnemonic)
76
+ - standard output:
77
+ - genesis file `$HOME/.dcld/config/genesis.json`
76
78
77
79
## Validator Node
78
80
@@ -87,19 +89,19 @@ $ run_dcl_node -c <chain-id> <node-name>
87
89
```
88
90
89
91
This command:
90
- - configures dclcli to communicate with the genesis node:
91
- - by default it will evaluate it from the ` persisten_peers.txt ` (using its first entry)
92
- - you can specify the peer explicitly using ` -p/--peer ` : ` -p <node-id@host:port> ` (port is usually considered as ` 26656 ` here)
92
+
93
93
- generates a new key entry for a node admin account
94
94
- by default `<node_name>admin` key name is used
95
95
- can be configured using `-k/--key-name` option
96
96
- properly locates `genesis.json`
97
97
- configures and starts the node
98
98
99
99
Outputs:
100
- - key data (address, public key, mnemonic) as ` *.dclkey.json ` file in the current directory
101
- - node admin key data: ` address ` and ` pubkey `
102
- - validator data: ` address ` and ` pubkey `
100
+
101
+ - `*.dclkey.json` file in the current directory with node admint key data (address, public key, mnemonic)
102
+ - standard output:
103
+ - node admin key data: `address` and `pubkey`
104
+ - validator data: `address` and `pubkey`
103
105
104
106
2 . Provide generated node admin key ` address ` and ` pubkey ` to any ` Trustee ` (s). So they may create
105
107
an account with ` NodeAdmin ` role. And ** wait** until:
0 commit comments