Artela
Service operations ⚙️
Check logs
sudo journalctl -u artelad -fo cat
Start service
sudo systemctl start artelad
Stop service
sudo systemctl stop artelad
Restart service
sudo systemctl restart artelad
Check service status
sudo systemctl status artelad
Reload services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable artelad
Disable Service
sudo systemctl disable artelad
Node info
artelad status 2>&1 | jq
Your node peer
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
artelad keys add $WALLET
Restore executing wallet
artelad keys add $WALLET --recover
List All Wallets
artelad keys list
Delete wallet
artelad keys delete $WALLET
Check Balance
artelad q bank balances $WALLET_ADDRESS
Export Key (save to wallet.backup)
artelad keys export $WALLET
View EVM Prived Key
artelad keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
artelad keys import $WALLET wallet.backup
Tokens
To valoper address
To wallet address
Amount, uart
Withdraw all rewards
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
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
artelad query bank balances $WALLET_ADDRESS
Delegate to Yourself
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
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
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
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
artelad tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000uart --gas auto --gas-adjustment 1.5 -y
Validator operations
Moniker
Identity
Details
Amount, uart
Commission rate
Commission max rate
Commission max change rate
Create New Validator
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 "I love blockchain ❤️" \
--chain-id artela_11822-1 \
--gas auto --gas-adjustment 1.5 \
-y
Edit Existing Validator
artelad tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--from $WALLET \
--chain-id artela_11822-1 \
--gas auto --gas-adjustment 1.5 \
-y
Validator info
artelad status 2>&1 | jq
Validator Details
artelad q staking validator $(artelad keys show $WALLET --bech val -a)
Jailing info
artelad q slashing signing-info $(artelad tendermint show-validator)
Slashing parameters
artelad q slashing params
Unjail validator
artelad tx slashing unjail --from $WALLET --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5 -y
Active Validators List
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
[[ $(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
artelad q slashing signing-info $(artelad tendermint show-validator)
Governance
Title
Description
Deposit, uart
Create New Text Proposal
artelad tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000uart \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.5 \
-y
Proposals List
artelad query gov proposals
Proposal ID
Proposal option
View proposal
artelad query gov proposal 1
Vote
artelad tx gov vote 1 yes --from $WALLET --chain-id artela_11822-1 --gas auto --gas-adjustment 1.5 -y