Running a Validator node
Setting up a Chiliz Chain Validator node
Last updated
Was this helpful?
Setting up a Chiliz Chain Validator node
Last updated
Was this helpful?
To become a Chiliz Chain , you are required to run a Validator node, either with your own hardware, or through a partner. A node is a web server set up specifically to validate transactions before committing them on Chiliz Chain.
To run a Validator node, you need to set the following parameters:
Don't use this as-is!
Make sure to update the unlock
, miner.etherbase
and nodekeyhex
parameter!
To run the Chiliz Chain validator node, you must have the Docker Engine installed either on your machine or server. You can use a cloud provider like Amazon Web Services, Google Cloud Platform, or Microsoft Azure, or you can set up your own server (see below).
You will need a dedicated server to run your validator node:
CPU: At least 2 CPU cores.
Memory: At least 4 GB of RAM.
Disk: Use a solid-state drive (SSD) for optimal performance.
We recommend to have at least 300 GB of free disk space to sync with the chain.
Network Bandwidth: At least 10 Gbps.
The recommended starting point to run a Chiliz Chain validator node is with the mounted data volume. If this method is used to recreate a Docker container, the data gets stored in the directory and can easily be reused or cloned to another validator.
Create the validator node with the following command:
You will need to type a password for the secret key file.
Public address of the key: While running the validator, this address will be used to set the --unlock
parameter.
Path of the secret key file: This file needs to be moved into the "keystore" directory inside the datadir $(pwd)/my-datadir
you created in previous steps, so the final path of the file will be
"$(pwd)/my-datadir/keystore/UTC–(TIMESTAMP)-(ADDRESS)"
.
DO NOT change the name of the file.
Password: The password you typed during the the execution of the previous command needs to be stored in a file:
$(pwd)/my-datadir/password.txt
This file will be used to set the --password
while running the validator node.
Do not forget that all files in the host path $(pwd)/my-datadir
will be located in the container in /datadir
directory, this is why the password parameter should be set as the following example:
It is very important to have the following recommendations in mind:
You can share your public address with anyone. Others need it to interact with you.
You must NEVER SHARE the secret key with anyone! The key controls access to your funds!
You must BACK UP your key file! Without the key, it's impossible to access account funds!
You must REMEMBER your password! Without the password, it's impossible to decrypt the key!
This section is optional.
We recommend that generate a random hexadecimal string for the node. This is helpful for traceability on the logs and to avoid peering issues with the chain.
We recommend that use the extip:<IP>
option, where <IP>
is the public IPv4 address where the validator is being launched.
For deeper troubleshooting, Geth's logging verbosity parameter --verbosity
can be set as:
0=silent
1=error
2=warn
3=info
4=debug
5=detail
The default value for is 3. We recommend that you use 4.
There might come a time when you don't want to run a validator node anymore. You might then want to pass the node along to someone else.
In that case, you can follow these steps:
Click the "Change owner" button.
In the modal window, indicate the current address of the node you want to change the owner of, and its new address (provided by the new owner).
Once submitted, the change will apply directly.
Please complete the before you proceed.
View or use the pre-built Docker images from the on the Docker Hub. Note that you must have a Docker Hub account to access the repository.
As a fork of Ethereum, Chiliz Chain relies on for its node servers.
To accomplish this, you can use and generate one hexadecimal key with 64 characters per node.
While running a validator node, you can set --nodekeyhex
with this value. This will ensure that when you restart the node, it will have the same node address (called "enode address") and it will allow for easier future debugging or fault finding.
Geth's --nat
parameter has the following options: any
, none
, upnp
, pmp
, pmp:<IP>
, and extip:<IP>
. The default is any
. .
Connect your wallet to the .