Key Management
Add New Key
Copy artelad keys add wallet
Recover Existing Key
Copy artelad keys add wallet --recover
List All Keys
Delete Key
Copy artelad keys delete wallet
Export Key (save to wallet.backup)
Copy artelad keys export wallet
Import Key
Copy artelad keys import wallet wallet.backup
Query Wallet Balance
Copy artelad q bank balances $(artelad keys show wallet -a)
Validator Operations
Create New Validator
Copy artelad tx staking create-validator \
--amount=1000000uart \
--pubkey=$(artelad tendermint show-validator) \
--moniker="YourMonikerName" \
--identity=YOUR_IDENTITY \ #Optional
--details="YOUR_DETAILS" \ #Optional
--chain-id=artela_11822-1 \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=YOURWALLETNAME \
--gas-prices=0.1uart \
--gas-adjustment=1.5 \
--gas=auto \
-y
Edit Existing Validator
Copy artelad tx staking edit-validator \
--new-moniker="YourMonikerName" \
--chain-id=artela_11822-1 \
--commission-rate=0.1 \
--from=YOURWALLETNAME \
--gas-prices=0.1uart \
--gas-adjustment=1.5 \
--gas=auto \
-y
Unjail Validator
Copy artelad tx slashing unjail --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Signing Info
Copy artelad query slashing signing-info $(artelad tendermint show-validator)
List All Active Validators
Copy artelad q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
List All Inactive Validators
Copy artelad q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED") or .status=="BOND_STATUS_UNBONDING")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
View Validator Details
Copy artelad q staking validator $(artelad keys show wallet --bech val -a)
Staking and Delegation
Withdraw Rewards From All Validators
Copy artelad tx distribution withdraw-all-rewards --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Withdraw Commission And Rewards From Your Validator
Copy artelad tx distribution withdraw-rewards $(artelad keys show wallet --bech val -a) --commission --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Delegate to yourself
Copy artelad tx staking delegate $(artelad keys show wallet --bech val -a) 1000000uart --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Delegate
Copy artelad tx staking delegate YOUR_TO_VALOPER_ADDRESS 1000000uart --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Redelegate
Copy artelad tx staking redelegate $(artelad keys show wallet --bech val -a) YOUR_TO_VALOPER_ADDRESS 1000000uart --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Unbond
Copy artelad tx staking unbond $(artelad keys show wallet --bech val -a) 1000000uart --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Transactions and Bank Operations
Send
Copy artelad tx bank send wallet YOUR_TO_WALLET_ADDRESS 1000000uart --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Governance Operations
Create New Text Proposal
Copy artelad tx gov submit-proposal \
--title="Title" \
--description="Description" \
--deposit=1000000uart \
--type="Text" \
--from=wallet \
--gas-prices=0.1uart \
--gas-adjustment=1.5 \
--gas=auto \
-y
List All Proposals
Copy artelad query gov proposals
View Proposal By ID
Copy artelad query gov proposal 1
Vote YES
Copy artelad tx gov vote 1 yes --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Vote NO
Copy artelad tx gov vote 1 no --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Vote NO_WITH_VETO
Copy artelad tx gov vote 1 no_with_veto --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Vote ABSTAIN
Copy artelad tx gov vote 1 abstain --from wallet --chain-id artela_11822-1 --gas-prices 0.1uart --gas-adjustment 1.5 --gas auto -y
Query Transaction
Copy artelad query tx YOUR_TX_ID
Query and Utility Commands
Update gRPC and Web gRPC ports
Copy sed -i.bak -e "s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:9090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:9091\"%" $HOME/.artelad/config/app.toml
Update proxy_app, laddr, and pprof_laddr ports
Copy sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:26658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:26657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:6060\"%" $HOME/.artelad/config/config.toml
Update laddr and prometheus_listen_addr ports
Copy sed -i.bak -e "s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:26656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":26660\"%" $HOME/.artelad/config/app.toml
Update gRPC, Web gRPC, and API ports
Copy sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:1317\"%" $HOME/.artelad/config/config.toml
Update Indexer
Copy sed -i 's|^indexer *=.*|indexer = "kv"|' $HOME/.artelad/config/config.toml
Update Pruning
Copy sed -i.bak -e 's|^pruning *=.*|pruning = "custom"|; s|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|; s|^pruning-keep-every *=.*|pruning-keep-every = "0"|; s|^pruning-interval *=.*|pruning-interval = "17"|' $HOME/.artelad/config/app.toml
Get Validator Info
Copy artelad status 2>&1 | jq .ValidatorInfo
Get Denom Info
Copy artelad q bank denom-metadata -oj | jq
Get Sync Status
Copy artelad status 2>&1 | jq .SyncInfo.catching_up
Get Latest Height
Copy artelad status 2>&1 | jq .SyncInfo.latest_block_height
Get Peer
Copy echo $(artelad tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.artelad/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Reset Node
Copy artelad tendermint unsafe-reset-all --home $HOME/.artelad --keep-addr-book
Remove Node
Copy sudo systemctl stop artelad && sudo systemctl disable artelad && sudo rm /etc/systemd/system/artelad.service && sudo systemctl daemon-reload && rm -rf $HOME/.artelad && rm -rf artela && sudo rm -rf $(which artelad)
Get IP Address
Servername
Update Servername
Copy sudo hostnamectl set-hostname artela-testnet-node
Service Management
Reload Services
Copy sudo systemctl daemon-reload
Enable Service
Copy sudo systemctl enable artelad
Disable Service
Copy sudo systemctl disable artelad
Run Service
Copy sudo systemctl start artelad
Stop Service
Copy sudo systemctl stop artelad
Restart Service
Check Service Status
Copy sudo systemctl status artelad
Check Service Logs
Copy sudo journalctl -u artelad -f --no-hostname -o cat