validator
Guide for Validator CLI
Create wallet
To create new wallet you can use command below. Don’t forget to save the mnemonic
0gchaind keys add $WALLETTo recover your wallet using seed phrase
0gchaind keys add $WALLET --recoverShow your wallet list
0gchaind keys listSave wallet info
Add wallet and validator address into variables
0G_WALLET_ADDRESS=$(0gchaind keys show $WALLET -a)
0G_VALOPER_ADDRESS=$(0gchaind keys show $WALLET --bech val -a)
echo 'export 0G_WALLET_ADDRESS='${0G_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export 0G_VALOPER_ADDRESS='${0G_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profileFund your wallet
Faucet available on website
https://faucet.0g.ai/Create validator
check your wallet balance:
To create your validator run command below
Check your validator key
Get list of validators
Usefull commands
Service management
Check logs
Start service
Stop service
Restart service
Node info
Synchronization info
Validator info
Node info
Show node id
Wallet operations
List of wallets
Recover wallet
Delete wallet
Get wallet balance
Transfer funds
Voting
Staking, Delegation and Rewards
Delegate stake
Redelegate stake from validator to another validator
Withdraw all rewards
Withdraw rewards with commision
Validator management
Edit validator
Unjail validator
Last updated