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
  • EXPLORER
  • Hardware Requirements:
  • Preparing the server
  • GO 1.21.6
  • Build
  • Create/recover wallet
  • Download Genesis and addrbook
  • Setup the minimum gas price and Peers
  • Pruning
  • Create a service file
  • Start
  • Create validator
  • Delete node
  1. testnet
  2. Quasar

Installation

Quasar Testnet guide

PreviousQuasarNextUpgrade

Last updated 6 months ago

Hardware Requirements:

Node Type
CPU
RAM
Storage

Testnet

8

16GB

250GB

Preparing the server

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-rc0
make install
quasarnoded version --long | grep -e commit -e version
  • version: 3.0.0-rc0

  • commit: af7a94d86e7f36807fa657fe876f215d458c503a

quasarnoded init --chain-id quasar-test-1
quasarnoded config chain-id quasar-test-1

Create/recover wallet

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

Download Genesis and addrbook

wget -O $HOME/.quasarnode/config/genesis.json "https://github.com/Shoni-O/files/blob/main/testnet-files/quasar/genesis.json"
wget -O $HOME/.quasarnode/config/addrbook.json "https://github.com/Shoni-O/files/blob/main/testnet-files/quasar/addrbook.json"

Setup the minimum gas price and Peers

sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0uqsr\"|" $HOME/.quasarnode/config/app.toml

Pruning

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

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-test-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)
EXPLORER