Service operations ⚙️
Check logs
Copy sudo journalctl -u titand -f
Start service
Copy sudo systemctl start titand
Stop service
Copy sudo systemctl stop titand
Restart service
Copy sudo systemctl restart titand
Check service status
Copy sudo systemctl status titand
Reload services
Copy sudo systemctl daemon-reload
Enable Service
Copy sudo systemctl enable titand
Disable Service
Copy sudo systemctl disable titand
Sync info
Copy titand status 2>&1 | jq .SyncInfo
Node info
Copy titand status 2>&1 | jq .NodeInfo
Your node peer
Copy echo $(titand tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.titan/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Key management
Add New Wallet
Copy titand keys add $WALLET
Restore executing wallet
Copy titand keys add $WALLET --recover
List All Wallets
Delete wallet
Copy titand keys delete $WALLET
Check Balance
Copy titand q bank balances $(titand keys show $WALLET -a)
Export Key (save to wallet.backup)
Copy titand keys export $WALLET
View EVM Prived Key
Copy titand keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
Copy titand keys import $WALLET wallet.backup
Tokens
To valoper addressTo wallet addressAmount, uttnt
Withdraw all rewards
Copy titand tx distribution withdraw-all-rewards --from $WALLET --chain-id titan-test-4 --gas 300000 --fees 2000uttnt
Withdraw rewards and commission from your validator
Copy titand tx distribution withdraw-rewards $VALOPER_ADDRESS_titan --from $WALLET --commission --chain-id titan-test-4 --gas 300000 --fees 2000uttnt -y
Check your balance
Copy titand query bank balances $WALLET_ADDRESS_titan
Delegate to Yourself
Copy titand tx staking delegate $(titand keys show $WALLET --bech val -a) 1000000uttnt --from $WALLET --chain-id titan-test-4 --gas 300000 --fees 2000uttnt -y
Delegate
Copy titand tx staking delegate <TO_VALOPER_ADDRESS> 1000000uttnt --from $WALLET --chain-id titan-test-4 --gas 300000 --fees 2000uttnt -y
Redelegate Stake to Another Validator
Copy titand tx staking redelegate $VALOPER_ADDRESS_titan <TO_VALOPER_ADDRESS> 1000000uttnt --from $WALLET --chain-id titan-test-4 --gas 300000 --fees 2000uttnt -y
Unbond
Copy titand tx staking unbond $(titand keys show $WALLET --bech val -a) 1000000uttnt --from $WALLET --chain-id titan-test-4 --gas 300000 --fees 2000uttnt -y
Transfer Funds
Copy titand tx bank send $WALLET_ADDRESS_titan <TO_WALLET_ADDRESS> 1000000uttnt --gas 300000 --fees 2000uttnt -y
Validator operations
MonikerIdentityDetailsAmount, uttntCommission rateCommission max rateCommission max change rate
Create New Validator
Copy titand tx staking create-validator \
--amount 1000000uttnt \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(titand tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "I love blockchain 💚" \
--chain-id titan-test-4 \
--gas 300000 --fees 2000uttnt \
-y
Edit Existing Validator
Copy titand tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "I love blockchain 💚" \
--from $WALLET \
--chain-id titan-test-4 \
--gas 300000 --fees 2000uttnt \
-y
Validator info
Copy titand status 2>&1 | jq .ValidatorInfo
Validator Details
Copy titand q staking validator $(titand keys show $WALLET --bech val -a)
Jailing info
Copy titand q slashing signing-info $(titand tendermint show-validator)
Slashing parameters
Copy titand q slashing params
Unjail validator
Copy titand tx slashing unjail --from $WALLET --chain-id titan-test-4 --gas 300000 --fees 2000uttnt -y
Active Validators List
Copy titand 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 [[ $(titand q staking validator $VALOPER_ADDRESS_titan -oj | jq -r .consensus_pubkey.key) = $(titand status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
Copy titand q slashing signing-info $(titand tendermint show-validator)
Governance
TitleDescriptionDeposit, uttnt
Create New Text Proposal
Copy titand tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000uttnt \
--type Text \
--from $WALLET \
--gas 300000 --fees 2000uttnt \
-y
Proposals List
Copy titand query gov proposals
Proposal IDProposal optionYesNoNo with vetoAbstain
View proposal
Copy titand query gov proposal 1
Vote
Copy titand tx gov vote 1 yes --from $WALLET --chain-id titan-test-4 --gas 300000 --fees 2000uttnt -y
Last updated 2 months ago