Useful commands
Service operations ⚙️
Check logs
sudo journalctl -u entangled -fStart service
sudo systemctl start entangledStop service
sudo systemctl stop entangledRestart service
sudo systemctl restart entangledCheck service status
sudo systemctl status entangledReload services
sudo systemctl daemon-reloadEnable Service
sudo systemctl enable entangledDisable Service
sudo systemctl disable entangledSync info
entangled status 2>&1 | jq .SyncInfoNode info
entangled status 2>&1 | jq .NodeInfoYour node peer
echo $(entangled tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.entangled/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')Key management
Add New Wallet
entangled keys add $WALLETRestore executing wallet
entangled keys add $WALLET --recoverList All Wallets
entangled keys listDelete wallet
entangled keys delete $WALLETCheck Balance
entangled q bank balances $(entangled keys show $WALLET -a)Export Key (save to wallet.backup)
entangled keys export $WALLETImport Key (restore from wallet.backup)
entangled keys import $WALLET wallet.backupTokens
Withdraw all rewards
entangled tx distribution withdraw-all-rewards --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL"Withdraw rewards and commission from your validator
entangled tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL" -yCheck your balance
entangled query bank balances $WALLET_ADDRESSDelegate to Yourself
entangled tx staking delegate $(entangled keys show $WALLET --bech val -a) 1000000aNGL --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL" -yDelegate
entangled tx staking delegate <TO_VALOPER_ADDRESS> 1000000aNGL --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL" -yRedelegate Stake to Another Validator
entangled tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000aNGL --from $WALLET --chain-id entangle_33133-1 --gas=700000 --gas-prices="20aNGL" -yUnbond
entangled tx staking unbond $(entangled keys show $WALLET --bech val -a) 1000000aNGL --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL" -yTransfer Funds
entangled tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000aNGL --gas=700000 --gas-prices="20aNGL" -yValidator operations
Create New Validator
entangled tx staking create-validator \
--amount 1000000aNGL \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(entangled tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxxx" \
--chain-id entangle_33033-1 \
--gas=700000 --gas-prices="20aNGL" \
-yEdit Existing Validator
entangled tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxxxxxxx" \
--from $WALLET \
--chain-id entangle_33033-1 \
--gas=700000 --gas-prices="20aNGL" \
-yValidator info
entangled status 2>&1 | jq .ValidatorInfoValidator Details
entangled q staking validator $(entangled keys show $WALLET --bech val -a)Jailing info
entangled q slashing signing-info $(entangled tendermint show-validator)Unjail validator
entangled tx slashing unjail --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL" -yActive Validators List
entangled 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 | nlCheck Validator key
[[ $(entangled q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(entangled status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"Signing info
entangled q slashing signing-info $(entangled tendermint show-validator)Governance
Create New Text Proposal
entangled  tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000aNGL \
--type Text \
--from $WALLET \
--gas=700000 --gas-prices="20aNGL" \
-y Proposals List
entangled query gov proposalsProposal ID
View proposal
entangled query gov proposal 1Vote
entangled tx gov vote 1 yes --from $WALLET --chain-id entangle_33033-1  --gas=700000 --gas-prices="20aNGL" -yLast updated
