Create Validator

We are moving our documentation to the new "BitSong, the blockchain for music" website. To access the most up-to-date and complete version of our guides and articles, please visit our new bitsong documentation website. This old documentation site will no longer be maintained or updated, so we strongly recommend referring to the new bitsong documentation website for the latest information. If you can't find what you're looking for on the new site, please be patient as we are still in the process of migrating all of our content. Thank you for your understanding! Visit the new article https://bitsong.io/en/docs/blockchain/create-validator

Prerequisites

Create a new validator

To create the validator and initialize it with a self-delegation, run the following command. key-name is the name of the private key that is used to sign transactions.

bitsongd tx staking create-validator \
    --amount=5000000ubtsg \
    --pubkey=$(bitsongd tendermint show-validator) \
    --moniker="<your-moniker>" \
    --chain-id=<chain_id> \
    --from=<key-name> \
    --commission-rate="0.10" \
    --commission-max-rate="0.20" \
    --commission-max-change-rate="0.01" \
    --min-self-delegation="1"

When you specify commission parameters, the commission-max-change-rate is measured as a percentage-point change of the commission-rate. For example, a change from 1% to 2% is a 100% rate increase, but the commission-max-change-rate is measured as 1%.

Confirm your validator is active

If running the following command returns something, the validator is active.

bitsongd query tendermint-validator-set | grep "$(bitsongd tendermint show-validator)"

You are looking for the bech32 encoded address in the ~/.bitsongd/config/priv_validator.json file.

Note:

Only the top 64 validators in voting power are included in the active validator set.

Last updated