Node Management

Check logs

sudo journalctl -u firmachain -f -o cat

Start service

sudo systemctl start firmachain

Stop service

sudo systemctl stop firmachain

Restart service

sudo systemctl restart firmachain

Check service status

sudo systemctl status firmachain

Reload services

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable firmachain

Disable Service

sudo systemctl disable firmachain

Sync info

firmachaind status 2>&1 | jq .SyncInfo

Node info

firmachaind status 2>&1 | jq .NodeInfo

Latest Block Info

curl -s localhost:16457/status | jq .result.sync_info.latest_block_height

Your node peer

echo $(firmachaind tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.firmachain/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

a

Last updated