⚒️Installation
Stargaze Mainnet guide
Hardware Requirements
Mainnet
4
8 GB
200GB (SSD or NVME)
Server preparation
Update your system packages:
sudo apt update && sudo apt upgrade -yInstall essential dependencies:.
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -yInstall Go 1.23.1 (required for building Stargaze):
ver="1.23.1"
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
go versionBuild Stargaze Node
Clone Stargaze Git repository:
Checkout the desired version:
Build the Stargaze node:
Check the version:
Expected output:
version: 15.0.0-beta.3-testnet
commit: d69fb6b0d47c4b4c03906880375c03b51fbb44cb
Node Initialization
Set your moniker (validator name) by replacing
<moniker>with your desired name:
Configure the chain ID:
Create / recover wallet
Create a new wallet:
Or recover an existing wallet:
Download genesis and addrbook
Download Genesis and Addrbook files:
Verify the integrity of the Genesis file:
Expected output:
3b6b974f3b882b0ff94366169c4e598810ba4774f389c2816d9acb2fb71200b4
Setup Peers
Edit the configuration to include a peer (use the BlockPro peer in this example):
Pruning (optional)
Pruning helps reduce the storage size of the node. You can set it up as follows:
Enable pruning and set values:
Create a Systemd Service File
Create and configure the systemd service to run Stargaze as a service:
Reload and start the Stargaze service:
Create validator
Create your validator by replacing the placeholders with your values:
Delete node
Stop the Stargaze service:
Remove systemd service:
Remove the Stargaze node and data:
Last updated