Installation
Install and synchronize Nolus Mainnet, one command at a time.
Mainnet · pirin-1 · Ubuntu 24.04 / x86-64
Use a normal Linux account with sudo access. Commands assume a new node and the same shell session. Existing operators should use Upgrade.
This guide builds v0.8.7 for pirin-1 and uses a snapshot from after the upgrade at height 28,636,850. For a recent snapshot from the v0.8.6-patch era, run that release until the upgrade halt, then switch using Upgrade. Proposal #379 has passed.
1. Prepare packages
Refresh package metadata.
sudo apt updateInstall dependencies
Install download, build and snapshot tools.
sudo apt install -y ca-certificates curl jq git make build-essential golang-go lz4 tarInstall the binary
Download the release source
Clone the tagged release into a new directory. Keep any existing checkout intact.
git clone --branch v0.8.7 --depth 1 https://github.com/nolus-protocol/nolus-core.git "$HOME/nolus-core-v0.8.7"Open the source tree
Run the following build commands from this directory.
Check the required Go toolchain
The v0.8.7 release uses Go 1.27.3. Read the checkout's Go directives; with GOTOOLCHAIN=auto, Go 1.21+ can download the required toolchain.
Build and install
Build the selected release; the Go toolchain is selected from its go.mod.
Install in the service path
Copy the built executable to the path used by systemd.
Locate the release’s Wasm library
Resolve the WasmVM module used by this exact checkout.
Install its runtime library
Use the matching x86-64 library from the downloaded module.
Refresh the linker cache
Make the shared library discoverable to the service.
Verify the binary
Confirm the new installation's service executable starts and reports v0.8.7.
Initialize and connect
Initialize once
Replace MY_NODE with your own moniker. Do not rerun this over an existing validator home.
Download genesis
Save network genesis to the node configuration.
Verify the network
Continue only if the file is valid JSON and this check returns true.
Download the address book
Load BlockPro’s published peer discovery file.
Check the address book
Ensure the download contains peer records, not an HTML error page.
Set minimum gas prices
Set this node’s local transaction admission policy using the official Nolus configuration example. This setting controls the minimum fee per gas accepted by this node; transaction gas limits are set separately.
Use bounded pruning
Keep the application’s standard pruning policy; archive operation needs more disk space.
Run with systemd
Create the service
Run the node as the current non-root account, with automatic restart after a process failure.
Load the unit
Tell systemd about the new service.
Enable on boot
Enable the service without starting it yet.
Restore recent state
Follow Snapshots before starting. The current binary may not replay every historical upgrade from genesis. Choose a snapshot compatible with the installed release.
Start
Start the node after restoration.
Follow logs
Look for advancing blocks; Ctrl+C leaves the service running.
Check synchronization
Wait for catching_up to become false and compare the height with the explorer.
Next: Validator or Useful Commands.
Last updated