π‘Useful Command
Check your node status using curl
curl -X GET \
-H "X-Algo-API-Token: yourtoken" \
"http://127.0.0.1:8080/v2/status"
Check your algorand service status
systemctl status algorand
Restart node
systemctl restart algorand
Check node status
goal node status -d /var/lib/algorand
β οΈ Stop node β οΈ
systemctl stop algorand
β οΈ Delete Algorand from your server β οΈ
apt-get remove algorand algorand-devtools
sudo rm -rf /var/lib/algorand/
Add variable
In this step if you want to use goal node status
without using -d flags you can follow this command below.
echo "export ALGORAND_DATA=/var/lib/algorand" >> ~/.bash_profile
source ~/.bash_profile
Now you can use this command without using -d flags.
goal node status
I'll add more command soon, i just exploring algorand node.
Last updated
Was this helpful?