docker

Sui Node Setup

Sui Node Requirements

🔲 OS Ubuntu 18.04 or 20.04 🔲 2 CPUs 🔲 8GB RAM 🔲 50GB 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.

1. Switch to root user

sudo su

2. Clone and Install Scripts

wget -q -O sui_setup.sh https://raw.githubusercontent.com/Contribution-DAO/sui-node-setup/main/docker/sui_docker.sh && chmod +x sui_setup.sh && sudo /bin/bash sui_setup.sh

3. 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

Send a request, the result should be something like this:

{
  "title": "Sui JSON-RPC",
  "description": "Sui JSON-RPC API for interaction with the Sui network gateway.",
  "contact": {
    "name": "Mysten Labs",
    "url": "https://mystenlabs.com",
    "email": "build@mystenlabs.com"
  },
  "license": {
    "name": "Apache-2.0",
    "url": "https://raw.githubusercontent.com/MystenLabs/sui/main/LICENSE"
  },
  "version": "0.1.0"
}

4. Monitor your node health status

  1. Go to https://node.sui.zvalid.com/

  2. Insert your node ip

5. Register your node on discord

After fisnish install Sui node, You have register your node in the Sui Discord:

  1. Go to Channel #📋node-ip-application

6. Update sui node.

wget -q -O sui_update.sh https://raw.githubusercontent.com/Contribution-DAO/sui-node-setup/main/docker/update.sh && chmod +x sui_update.sh && sudo /bin/bash sui_update.sh

Optional Command

Check sui node log

docker logs -f sui-fullnode-1 --tail 50

Restart sui node

docker-compose restart

Stop sui node

docker-compose stop

Start sui node

docker-compose start

Check sui node process

docker ps -a

Last updated