Command
Wallet:
Add New Wallet:
selfchaind keys add wallet
Restore executing wallet:
selfchaind keys add wallet --recover
List All Wallets:
selfchaind keys list
Delete wallet:
selfchaind keys delete wallet
Check Balance:
selfchaind q bank balances $(selfchaind keys show wallet -a)
Validator:
Create Validator:
selfchaind tx validation create-validator <(cat <<EOF
{
"pubkey": $(selfchaind comet show-validator),
"amount": "1000000uslf",
"moniker": "Node39-Guide",
"identity": "YOUR_KEYBASE_ID",
"website": "YOUR_WEBSITE_URL",
"security-contact": "YOUR_SECURITY_EMAIL",
"details": "YOUR_DETAILS",
"commission-rate": "0.05",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.05",
"min-self-delegation": "1"
}
EOF
) \
--from wallet \
--chain-id self-1 \
--fees 200uslf
-y
Check sync | False -> done.
selfchaind status 2>&1 | jq .SyncInfo.catching_up
Delegate:
selfchaind tx staking delegate $(selfchaind keys show wallet --bech val -a) 1000000uslf \
--from wallet \
--chain-id=self-1 \
--fees 200uslf \
-y
Withdraw rewards and commission:
selfchaind tx distribution withdraw-rewards $(selfchaind keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=self-1 \
--fees 200uslf \
-y
Unjail:
--from wallet \
--chain-id=self-1 \
--fees 200uslf \
-y
Unbond:
selfchaind tx staking unbond $(selfchaind keys show wallet --bech val -a) 1000000uslf \
--from wallet \
--chain-id=self-1 \
--fees 200uslf \
-y
Vote:
yes/no/no_with_veto/abstain
selfchaind tx gov vote 1 yes \
--from wallet \
--chain-id self-1 \
--fees 200uslf \
-y
System:
Reload Service:
sudo systemctl daemon-reload
Enable Service:
sudo systemctl enable selfchaind
Disable Service:
sudo systemctl disable selfchaind
Start Service:
sudo systemctl start selfchaind
Stop Service:
sudo systemctl stop selfchaind
Restart Service:
sudo systemctl restart selfchaind
Check Service Status:
sudo systemctl status selfchaind
Check Service Logs:
sudo journalctl -u selfchaind -fo cat