Installation

If you want to setup Bonusblock fullnode manually follow the steps below

Update and upgrade

sudo apt update && sudo apt upgrade -y

Install GO

if ! [ -x "$(command -v go)" ]; then
  ver="1.19.3"
  cd $HOME
  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" >> ~/.bash_profile
  source ~/.bash_profile
fi

Install node

cd $HOME
rm -rf BonusBlock-chain/
git clone https://github.com/BBlockLabs/BonusBlock-chain
cd BonusBlock-chain/
make install

Setting up vars

You should replace values in <> <YOUR_MONIKER> Here you should put name of your moniker (validator) that will be visible in explorer <YOUR_WALLET> Here you shoud put the name of your wallet

Configure your node

Initialize your node

Download genesis

(OPTIONAL) Set custom ports

If you want to use non-default ports

Set seeds and peers

Config pruning

Set minimum gas price and null indexer

Create Service

Reset blockchain info and restart your node

(OPTIONAL) Use State Sync OR Snapshot

Starting a validator

1. Add a new key

(OR)

1. Recover your key

2. Request tokens from faucet

3. Create validator

Wait until the node is synchronized.

Last updated