Useful commands
Node Backup and Restore
The NodeID is identified by two files:
staker.crt
staker.key
You will be able to find these files in the juneogo installation, specifically in ~/.juneogo/staking
.
This folder contains a third file:
signer.key
Check your node
curl -X POST --data '{ "jsonrpc":"2.0", "id" :1, "method" :"info.isBootstrapped", "params": { "chain":"JUNE" }}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info
Get your node informations
curl -X POST --data '{ "jsonrpc":"2.0", "id" :1, "method" :"info.getNodeID"}' -H 'content-type:application/json' 127.0.0.1:9650/ext/info
Check the health of your node
curl -H 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "id" :1, "method" :"health.health", "params": { "tags": ["11111111111111111111111111111111LpoYY"] }}' 'http://127.0.0.1:9650/ext/health'
Delete Node
sudo systemctl stop juneodsudo systemctl disable juneodrm /etc/systemd/system/juneod.servicerm -rf juneogo-binaries .juneogo