#空投大毛

💎 Good morning, friends!

Today I bring you the node tutorial, which may have some barriers. Friends with cloud servers or VPS can follow along; I do not recommend setting it up on your personal computer (you can do it, but it may be taxing on your computer and requires a WSL environment).

Windows computer tutorial: https://github.com/0xmoei/Install-Linux-on-Windows

🔥 Nodechain

Recently released mining task, zero-knowledge proof track, currently in testnet, mainnet goes live on the 19th. The testnet has no incentives, but early deployment is always good; it might automatically switch to the mainnet after deployment! Currently raising $5 million, worth following!

Device requirements: 16GB RAM, 6-core CPU, at least 50GB hard drive

The following commands are executed on Ubuntu 24.04

Step1: Update libraries

sudo apt-get update && sudo apt-get upgrade -y

Step2: Install libraries

sudo apt install curl iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli libgbm1 pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y

Step3: Install Rust (skip if already installed)

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

source $HOME/.cargo/env

Step4: Install Docker (skip if already installed; if your VPS is running other project nodes in Docker, executing the following steps may cause those nodes to exit. If you accidentally run it, be sure to restart the other project nodes)

sudo apt update -y && sudo apt upgrade -y

for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done

sudo apt-get update

sudo apt-get install ca-certificates curl gnupg

sudo install -m 0755 -d /etc/apt/keyrings

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

sudo chmod a+r /etc/apt/keyrings/docker.gpg

echo \

"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \

"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \

sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt update -y && sudo apt upgrade -y

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

# Test Docker

sudo docker run hello-world

sudo systemctl enable docker

sudo systemctl restart docker

Step5: Download Nodechain node

git clone https://github.com/zorp-corp/nockchain

cd nockchain

Step6: Compile

make install-choo

make build-hoon-all

make build

Step7: Create node wallet

export PATH="$PATH:$(pwd)/target/release"

wallet keygen

Step8: Run leader node

screen -S leader

make run-nockchain-leader

Seeing the above output, Ctrl+A, then press D to exit

Step9: Run follower node

screen -S follower

make run-nockchain-follower

Seeing the above output, Ctrl+A, then press D to exit

🦄 Node deployment completed! Note the official notice on the 19th for further operations needed to access the mainnet! For more real-time information, please check my profile!

Project founder's official Twitter: