Check logs
sudo journalctl -u selfchain -f -o cat
Start service
sudo systemctl start selfchain
Stop service
sudo systemctl stop selfchain
Restart service
sudo systemctl restart selfchain
Check service status
sudo systemctl status selfchain
Reload services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable selfchain
Disable Service
sudo systemctl disable selfchain
Sync info
selfchaind status 2>&1 | jq .SyncInfo
Node info
selfchaind status 2>&1 | jq .NodeInfo
Latest Block Info
curl -s localhost:24357/status | jq .result.sync_info.latest_block_height
Your node peer
echo $(selfchaind tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.selfchain/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Last updated 1 day ago