sui_manual

👉Join Channel Telegram

👉Deploy server vps anda dengan menggunakan link refferal kami dan dapatkan bonus 20€

Tutorial Fullnode SUI on VPS by lukman (source code manual) (●'◡'●)

  1. pkg update

sudo apt update && sudo apt upgrade -y
  1. Install Depencies

sudo apt install wget jq git libclang-dev cmake -y
  1. Install rust

echo source $HOME/.cargo/env || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

then update rust

rustup update
  1. Install screen

apt-get install screen -y

then create new screen

screen -R "sui-core"

wait till open new window

  1. Open Ports

cd || return

then

apt install ufw -y
ufw allow ssh
ufw allow https
ufw allow http
ufw allow 9000
ufw allow 9184
ufw enable

Press y then Enter

  1. Install SUI Binaries

cargo install --locked --git https://github.com/MystenLabs/sui.git --branch testnet sui sui-node

This instalation may take long time, estimated 1-2 hours

  1. Install Integrated Development Environment

cargo install --git https://github.com/move-language/move move-analyzer --features "address20"
  1. Create wallet

sui client active-address

press y

then ENTER ,

after then choose 0 ,enter

To view your address use sui client active-address

  1. Setup validator

  • Dowload source code

    git clone https://github.com/MystenLabs/sui.git --branch testnet
  • open directory sui

cd sui
  1. Set up the Sui repository as a git remote:

git remote add upstream https://github.com/MystenLabs/sui
  1. sync fork

git fetch upstream
  1. copy fullnode template + genesis

cp crates/sui-config/data/fullnode-template.yaml fullnode.yaml && curl -fLJO https://github.com/MystenLabs/sui-genesis/raw/main/testnet/genesis.blob
  1. open screen again with screen -S sui then put this code

cargo run --release --bin sui-node -- --config-path fullnode.yaml

Close screen by CTRL A+D

Check your NODE here : https://node.sui.zvalid.com/

paste your IP

Last updated