BlockPro | Services
  • About
  • HUB
    • Namada HUB
      • What is Namada?
      • News & Updates
      • Guides
        • Running Low on $NAM for Gas? Try This!
      • Validator Services
      • Governance
      • Contribute / Feedback
    • Fuel HUB
      • What is Fuel?
      • News & Updates
      • Guides
        • How to stake
      • Validator Services
      • Governance
      • Contribute / Feedback
  • mainnet
    • Lava
      • ⚙️Services | Snapshot
      • 🗻Installation
      • 🖱️Upgrade
      • 🖥️Useful commands
    • Stargaze
      • ⚒️Installation
      • ⚙️Services | Sync
      • 🔄Upgrade
      • 🖥️Useful commands
    • Fuel
      • ⚒️Run Sequencer Validator
      • ⚙️Services | Sync
      • 🖥️Useful commands
      • Ethereum Mainnet Full Node
    • Namada Docs
      • ⚒️Installation
      • ⚙️Services Snapshot
    • Nolus
      • ⚙️Services | Snapshot
      • 🗻Installation
      • 🖱️Upgrade
      • 🖥️Useful commands
    • Quasar
      • ⚙️Services | Snapshot
      • 🗻Installation
      • 🖱️Upgrade
      • 🖥️Useful commands
    • Cross Finance
  • testnet
    • Cross Finance
      • Installation
    • Lava
      • Installation
      • Upgrade
      • Useful commands
    • Quasar
      • Installation
      • Upgrade
      • Useful commands
    • 0G
      • Installation
      • Upgrade
      • Useful commands
    • Story
      • ⚙️Services | Snapshot
      • 🗻Installation
      • 🖱️Upgrade
      • 🖥️Useful commands
    • Warden
      • ⚙️Services | Snapshot
      • 🗻Installation
      • 🖱️Upgrade
      • 🖥️Useful commands
Powered by GitBook
On this page
  • Hardware Requirements
  • Server preparation
  • GO 1.21.6
  • Build
  • Initiation
  • Create / recover wallet
  • Download genesis and addrbook
  • Setup the minimum gas price and Peers
  • Pruning (optional)
  • Create a service file
  • Start
  • Create validator
  • Delete node
  1. mainnet
  2. Nolus

Installation

Nolus Mainnet guide

Hardware Requirements

Node Type
CPU
RAM
Storage

Mainnet

4+

16+

240+ GB SSD

Server preparation

sudo apt update && sudo apt upgrade -y
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y

GO 1.21.6

ver="1.21.6"
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 version

Build

cd $HOME
git clone https://github.com/Nolus-Protocol/nolus-core.git
cd nolus-core
git checkout v0.7.3
make install
nolusd version --long | grep -e commit -e version

Result

  • version: 0.7.3

  • commit: 9d870b4a1181aac3a2ea3fbac1257911c18466e2


Initiation

Change <moniker> to your value, moniker is the name of your validator.

nolusd init <moniker> --chain-id pirin-1
nolusd config chain-id pirin-1

Create / recover wallet

Change <walletname> to the name of your wallet

nolusd keys add <walletname>
or
nolusd keys add <walletname> --recover

Download genesis and addrbook

https://raw.githubusercontent.com/Shoni-O/files/main/mainnet-files/nolus/genesis.json
https://raw.githubusercontent.com/Shoni-O/files/main/mainnet-files/nolus/addrbook.json
sha256sum $HOME/.nolus/config/genesis.json

Result

  • 795cd3a16bae2df6c973c4470b3d5f8811e590959aa5b70bd4e377b2b1d046b4


Setup the minimum gas price and Peers

sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.0025unls\"|" $HOME/.nolus/config/app.toml

PEERS="89757803f40da51678451735445ad40d5b15e059@169.155.168.149:26656,c6be81e1757c31012ef201d396981d69d370f37a@162.19.237.150:26656,65d9be311c814f775eda349427d11a39eb6b8623@5.10.19.39:26656,97e4468ac589eac505a800411c635b14511a61bb@134.65.195.225:26656,d3f29b638d089a73651a290c3f2e27b8da663f92@65.109.122.105:60756,d2247f7b919f0781c90ee61958d7044665a22d38@164.152.160.230:26656,488c9ee36fc5ee54e662895dfed5e5df9a5ff2d5@136.243.39.118:26656,c124ce0b508e8b9ed1c5b6957f362225659b5343@134.65.193.172:26656,4868bb0024f54952ae5e2f191e1363ac29aab49c@65.108.71.163:2640,6cceba286b498d4a1931f85e35ea0fa433373057@169.155.170.20:26656"

Pruning (optional)

sed -i \
  -e 's|^pruning *=.*|pruning = "nothing"|' \
  $HOME/.nolus/config/app.toml

Create a service file

tee /etc/systemd/system/nolusd.service > /dev/null <<EOF
[Unit]
Description=nolusd
After=network-online.target

[Service]
User=$USER
ExecStart=$(which nolusd) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

Start

sudo systemctl daemon-reload
sudo systemctl enable nolusd
sudo systemctl restart nolusd && sudo journalctl -u nolusd -f -o cat

Create validator

Change walletName, YOUR_MONIKER_NAME, YOUR_KEYBASE_ID, YOUR_DETAILS and YOUR_WEBSITE_URL to your values

nolusd tx staking create-validator \
  --amount 1000000unls \
  --from <walletName> \
  --commission-max-change-rate "0.01" \
  --commission-max-rate "0.20" \
  --commission-rate "0.05" \
  --min-self-delegation "1" \
  --pubkey  $(nolusd tendermint show-validator) \
  --moniker YOUR_MONIKER_NAME \
  --chain-id pirin-1 \
  --identity="YOUR_KEYBASE_ID" \
  --details="YOUR_DETAILS" \
  --website="YOUR_WEBSITE_URL" -y

Delete node

sudo systemctl stop nolusd && \
sudo systemctl disable nolusd && \
rm /etc/systemd/system/nolusd.service && \
sudo systemctl daemon-reload && \
cd $HOME && \
rm -rf nolus-core && \
rm -rf .nolus && \
rm -rf $(which nolusd)
PreviousServices | SnapshotNextUpgrade

Last updated 2 months ago

🗻