To create a validator at airchain node, you should import the data of your validator to the validator.json file
first of all, you have to execute this to see validator-pub-key
wardendd comet show-validator
then, you can see the result such a following output below
{"@type":"/cosmos.crypto.ed25519.PubKey","key":"xxxx"}
sudo tee $HOME/.warden/validator.json > /dev/null <<EOF
{
"pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"xxxx"},
"amount": "1000000uward",
"moniker": "<validator-name>",
"identity": "optional identity signature (ex. UPort or Keybase)",
"website": "validator's (optional) website",
"security": "validator's (optional) security contact email",
"details": "validator's (optional) details",
"commission-rate": "0.1",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
EOF
# Create a validator using the JSON configuration
wardend tx staking create-validator $HOME/.warden/validator.json \
--from $WALLET \
--chain-id buenavista-1 \
--gas auto --gas-adjustment 1.5 --fees 600uward \