Consesus node
Last updated
Last updated
The following minimum hardware requirements are reccommended for runninga consensus node:
Memory: 8 GB RAM
CPU: 4 cores
Disk: 1 TB SSD Storage
Bandwidth: 1 Gbps for Download/1 Gbps for Upload
The following tuttorial is done ona an Ubuntu Linux 20.02 (LST) x64 instance machine.
The first thing you have to do, is properly setup the environment of your machine. Here is a script that can help you with that:
Now that you have all the dependencies needed, you are ready to build the milkywayd
binary file:
To initialize your consensus node, you have to pick a node name that describes your node. Then, you can run the following command to initialize the configuration files:
Finally, it's time to start your node. You can do by running:
If you've configured everything properly, you should see your node trying to connect to other nodes and downloading the blocks.
Next, you have to download the genesis file. You can find the genesis files for each chain on our GitHub repository: . Once you have selected a genesis file you want to use, you have to place it inside the $HOME/.milkyway/data/genesis.json
file.
Finally, you need to set the seeds inside the $HOME/.milkyway/config/config.toml
file. You can find a list of seed node for each chain on GitHub: .