SUI Full Node — Building from Source

Before proceed, you may want to read about Initial Node Setup.
For Sui FullNode — Docker Setup

Hardware requirements
Minimum hardware requirements for running a Sui fullnode:

  • CPUs: 2
  • RAM: 8GB
  • Storage: 50GB ( Storage requirements will vary based on various factors)

Software requirements
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). This guide uses Ubuntu version 20.04.

Installing the required tools and update packages

Make sure your entire toolchain stays up-to-date.

Configuring a full node

Set up your fork of the Sui repository:

Go to the Sui repository on GitHub and click the Fork button in the top right-hand corner of the screen. Then follow below commands.

Update the paths for suidb and genesis.blob

Update the db-path field with the path to where the full node's database is located. Update the genesis-file-location with the path to the genesis file.

Fullnode.yaml example:

Start your Sui Full Node

Before you start Sui Full Node open new shell with screen -R <name> command. So you can detach and leave the screen running in the background.

Start your fullnode.

To detach from screen: ctrl + a and d .
You can use screen -R command anytime to enter the screen and check if compiling finish.

Run the fullnode with service file

After building binary, stop your full node and detach from your screen.

Move the sui-node binary to /usr/local/bin/

Create suid.service file.

Copy below lines to your suid.service. Don’t forget the update <user> and chnage /path/to/fullnode.yaml with your fullnode.yaml location.

Start your node with service file:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
GateOmega

GateOmega

11 Followers

Gate Omega is a new start-up company based in Turkey. We are a team of 6 and currently focusing on disruptive and innovative crypto projects .