Installation Validator

Install Node Producer

Chain ID: blockx_100-1 | Latest Binary Version: v1.0.1

Update and install packages for compiling

sudo apt update
sudo apt install curl git jq lz4 build-essential zsh -y

User Management

Running in user (Assume) : salinem

Create User, Please Refer to User and Group Management

Login as User salinem

su - salinem

or

sudo su - salinem

and make sure we are in directory

pwd

/mainnet/salinem

Running in user : salinem

FHS of blockx

Create FHS for application

echo "Install FHS"
mkdir -p ${HOME}/tmp
mkdir -p ${HOME}/lib
mkdir -p ${HOME}/bin
mkdir -p ${HOME}/conf
mkdir -p ${HOME}/systemd

Install blockx

cd ~
apt install jq -y
apt install unzip -y
git clone https://github.com/BlockXLabs/BlockX-Genesis-Mainnet1.git blockx
cd blockx
export GOPATH="${HOME}/lib"
make install 
cp ~/lib/go/bin/blockxd ~/bin

Environment

In this case, RoomIT used zsh, if you used bash just direct to ${HOME}/.bashrc or ${HOME}/.profile

echo 'export PATH="${PATH}:${HOME}/bin"' >> ${HOME}/.zshrc
source ~/.zshrc

Intialize Node

blockxd init <your_custom_moniker> --chain-id blockx_7070-2

Add Genesis

wget https://raw.githubusercontent.com/BlockXLabs/networks/master/chains/blockx_100-1/genesis.json
mv genesis.json ~/.blockxd/config/

Validate Genesis

blockxd validate-genesis

Edit config, You can refer to Edit Configuration Node

Apply State Sync, refer to State Sync

Last updated