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. Quasar

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/quasar-finance/quasar.git
cd quasar
git checkout v3.0.0
make install
quasarnoded version --long | grep -e commit -e version

Result

  • version: 3.0.0

  • commit: 899268292f2945f98b7d1f6c4c98b03509ddb9be


Initiation

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

quasarnoded init <moniker> --chain-id quasar-1
quasarnoded config chain-id quasar-1

Create / recover wallet

Change <walletname> to the name of your wallet

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

Download genesis and addrbook

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

Result

  • 2eb786d599f3b52ead11cf3e118aa09b7ca0ec4bc8464922c91cbc0ca68cea09


Setup the minimum gas price and Peers

sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.1uqsr,0.01ibc/0471F1C4E7AFD3F07702BEF6DC365268D64570F7C1FDC98EA6098DD6DE59817B,0.01ibc/FA0006F056DB6719B8C16C551FC392B62F5729978FC0B125AC9A432DBB2AA1A5,0.01ibc/FA7775734CC73176B7425910DE001A1D2AD9B6D9E93129A5D0750EAD13E4E63A\"|" $HOME/.quasarnode/config/app.toml

Pruning (optional)

sed -i \
  -e 's|^pruning *=.*|pruning = "custom"|' \
  -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
  -e 's|^pruning-keep-every *=.*|pruning-keep-every = "0"|' \
  -e 's|^pruning-interval *=.*|pruning-interval = "19"|' \
  $HOME/.quasarnode/config/app.toml

Create a service file

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

[Service]
User=root
ExecStart=/root/go/bin/quasarnoded 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 quasarnoded && sudo journalctl -u quasarnoded -f -o cat

Create validator

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

quasarnoded tx staking create-validator \
  --amount 1000000uqsr \
  --from <walletName> \
  --commission-max-change-rate "0.05" \
  --commission-max-rate "0.20" \
  --commission-rate "0.05" \
  --min-self-delegation "1" \
  --pubkey $(quasarnoded tendermint show-validator) \
  --moniker YOUR_MONIKER_NAME \
  --chain-id quasar-1 \
  --identity="YOUR_KEYBASE_ID" \
  --details="YOUR_DETAILS" \
  --website="YOUR_WEBSITE_URL"
  --gas-adjustment 1.4 \
  --gas auto \
  --gas-prices 0.1uqsr \
  -y

Delete node

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

Last updated 6 months ago

🗻