💡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 algorandRestart node
systemctl restart algorandCheck node status
goal node status -d /var/lib/algorand⚠️ Stop node ⚠️
systemctl stop algorand⚠️ Delete Algorand from your server ⚠️
apt-get remove algorand algorand-devtoolssudo 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_profileNow you can use this command without using -d flags.
goal node statusI'll add more command soon, i just exploring algorand node.
Last updated
Was this helpful?