- Go 1.12+
- At least 150 GB storage space (estimated usage: ~15GB/month)
Run build.sh, or alternatively:
git clone https://github.com/cosmos/cosmos-sdkcd cosmos-sdkgit checkout v0.34.6make install tools- verify installation with
gaiad versionandgaiacli version, check that the version shown is0.34.6
gaiad init --chain-id "likechain-cosmos-testnet-1" YOUR_NODES_NAME- copy
genesis.jsonas~/.gaiad/config/genesis.json - modify
~/.gaiad/config/config.toml, replacepersistent_peers=""withpersistent_peers="[email protected]:26656" - run
gaiad start
gaiacli keys add validator- follow the instruction to generate a Cosmos account, remember the passphrase and store the mnemonic phrase in a safe place
- send us the address generated by the command above, or obtain it by
gaiacli keys show validator -a - wait for us to send some coins into this account on the chain
- run the following command to stake coins and become a validator:
gaiacli tx staking create-validator \
--amount AMOUNT_IN_nanolike \
--moniker YOUR_NAME \
--pubkey $(gaiad tendermint show-validator) \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--details "DESCRIPTION HERE" \
--min-self-delegation 1 \
--from validator \
--chain-id "likechain-cosmos-testnet-1"
Example:
gaiacli tx staking create-validator \
--amount 300000000000000nanolike \
--moniker chung \
--pubkey $(gaiad tendermint show-validator) \
--commission-rate 0.03 \
--commission-max-rate 0.1 \
--commission-max-change-rate 0.01 \
--details "Chung Wu, not Satoshi" \
--min-self-delegation 1 \
--from validator \
--chain-id "likechain-cosmos-testnet-1"