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:
geth --datadir /data/.kcc \
--unlock 0x0000000000000000000000000000000000000000 \
--password /data/.kcc/pass --mine
The address after
--unlockshould be the address of your validator account. So you should replace
0x0000000000000000000000000000000000000000with your validator account.
--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.