Service operations ⚙️
Check logs
Copy sudo journalctl -u artelad -f
Start service
Copy sudo systemctl start artelad
Stop service
Copy sudo systemctl stop artelad
Restart service
Copy sudo systemctl restart artelad
Check service status
Copy sudo systemctl status artelad
Reload services
Copy sudo systemctl daemon-reload
Enable Service
Copy sudo systemctl enable artelad
Disable Service
Copy sudo systemctl disable artelad
Sync info
Copy artelad status 2>&1 | jq .SyncInfo
Node info
Copy artelad status 2>&1 | jq .NodeInfo
Your node peer
Copy echo $(artelad tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.artelad/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Key management
Add New Wallet
Copy artelad keys add $WALLET
Restore executing wallet
Copy artelad keys add $WALLET --recover
List All Wallets
Delete wallet
Copy artelad keys delete $WALLET
Check Balance
Copy artelad q bank balances $( artelad keys show $WALLET -a )
Export Key (save to wallet.backup)
Copy artelad keys export $WALLET
View EVM Prived Key
Copy artelad keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
Copy artelad keys import $WALLET wallet.backup
Tokens
Withdraw all rewards
Copy artelad tx distribution withdraw-all-rewards --from $WALLET --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5
Withdraw rewards and commission from your validator
Copy artelad tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5 -y
Check your balance
Copy artelad query bank balances $WALLET_ADDRESS
Delegate to Yourself
Copy artelad tx staking delegate $(artelad keys show $WALLET --bech val -a) 1000000uart --from $WALLET --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5 -y
Delegate
Copy artelad tx staking delegate <TO_VALOPER_ADDRESS> 1000000uart --from $WALLET --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5 -y
Redelegate Stake to Another Validator
Copy artelad tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000uart --from $WALLET --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5 -y
Unbond
Copy artelad tx staking unbond $(artelad keys show $WALLET --bech val -a) 1000000uart --from $WALLET --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5 -y
Transfer Funds
Copy artelad tx bank send $WALLET_ADDRESS < TO_WALLET_ADDRES S > 1000000uart --gas auto --gas-adjustment 1.5 -y
Validator operations
Create New Validator
Copy artelad tx staking create-validator \
--amount 1000000uart \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $( artelad tendermint show-validator ) \
--moniker "$MONIKER" \
--identity "" \
--details "" \
--chain-id artela_11822-1 \
--gas auto --gas-adjustment 1.5 \
-y
Edit Existing Validator
Copy artelad tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "" \
--from $WALLET \
--chain-id artela_11822-1 \
--gas auto --gas-adjustment 1.5 \
-y
Validator info
Copy artelad status 2>&1 | jq .ValidatorInfo
Validator Details
Copy artelad q staking validator $( artelad keys show $WALLET --bech val -a )
Jailing info
Copy artelad q slashing signing-info $( artelad tendermint show-validator )
Slashing parameters
Copy artelad q slashing params
Unjail validator
Copy artelad tx slashing unjail --from $WALLET --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5 -y
Active Validators List
Copy artelad q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nl
Check Validator key
Copy [[ $(artelad q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(artelad status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
Copy artelad q slashing signing-info $( artelad tendermint show-validator )
Governance
Create New Text Proposal
Copy artelad tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000uart \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.5 \
-y
Proposals List
Copy artelad query gov proposals
View proposal
Copy artelad query gov proposal 1
Vote
Copy artelad tx gov vote 1 yes --from $WALLET --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5 -y
Last updated 8 months ago