Chain ID: empowerchain-1 | Current Node Version: v1.0.0
Asset Mantle CLI Cheatsheet
This cheatsheet collects commonly used CLI commands for node operators to easily copy and paste. A few conventions we follow:
Capitalized words indicate placeholders
Always specify --chain-id
and --node
flags even when they are unnecessary
Query CLI command always uses --output json
flag and pipes result through jq
Bank: Send
Copy empowerd tx bank send KEY RECEIVER_ADDRESS 1000000umpwr \
--chain-id empowerchain-1 \
--node https://YOURIPADDRESSHERE:PORT --gas-prices 25000000000umpwr --gas 250000 --gas-adjustment 1.2 \
--from KEY
Distribution: Withdraw Rewards including Commission
Copy empowerd tx distribution withdraw-rewards VALIDATOR_OPERATOR \
--commission \
--chain-id empowerchain-1 \
--node https://YOURIPADDRESSHERE:PORT --gas-prices 25000000000umpwr --gas 250000 --gas-adjustment 1.2 \
--from KEY
Gov: Query Proposal
Copy empowerd query gov proposal PROPOSAL_NUMBER \
--chain-id empowerchain-1 \
--node https://YOURIPADDRESSHERE:PORT \
--output json | jq
Gov: Vote
VOTE_OTION: yes
, no
, no_with_veto
and abstain
.
Copy empowerd tx gov vote PROPOSAL_NUMBER VOTE_OPTION \
--chain-id empowerchain-1 \
--node https://YOURIPADDRESSHERE:PORT --gas-prices 25000000000umpwr --gas 250000 --gas-adjustment 1.2 \
--from KEY
Slashing: Unjail
Copy empowerd tx slashing unjail \
--chain-id empowerchain-1 \
--node https://YOURIPADDRESSHERE:PORT --gas-prices 25000000000umpwr --gas 250000 --gas-adjustment 1.2 \
--from KEY
Staking: Create Validator
Note: We use example filed values instead of capitalized dummy words for demo purpose in this command. Please make sure to adjust accordingly for your use.
Copy empowerd tx staking create-validator \
--amount 1000000umntl \
--commission-max-change-rate "0.1" \
--commission-max-rate "0.20" \
--commission-rate "0.1" \
--min-self-delegation "1" \
--details "your bio goes here" \
--pubkey=$( mantleNode tendermint show-validator) \
--moniker $MONIKER_NAME \
--chain-id circulus-1 \
--gas-prices 0.025umpwr \
--from < KEYNAM E >