xnodeer
  • HOME
  • TESTNET
    • Entangle
      • installation
      • Create Validator
      • Full Command
    • 0G
      • installation
      • create-validator
    • Selfchain
      • installation
      • Create Validator
      • Full Command
    • Taiko
Powered by GitBook
On this page
  1. TESTNET
  2. 0G

create-validator

PreviousinstallationNextSelfchain

Last updated 1 year ago

Create a wallet

evmosd keys add $WALLET

Extract the HEX address to request faucet

echo "0x$(evmosd debug addr $(evmosd keys show $WALLET -a) | grep hex | awk '{print $3}')"

#after that request faucet

Create a validator

#change <moniker> with your node name

evmosd tx staking create-validator \
--amount 1000000aevmos \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(evmosd tendermint show-validator) \
--moniker "<MONIKER>" \
--identity "" \
--details "" \
--chain-id zgtendermint_9000-1 \
--gas 500000 --gas-prices 99999aevmos \
-y

#Don't forget to save priv_validator_key.json

here