A guide to setting up a Sui full node
Hardware Requirement
2 vCPU
8G RAM
50G SSD
Dependencies
sudo apt-get update \\
&& DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get install -y --no-install-recommends \\
tzdata \\
git \\
ca-certificates \\
curl \\
build-essential \\
libssl-dev \\
pkg-config \\
libclang-dev \\
cmake
Install Rust
# Remove rustc if its installed
sudo apt remove rustc
# then
curl <https://sh.rustup.rs/> -sSf | sh
Fork Sui Repo
Go to https://github.com/MystenLabs/sui and fork the repo.
Clone the fork
git clone <https://github.com/><YOUR-GITHUB-USERNAME>/sui.git
cd sui
# Set up main remote repo
git remote add upstream <https://github.com/MystenLabs/sui>
# Sync your fork
git fetch upstream
# Checkout devnet branch
git checkout --track upstream/devnet
# Make a fullnode template
cp crates/sui-config/data/fullnode-template.yaml fullnode.yaml
# Download genesis
curl -fLJO <https://github.com/MystenLabs/sui-genesis/raw/main/devnet/genesis.blob>
Configure project path (optional)