Note
selfchaind --help
to see a list of all available commands
# you may need to adjust the composition of the gas fee when doing cli with basic tx ,
example format :
--gas-prices # decimal format [AMOUNT]usefl
--gas # gas limit default is "200000"
--fees # format [AMOUNT]usefl
--gas-adjustment # default "1"
define your own combination
selfchaind keys add wallet
selfchaind keys delete wallet
selfchaind keys add wallet --recover
selfchaind keys list
selfchaind tx bank send wallet [TO_ADDRESS] [AMOUNT]usefl \
--chain-id self-dev-1 \
--from "wallet" \
--gas "200000"
selfchaind tx bank multi-send wallet [TO_ADDRESS1] [TO_ADDRESS2] [TO_ADDRESS3] [AMOUNT]usefl \
--chain-id self-dev-1 \
--from "wallet" \
--gas "200000"
selfchaind tx staking create-validator \
--amount 1000000usefl \
--pubkey $(selfchaind tendermint show-validator) \
--chain-id self-dev-1 \
--min-self-delegation 1 \
--commission-max-change-rate 0.01 \
--commission-max-rate 0.2 \
--commission-rate 0.05 \
--moniker ["VALIDATOR-MONIKER"] \
--identity ["VALIDATOR-IDENTITY"] \
--details ["VALIDATOR-DESCRIPTION"] \
--website ["VALIDATOR-WEBSITE"] \
--security-contact ["VALIDATOR-CONTACT"] \
--from "wallet" \
--gas "200000"
selfchaind tx staking edit-validator \
--chain-id self-dev-1 \
--commission-rate 0.05 \
--new-moniker ["NEW-VALIDATOR-MONIKER"] \
--identity ["NEW-VALIDATOR-IDENTITY"] \
--details ["NEW-VALIDATOR-DESCRIPTION"] \
--website ["NEW-VALIDATOR-WEBSITE"] \
--security-contact ["NEW-VALIDATOR-CONTACT"] \
--from "wallet" \
--gas "200000"
selfchaind tx staking delegate [TO_VALOPER_ADDRESS] [AMOUNT]usefl \
--chain-id self-dev-1 \
--from "wallet" \
--gas "200000"
selfchaind tx staking redelegate [SRC_VALOPER_ADDRESS] [TO_VALOPER_ADDRESS] [AMOUNT]usefl \
--chain-id self-dev-1 \
--from "wallet" \
--gas "200000"
selfchaind tx slashing unjail \
--chain-id self-dev-1 \
--from "wallet" \
--gas "200000"
selfchaind query gov proposals
selfchaind query gov proposal [PROPOSAL_ID]
OPTION_VALUE: yes , no , no_with_veto and abstain
selfchaind tx gov vote [PROPOSAL_ID] [OPTION] \
--chain-id self-dev-1 \
--from "wallet" \
--gas "200000"
selfchaind tx distribution withdraw-all-rewards \
--chain-id self-dev-1 \
--from "wallet" \
--gas "200000"
selfchaind tx distribution withdraw-rewards $(selfchaind keys show wallet --bech val -a) \
--commission \
--chain-id self-dev-1 \
--from "wallet" \
--gas "200000"