For other full node operators
For non-validator nodes, or for validator nodes who cannot join the upgrade process, you may setup a full node or replace your current full node after the upgrade is finished.
Clone the software if you haven't already have one:
Switch to the
fotan-1
branch:Backup
docker-compose.yml
if you have one:Setup
docker-compose.yml
and.env
file:Get the genesis URL, which will be generated (uploaded) during the upgrade process by validators.
Setup
.env
file according to the chain parameter:LIKECOIN_DOCKER_IMAGE
:"likecoin/likecoin-chain:fotan-1"
LIKECOIN_CHAIN_ID
:"likecoin-mainnet-2"
LIKECOIN_UID
: normally keep it as"1000"
is fine, but if you are using root user under Linux (e.g. in some VPS) then you should change it to"0"
.LIKECOIN_MONIKER
: the original moniker (in.liked/config/config.toml
, search formoniker
). If not sure, any name indicating your node is OK.LIKECOIN_GENESIS_URL
:https://gist.githubusercontent.com/williamchong/de1bdf2b2a8f3bce50a4b5e46af26959/raw/4e21bff586771c849d22e1916bcb88c6463fbaa0/genesis.json
LIKECOIN_SEED_NODES
:913bd0f4bea4ef512ffba39ab90eae84c1420862@34.82.131.35:26656,e44a2165ac573f84151671b092aa4936ac305e2a@nnkken.dev:26656
Backup the original node if you have one:
Initialize the node with new software:
Re-import the keys and address books from the old node if you have one:
Start up the node:
Wait for synchronization, which you may check by going to http://localhost:26657/status and see
result.sync_info.catching_up
. If it showsfalse
then the node has caught up.If you have keystore, you may migrate the keys by running the following command:
Last updated