Service operations ⚙️
Check logs
Copy sudo journalctl -u entangled -f
Start service
Copy sudo systemctl start entangled
Stop service
Copy sudo systemctl stop entangled
Restart service
Copy sudo systemctl restart entangled
Check service status
Copy sudo systemctl status entangled
Reload services
Copy sudo systemctl daemon-reload
Enable Service
Copy sudo systemctl enable entangled
Disable Service
Copy sudo systemctl disable entangled
Sync info
Copy entangled status 2>&1 | jq .SyncInfo
Node info
Copy entangled status 2>&1 | jq .NodeInfo
Your node peer
Copy 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
Copy entangled keys add $WALLET
Restore executing wallet
Copy entangled keys add $WALLET --recover
List All Wallets
Delete wallet
Copy entangled keys delete $WALLET
Check Balance
Copy entangled q bank balances $( entangled keys show $WALLET -a )
Export Key (save to wallet.backup)
Copy entangled keys export $WALLET
Import Key (restore from wallet.backup)
Copy entangled keys import $WALLET wallet.backup
Tokens
Withdraw all rewards
Copy 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
Copy entangled tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL" -y
Check your balance
Copy entangled query bank balances $WALLET_ADDRESS
Delegate to Yourself
Copy entangled tx staking delegate $(entangled keys show $WALLET --bech val -a) 1000000aNGL --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL" -y
Delegate
Copy entangled tx staking delegate <TO_VALOPER_ADDRESS> 1000000aNGL --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL" -y
Redelegate Stake to Another Validator
Copy entangled tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000aNGL --from $WALLET --chain-id entangle_33133-1 --gas=700000 --gas-prices="20aNGL" -y
Unbond
Copy entangled tx staking unbond $(entangled keys show $WALLET --bech val -a) 1000000aNGL --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices="20aNGL" -y
Transfer Funds
Copy entangled tx bank send $WALLET_ADDRESS < TO_WALLET_ADDRES S > 1000000aNGL --gas=700000 --gas-prices= "20aNGL" -y
Validator operations
Create New Validator
Copy 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" \
-y
Edit Existing Validator
Copy 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" \
-y
Validator info
Copy entangled status 2>&1 | jq .ValidatorInfo
Validator Details
Copy entangled q staking validator $( entangled keys show $WALLET --bech val -a )
Jailing info
Copy entangled q slashing signing-info $( entangled tendermint show-validator )
Unjail validator
Copy entangled tx slashing unjail --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices= "20aNGL" -y
Active Validators List
Copy 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 | nl
Check Validator key
Copy [[ $(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
Copy entangled q slashing signing-info $( entangled tendermint show-validator )
Governance
Create New Text Proposal
Copy entangled tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000aNGL \
--type Text \
--from $WALLET \
--gas=700000 --gas-prices= "20aNGL" \
-y
Proposals List
Copy entangled query gov proposals
Proposal ID
View proposal
Copy entangled query gov proposal 1
Vote
Copy entangled tx gov vote 1 yes --from $WALLET --chain-id entangle_33033-1 --gas=700000 --gas-prices= "20aNGL" -y
Last updated 6 months ago