Sui Node Setup
Sui Node Requirements
OS Ubuntu 18.04 or 20.04
10 CPUs
32GB RAM
1000GB Storage
Port 9000, 9184
Need Super user or root for run this script.
Official Site:
Official web site : https://sui.io/
Run a Sui Fullnode : https://github.com/MystenLabs/sui/blob/main/doc/src/build/fullnode.md
Node health monitor : https://node.sui.zvalid.com/
Set up Sui full node with auto script.
Clone and Install Scripts
TESTNET
wget -q -O sui_testnet.sh https://raw.githubusercontent.com/Contribution-DAO/sui-node-setup/main/sui_testnet.sh && chmod +x sui_testnet.sh && sudo /bin/bash sui_testnet.sh
DEVNET
wget -q -O sui_devnet.sh https://raw.githubusercontent.com/Contribution-DAO/sui-node-setup/main/sui_devnet.sh && chmod +x sui_devnet.sh && sudo /bin/bash sui_devnet.sh
Verify your node running
Check Node Status
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 the latest TX on your node
curl -s -X POST http://127.0.0.1:9000 -H 'Content-Type: application/json' --data-raw '{ "jsonrpc":"2.0", "method":"sui_getTotalTransactionNumber","id":1}' | jq
Check the latest TX on testnet chain
curl -s -X POST https://fullnode.testnet.sui.io:443 --header 'Content-Type: application/json' --data-raw '{ "jsonrpc":"2.0", "method":"sui_getTotalTransactionNumber","id":1}' | jq
Check the latest TX on devnet chain
curl -s -X POST https://fullnode.devnet.sui.io:443 --header 'Content-Type: application/json' --data-raw '{ "jsonrpc":"2.0", "method":"sui_getTotalTransactionNumber","id":1}' | jq
Monitor your node health status
Optional Command
Check sui node status
Check sui node logs
journalctl -u suid -f -o cat
Stop sui node
sudo systemctl stop suid
Start sui node
sudo systemctl start suid
Retart sui node
sudo systemctl restart suid
Delete sui node
sudo systemctl stop suid
sudo systemctl disable suid
sudo rm -rf $HOME/sui_node
sudo rm /etc/systemd/system/suid.service
Update Sui full node with auto script.
Clone and Install Scripts
TESTNET
wget -q -O sui_testnet_update.sh https://raw.githubusercontent.com/Contribution-DAO/sui-node-setup/main/sui_testnet_update.sh && chmod +x sui_testnet_update.sh && sudo /bin/bash sui_testnet_update.sh
DEVNET
wget -q -O sui_devnet_update.sh https://raw.githubusercontent.com/Contribution-DAO/sui-node-setup/main/sui_devnet_update.sh && chmod +x sui_devnet_update.sh && sudo /bin/bash sui_devnet_update.sh