.likecli
folder, or in mnemonic format,.liked/config/node_key.json
.liked/config/priv_validator_key.json
likecoin-chain-public-testnet-2
313f93afce5438655239f8f6915af02fd500a7485c6e0a2a0fb8ae8b6ed1decb
[email protected]:31801
f81b7c728c0cdf22db4c324d8a12003c99b09703
32056fc4759d276a11180256474cc4ed5e3ed8d4
nanoekil
(ekil is reverse of like)docker-compose.yml.template
and .env.template
as docker-compose.yml
and .env
respectively:.env
file to fill in the details, including chain parameters and custom parameters:LIKECOIN_DOCKER_IMAGE
: "likecoin/likecoin-chain:sheungwan-2-testnet"
LIKECOIN_CHAIN_ID
: "likecoin-chain-public-testnet-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
: any name you want to call your node. Will be displayed on validator list as the name of the validator.LIKECOIN_GENESIS_URL
: "https://gist.githubusercontent.com/nnkken/a4eff0359b1acd816aa536bd664eb7ed/raw/207206a952078184b7dea1f152d4068612ef7bd6/genesis.json"
LIKECOIN_SEED_NODES
: "[email protected]:31801"
.liked
and .likecli
folders, setup the node config files and download genesis file according to the parameters in .env
.Ctrl+C
at anytime, it won't stop the node operation.
result.sync_info.catching_up
. If the value is false
, that means the node has caught up the latest block of the network.
<OPERATOR_ADDRESS>
to the operator address you get from the previous step.
<AMOUNT>
: the amount to self-delegate on the validator at the beginning (e.g. 90000000000000nanoekil
).<DETAILS>
: the detailed description of the validator. Remember to quote it using "
.:<COMMISSION_RATE>
: the validator's commission rate, which could be seen as the "tax" received by the validator from delegators, e.g. 0.5
(50%).--identity <IDENTITY>
: a string representing the identity of the validator, usually the GPG fingerprint. Some block explorers (e.g. Big Dipper) will query this field and search Keybase for the user profile.--website <WEBSITE>
: the website of the validator.
cosmosvaloper1
instead of cosmos1
, and the last few letters (checksum characters) are also different.<DESCRIPTION>
: the content of the proposal, which should include some introduction to the upgrade, and also the following contents:likecoin-chain-public-testnet-3
)
1
for the first proposal).
vote "yes" in proposal ID 1
.
.env
file and changing LIKECOIN_HALT_TIME
to the Unix timestamp of the halt time in the proposal.
1234
, 1234
, 1234
, 1233
, 1233
for different validators, then validators may use 1233
as the height for exporting state.
<HEIGHT>
is the height confirmed with other validators in the previous step.
node_key.json
(node key), priv_validator_key.json
(consensus key) and addrbook.json
(address book) from .liked/config
into the fotan node folder:docker-compose.yml
from the new software:.env
for the new chain:LIKECOIN_DOCKER_IMAGE
: likecoin/likecoin-chain:fotan-1-testnet
LIKECOIN_CHAIN_ID
: the new chain ID specified in the proposal.LIKECOIN_HALT_TIME
: "0"
so that the new chain node can start up.LIKECOIN_GENESIS_URL
: "genesis.json"
. The init script will detect that it is a local file and copy it from the migrated genesis file generated in the next step.
<NEW_CHAIN_ID>
, <ISCN_REGISTRY_NAME>
and <ISCN_FEE_PER_BYTE>
should be modified to the values specified in the upgrade proposal, and <GENESIS_TIME>
is determined in the previous step (format: YYYY-MM-DDThh:mm:ssZ
, in UTC).
.liked
folder:.env
file, which won't be used since we will use the original key instead. If you are already a validator, you will probably never use the field again so this is fine, but you are free to delete this line.
config.toml
& app.toml
, both are in .liked/config
)app.toml
:minimum-gas-prices
if needed, see the setting in your sheungwan node config[api]
section, if you need a local RESTful API server, then set enable
to true
, and also setup the corresponding port mapping in docker-compose.yml
config.toml
:[p2p]
section, if you don't want to use the --get-ip
option in the command parameter when starting the node for retrieving your externally accessible IP from third parties, then you need to enter your external address and port in external_address
(e.g. 123.123.123.123:26656
)
Skip key migration? [y/N]:
, N
actually means not skipping
, which is what we need.
.liked-old
, .likecli
and keys
folders, so the credentials are not leaked.docker-compose.yml
and .env
.halt-time
to "0"
in .env
..liked
folder from .liked-bak
.docker-compose up -d
.