Sui Full Node

Recommended Hardware: 8 physical cores / 16 vCPUs, 128 GB RAM, 4 TB of storage (NVME)

Install

Update packages and install necessary dependencies:

sudo apt update && sudo apt upgrade -y
sudo apt install -y curl git build-essential libssl-dev pkg-config libclang-dev cmake

Install Rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
rustup update
rustup default stable

Clone the Repository and Build Sui

Clone the Sui repository:

git clone https://github.com/MystenLabs/sui.git
cd sui

Switch to the latest stable version:

git checkout -b stable origin/stable

Build the binaries:

cargo build --release

Add binaries to your PATH:


Configure the Full Node

Create a directory for configuration:

Download the configuration template:

Edit the configuration: Open the fullnode-template.yaml file and set data storage paths, for example:

Download the genesis file:


Start the Node

Run the node in the background:

Create a systemd service for automated startup:

Add the following content:

Enable and start the service:


Verify Node Status

Check logs:

Ensure the node is synchronized: The logs should show synchronization with the network.

Check open ports: Ensure that ports 8080 and 9000 are accessible.


Update the Node

Stop the node:

Update the code:

Restart the node:

Last updated