Before proceed, you may want to read about Initial Node Setup.
Sui FullNode — Building from Source
Minimum hardware requirements for running a Sui fullnode:
- CPUs: 2
- RAM: 8GB
- Storage: 50GB ( Storage requirements will vary based on various factors)
We recommend running Sui fullnodes on Linux. The Sui team supports the Ubuntu and Debian distributions and tests against Ubuntu version 18.04 (Bionic Beaver).
Configuring your fullnode:
Now it is time to go back to our server. Run Termius/Putty and connect your server with your new user. Run following commands one by one to install docker.
After installing docker, you need to download the fullnode-template.yaml, genesis.blob and docker-compose.yaml with the following commands.
To start the fullnode in detached mode using Docker, run:
Check logs by using following commands. Firstly use ‘docker ps’ to get te name of the existing container, then monitor recent logs.
You will see output like this:
Also you can check realtime node data from https://node.sui.zvalid.com/. Enter your server IP and click connect.
Syncing takes time. If you see ‘API NOT OK’, ensure that your ports are open. Run any one of the following command on Linux to see open ports:
Inspect the state of a running fullnode:
Reset the environment:
Take everything down, removing the container and volume. Use this to start completely fresh (image, config, or genesis updates):
Once the fullnode is up and running;
Get the five most recent transactions with JSON-RPC interfaces.
Checking running container label:
Checking genesis.blob hash:
Updating with new Genesis
MystenLabs Sui Sources: