Becoming a Validator V1.0


Pre-requisite: To become a validator, you should have enough Zebi tokens (ZEBI) in your account. Complete the following steps to become a validator:

1. Execute the command to become Validator:

     
  
zebicli tx staking create-validator --amount=<amount> --moniker=<node_name> --pubkey=<pub_key> --commission-rate <commission_rate> --commission-max-rate <commission_max_rate> --commission-max-change-rate <commission_max_change_rate> --min-self-delegation <min_self_delegation> --from <wallet_address> --chain-id zpb-mainnet-1 --gas-prices <gas_prices> --gas=auto --gas-adjustment=<gas_adjustment>
   

Where the parameters are:
<amount> - is the number of tokens you would like to stake. Eg: 10000000000000zebi
<node_name> - is the Name of your node that you have set.
<pub_key> - is the Public key of your account (you can get pub_key by executing the following command zebid tendermint show-validator).
<commision_rate> - is the rate of commission you want to set. Eg: 0.09 = 9%
<commission_max_rate> - is the commission max rate. Eg: 0.12 = 12%
<commission_max_change_rate> - is the commission max change rate. Eg: 0.01 = 1%
<min_self_delegation> - is the minimum self-delegation amount. Eg: 100000000
<address> - is your account address which you got from the response of create account or the account in your node.
<chain-name> - is zpb-mainnet-1
<gas_prices> - is the gas prices. Eg: 500.0zebi
<gas_adjustment> - is the gas adjustment. Eg: 1.5

NOTE: Please note that whenever you are transacting on zebicli, multiply token value with 10 8 what is displayed in wallet.
Eg: 1zebi in wallet = 100000000zebi in zebicli

Importing Zebi Wallet Account to your Node:
You need to import your key using recover account command to import wallet created in zpb.zebi.io/wallet
Recover account command: zebicli keys add --recover <YOUR_ACCOUNT_ADDRESS>
It will prompt to setup new passphrase (password) and confirm. Then it will prompt for mnemonic.
Your account will be added to your keys list.
Execute this command to check if your account is imported to your node: zebicli keys list

YAY! Now you have become a validator after staking tokens as mentioned in the <amount> parameter.
You can delegate more tokens to your validator from zebi wallet




You can update your validator details by using the below command:

  
zebicli tx staking edit-validator --moniker=<node_name> --identity=<country_code> --website="" --details="Any details you want to put up" --chain-id=zpb-mainnet-1 --gas=auto --gas-prices 500.0zebi --gas-adjustment=1.5 --from <wallet_address> --commission-rate <commission_rate>   
  

Where the parameters are:
<identity> - is the two character country code where your validator is running. Eg: IN
Ref: List of Country Codes
<website> - this can be your website.
<details> - you can give social media handles links or cool description to your validator/your team.

<node_name> - is the Name of your node that you have set.
<commision_rate> - is the rate of commission you want to set. Eg: 0.09 = 9%
<address> - is your account address which you got from the response of create account or the account in your node.
<chain-name> - is zpb-mainnet-1
<gas_prices> - is the gas prices. Eg: 500.0zebi
<gas_adjustment> - is the gas adjustment. Eg: 1.5