Full node with Docker
Last updated
Last updated
This guide will explain how to install the fxcored mainnet
or fxcored testnet
command line interface (CLI) on your system with Docker
option. With these installed on a server, you can participate on the mainnet or testnet as a .
You need to before you go further
Pull docker images
if you do not already have docker installed, there will be a prompt for you to install it. Follow the instructions given.
Initializing fxcore
docker run --rm -v $HOME/.fxcore:/root/.fxcore ghcr.io/PundiAI/fx-core:8.5.1 init fx-zakir --chain-id fxcore
Download genesis (copy and run each line, line by line)
Upon startup the node will need to connect to peers. you can add peers to the config.toml
config file:
Run docker
To check if fxcore is synced:
Return:
Make sure that every node has a unique
priv_validator.json
. Do not copy thepriv_validator.json
from an old node to multiple new nodes. Running two nodes with the samepriv_validator.json
will cause you to double sign.
To ensure that the blocks are synced up with your node, under "sync_info", "catching_up value" should be false "catching_up value": false
. This may take a few hours and your node has to be fully synced up before proceeding to the next step. You may cross reference the latest block you are synced to "sync_info": "latest_block_height" and the latest block height of our Testnet blockchain on our or our .