Installation
Install Pre Requisites
sudo apt update
sudo apt install git build-essential curl jq lz4 --yes
wget https://go.dev/dl/go1.20.2.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.20.2.linux-amd64.tar.gz
rm go1.19.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
cat <<EOF >> ~/.profile
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source ~/.profile
go version
# OUTPUT
# go version go1.20.2 linux/amd64
Install Realio Node
git clone https://github.com/realiotech/realio-network
cd realio-network
git checkout v0.9.2
make install
realio-networkd version
# OUTPUT
# 0.9.2
Create Background Service
sudo tee /etc/systemd/system/realio-networkd.service > /dev/null << EOF
[Unit]
Description=Realio Network
After=network-online.target
[Service]
User=$USER
ExecStart=/home/$USER/go/bin/realio-networkd start
Restart=always
RestartSec=3
LimitNOFILE=10000
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable realio-networkd
Enable Realio Node In Background
sudo systemctl enable realio-networkd
Initialize Realio Node
realio-networkd config chain-id realionetwork_3301-1
realio-networkd init "your node name" --chain-id realionetwork_3301-1
Set Gas Price
sed -i 's|^minimum-gas-prices *=.*|minimum-gas-prices = "0.0026ario"|g' $HOME/.realio-networkd/config/app.toml
Get Genesis
wget https://snapshot.safeblock.space/realio/genesis.json -P $HOME/.realio-network/config
Start by StateSync or Snapshot
Start Realio Node
sudo systemctl start realio-networkd && sudo journalctl -fu realio-networkd -o cat
Last updated