Rent on
Install
Installation takes more than 10 minutes, it is recommended to run in a screen session:
screen -S aptos
Use our script for a quick installation:
wget -q -O aptos_dev.sh https://api.nodes.guru/aptos_dev.sh && chmod +x aptos_dev.sh && sudo /bin/bash aptos_dev.sh
You can monitor the node with our telegram bot.
Additional
Check node logs:
journalctl -u aptosd -f
Restart node:
systemctl restart aptosd
Progress can be monitored by querying the metrics port:
curl 127.0.0.1:9101/metrics 2> /dev/null | grep aptos_state_sync_version
Show private key:
cat ~/.aptos/key/private-key.txt
Show peer-id and public key:
cat ~/.aptos/config/peer-info.yaml
Upgrade:
wget -q -O aptos_update.sh https://api.nodes.guru/aptos_update.sh && chmod +x aptos_update.sh && sudo /bin/bash aptos_update.sh
Delete node:
systemctl stop aptosd
systemctl disable aptosd
rm -rf ~/aptos*
rm -rf ~/.aptos
rm -rf /opt/aptos/