Installation
Quasar Testnet guide
Last updated
Quasar Testnet guide
Last updated
Node Type | CPU | RAM | Storage |
---|---|---|---|
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
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
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 keys add <walletname>
quasarnoded keys add <walletname> --recover
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"
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0uqsr\"|" $HOME/.quasarnode/config/app.toml
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
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
sudo systemctl daemon-reload
sudo systemctl enable nolusd
sudo systemctl restart quasarnoded && sudo journalctl -u quasarnoded -f -o cat
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
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)
quasarnoded init --chain-id quasar-test-1
quasarnoded config chain-id quasar-test-1
Testnet
8
16GB
250GB