evmosjs icon indicating copy to clipboard operation
evmosjs copied to clipboard

How to stake aevmos token to be a validator

Open luchenqun opened this issue 3 years ago • 1 comments

I mean how to use evmosjs libary complete the following functions:

evmosd tx staking create-validator \
  --amount=1000000000000aevmos \
  --pubkey='{"@type":"/cosmos.crypto.ed25519.PubKey","key":"3YAmZANy26ad4otlglkx6sj1zIP8pCDQT8p5Rz4TGu4="}' \
  --moniker="ValidatorTest" \
  --chain-id="evmos_9000-1" \
  --commission-rate="0.05" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1000000" \
  --gas-prices="0.025aevmos" \
  --gas="600000" \
  --from=validator \
  --keyring-backend=test \
  -b block

luchenqun avatar Aug 08 '22 06:08 luchenqun

Create validator pr #40 is blocked waiting on Ethermint changes to support the pubkey enconding

hanchon avatar Sep 12 '22 13:09 hanchon