Run A Validator
We assume you have already created the Keystore file for your validator account following the previous section. You can run your validator node with the following command:
The command is similar to what we have seen in "Run A Full Node", except with some extra options:
The address after --unlock
should be the address of your validator account. So you should replace 0x0000000000000000000000000000000000000000
with your validator account.
The path /data/.dcc/pass
after --password refers to a plain text file that contains the password of your Keystore file.
The --mine option tells the node try to validate and propose new blocks.
If you want to enable the HTTP and Websocket RPC servers on your validator node, you should never make them publicly accessible! Because that would make your validator account accessible through the RPC requests.
Last updated