Rent server onSponsored
Official documentation available here.
This document is focused on running the Sui Node software as a Mainnet Validator.
1. Installing
Install
Installation takes more than 15 minutes, it is recommended to run in a screen session:
screen -S sui
Use our script for a quick installation:
wget -O sui_mainnet.sh https://api.nodes.guru/sui_mainnet.sh && chmod +x sui_mainnet.sh && ./sui_mainnet.sh
Additional
Check node:
curl -s -X POST http://127.0.0.1:9000 -H 'Content-Type: application/json' -d '{ "jsonrpc":"2.0", "method":"rpc.discover","id":1}' | jq .result.info
Check node logs:
journalctl -u sui-node -f -o cat
Restart node:
sudo systemctl restart sui-node
Stop node:
sudo systemctl stop sui-node
Delete node:
sudo systemctl stop sui-node
sudo systemctl disable sui-node
rm -rf ~/sui /var/sui/ /usr/local/bin/sui*
rm /etc/systemd/system/sui-node.service