Mainnet

Chain ID: realionetwork_3301-1 | Node Version: v0.8.0-rc4

Node Installation Guide

Update system and install build tools

sudo apt update

sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.19.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf realio-network/

git clone https://github.com/realiotech/realio-network.git

cd realio-network

git checkout v0.8.0-rc4

make install

realio-networkd version

Initialize Node

Replace NodeName with your own moniker.

realio-networkd init NodeName --chain-id=realionetwork_3301-1

Download Genesis

curl -Ls https://ss.realio.nodestake.top/genesis.json > $HOME/.realio-network/config/genesis.json 

Download addrbook

curl -Ls https://ss.realio.nodestake.top/addrbook.json > $HOME/.realio-network/config/addrbook.json

Create Service

sudo tee /etc/systemd/system/realio-networkd.service > /dev/null <<EOF
[Unit]
Description=realio-networkd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which realio-networkd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable realio-networkd

Download Snapshot(optional)

SNAP_NAME=$(curl -s https://ss.realio.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.realio.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.realio-network

Launch Node

sudo systemctl restart realio-networkd
journalctl -u realio-networkd -f

If you have any questions, please reach out to our Discord

 

https://rpc.realio.nodestake.top

 

https://api.realio.nodestake.top

 

https://grpc.realio.nodestake.top

Chain Name: Realio Mainnet
RPC: https://jsonrpc.realio.nodestake.top/
Chain ID: 3301
Symbol: RIO
Explorer: 

https://ss.realio.nodestake.top/genesis.json

Download Genesis File

curl -Ls https://ss.realio.nodestake.top/genesis.json > $HOME/.realio-network/config/genesis.json 

https://ss.realio.nodestake.top/addrbook.json

Download Addrbook

curl -Ls https://ss.realio.nodestake.top/addrbook.json > $HOME/.realio-network/config/addrbook.json 

Restart Node

sudo systemctl restart realio-networkd
journalctl -u realio-networkd -f

Set Peers

peers=$(curl -s https://ss.realio.nodestake.top/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.realio-network/config/config.toml

Restart Node

sudo systemctl restart realio-networkd
journalctl -u realio-networkd -f

Stop Node And Reset

sudo systemctl stop realio-networkd

realio-networkd tendermint unsafe-reset-all --home ~/.realio-network/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc.realio.nodestake.top:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \

s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \

s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \

s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \

s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" ~/.realio-network/config/config.toml

more ~/.realio-network/config/config.toml | grep 'rpc_servers'

more ~/.realio-network/config/config.toml | grep 'trust_height'

more ~/.realio-network/config/config.toml | grep 'trust_hash'

Restart Node

sudo systemctl restart realio-networkd
journalctl -u realio-networkd -f

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.realio-network/config/config.toml

Stop Node and Reset Date

sudo systemctl stop realio-networkd

cp $HOME/.realio-network/data/priv_validator_state.json $HOME/.realio-network/priv_validator_state.json.backup

rm -rf ~/.realio-network/data

realio-networkd tendermint unsafe-reset-all --home ~/.realio-network/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss.realio.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.realio.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.realio-network

mv $HOME/.realio-network/priv_validator_state.json.backup $HOME/.realio-network/data/priv_validator_state.json

Restart Node

sudo systemctl restart realio-networkd
journalctl -u realio-networkd -f

If you have any questions, please reach out to our Discord

Testnet

Chain ID: realionetwork_3300-2 | Node Version: v0.8.0-rc4

Node Installation Guide

Update system and install build tools

sudo apt update

sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.19.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf realio-network/

git clone https://github.com/realiotech/realio-network.git

git checkout v0.8.0-rc2

cd realio-network

make install

realio-networkd version

Initialize Node

Replace NodeName with your own moniker.

realio.networkd init NodeName --chain-id=realionetwork_3300-1

Download Genesis

curl -Ls https://ss-t.realio.nodestake.top/genesis.json > $HOME/.realio.network/config/genesis.json 

Download addrbook

curl -Ls https://ss-t.realio.nodestake.top/addrbook.json > $HOME/.realio.network/config/addrbook.json

Create Service

sudo tee /etc/systemd/system/realio.networkd.service > /dev/null <<EOF
[Unit]
Description=realio.networkd Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which realio.networkd) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable realio.networkd

Download Snapshot(optional)

SNAP_NAME=$(curl -s https://ss-t.realio.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.realio.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.realio.network

Launch Node

sudo systemctl restart realio.networkd
journalctl -u realio.networkd -f

If you have any questions, please reach out to our Discord

 

https://rpc-t.realio.nodestake.top

 

https://api-t.realio.nodestake.top

 

https://grpc-t.realio.nodestake.top

Chain Name: Realio Testnet
RPC: https://jsonrpc-t.realio.nodestake.top/
Chain ID: 3300
Symbol: RIO
Explorer: 

https://ss-t.realio.nodestake.top/genesis.json

Download Genesis File

curl -Ls https://ss-t.realio.nodestake.top/genesis.json > $HOME/.realio-network/config/genesis.json 

https://ss-t.realio.nodestake.top/addrbook.json

Download Addrbook

curl -Ls https://ss-t.realio.nodestake.top/addrbook.json > $HOME/.realio.network/config/addrbook.json 

Restart Node

sudo systemctl restart realio.networkd
journalctl -u realio.networkd -f

Set Peers

peers=$(curl -s https://ss-t.realio.nodestake.top/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.realio.network/config/config.toml

Restart Node

sudo systemctl restart realio.networkd
journalctl -u realio.networkd -f

Stop Node And Reset

sudo systemctl stop realio.networkd

realio.networkd tendermint unsafe-reset-all --home ~/.realio.network/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc-t.realio.nodestake.top:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \

s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \

s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \

s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \

s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" ~/.realio.network/config/config.toml

more ~/.realio.network/config/config.toml | grep 'rpc_servers'

more ~/.realio.network/config/config.toml | grep 'trust_height'

more ~/.realio.network/config/config.toml | grep 'trust_hash'

Restart Node

sudo systemctl restart realio.networkd
journalctl -u realio.networkd -f

We make the node snapshot every 6h

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.realio.network/config/config.toml

Stop Node and Reset Date

sudo systemctl stop realio.network

cp $HOME/.realio.network/data/priv_validator_state.json $HOME/.realio.network/priv_validator_state.json.backup

rm -rf ~/.realio.network/data

realio.networkd tendermint unsafe-reset-all --home ~/.realio.network/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss-t.realio.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.realio.nodestake.top/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.realio.network

mv $HOME/.realio.network/priv_validator_state.json.backup $HOME/.realio.network/data/priv_validator_state.json

Restart Node

sudo systemctl restart realio.networkd
journalctl -u realio.networkd -f

If you have any questions, please reach out to our Discord