Mainnet

Chain ID: blockx_100-1 | Node Version: v10.0.0

 

https://restake.nodestake.org/blockx

Auto-compound(every 1 hour),NodeStake will pay the gas fees

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.20.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

curl -LO https://github.com/defi-ventures/blockx-node-public-compiled/releases/download/v10.0.0/blockxd

chmod +x blockxd

mkdir -p $HOME/go/bin/

mv blockxd $HOME/go/bin/

Initialize Node

Replace NodeName with your own moniker.

blockxd init NodeName --chain-id=blockx_100-1

Download Genesis

curl -Ls https://ss.blockx.nodestake.org/genesis.json > $HOME/.blockxd/config/genesis.json 

Download addrbook

curl -Ls https://ss.blockx.nodestake.org/addrbook.json > $HOME/.blockxd/config/addrbook.json

Create Service

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

Download Snapshot(optional)

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

curl -o - -L https://ss.blockx.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.blockxd

Launch Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

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

 

https://rpc.blockx.nodestake.org

 

https://api.blockx.nodestake.org

 

https://grpc.blockx.nodestake.org:443

Chain Name: Blockx Mainnet
RPC: https://jsonrpc.blockx.nodestake.org/
Chain ID: 100
Symbol: BCX
Explorer: 

https://ss.blockx.nodestake.org/genesis.json

Download Genesis File

curl -Ls https://ss.blockx.nodestake.org/genesis.json > $HOME/.blockxd/config/genesis.json 

5c4a9eb7aedadcd4a88e80dfe88a3ef83b188a92@rpc.blockx.nodestake.org:666

Set Seed Node

seed="5c4a9eb7aedadcd4a88e80dfe88a3ef83b188a92@rpc.blockx.nodestake.org:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.blockxd/config/config.toml

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

https://ss.blockx.nodestake.org/addrbook.json

Download Addrbook

curl -Ls https://ss.blockx.nodestake.org/addrbook.json > $HOME/.blockxd/config/addrbook.json 

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

Set Peers

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

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

Stop Node And Reset

sudo systemctl stop blockxd

blockxd tendermint unsafe-reset-all --home ~/.blockxd/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc.blockx.nodestake.org: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\"|" ~/.blockxd/config/config.toml

more ~/.blockxd/config/config.toml | grep 'rpc_servers'

more ~/.blockxd/config/config.toml | grep 'trust_height'

more ~/.blockxd/config/config.toml | grep 'trust_hash'

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

We make the node snapshot every 12h

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Stop Node and Reset Date

sudo systemctl stop blockxd

cp $HOME/.blockxd/data/priv_validator_state.json $HOME/.blockxd/priv_validator_state.json.backup

rm -rf $HOME/.blockxd/data

blockxd tendermint unsafe-reset-all --home ~/.blockxd/ --keep-addr-book

Download Snapshot

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

curl -o - -L https://ss.blockx.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.blockxd

mv $HOME/.blockxd/priv_validator_state.json.backup $HOME/.blockxd/data/priv_validator_state.json

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

Get old Snapshots

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

Contact us for price

Name *
E-mail *
Network *

Testnet

Chain ID: blockx_50-1 | Node Version: v10.0.0

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.20.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

curl -LO https://github.com/defi-ventures/blockx-node-public-compiled/releases/download/v10.0.0/blockxd

chmod +x blockxd

mkdir -p /root/go/bin/

mv blockxd /root/go/bin/

blockxd version

Initialize Node

Replace NodeName with your own moniker.

blockxd init NodeName --chain-id=blockx_50-1

Download Genesis

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

Download addrbook

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

Create Service

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

Download Snapshot(optional)

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

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

Launch Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

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

 

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

 

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

 

https://grpc-t.blockx.nodestake.top:443

Chain Name: Blockx Testnet
RPC: https://jsonrpc-t.blockx.nodestake.top/
Chain ID: 50
Symbol: BCX
Explorer: 

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

Download Genesis File

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

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

Download Addrbook

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

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

516ff1074b20ad99b4f8caf11233a1d226c020bd@rpc-t.blockx.nodestake.top:666

Set Seed Node

seed="516ff1074b20ad99b4f8caf11233a1d226c020bd@rpc-t.blockx.nodestake.top:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.blockxd/config/config.toml

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

Set Peers

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

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

Stop Node And Reset

sudo systemctl stop blockxd

blockxd tendermint unsafe-reset-all --home ~/.blockxd/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc-t.blockx.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\"|" ~/.blockxd/config/config.toml

more ~/.blockxd/config/config.toml | grep 'rpc_servers'

more ~/.blockxd/config/config.toml | grep 'trust_height'

more ~/.blockxd/config/config.toml | grep 'trust_hash'

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -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|" ~/.blockxd/config/config.toml

Stop Node and Reset Date

sudo systemctl stop blockxd

cp $HOME/.blockxd/data/priv_validator_state.json $HOME/.blockxd/priv_validator_state.json.backup

rm -rf $HOME/.blockxd/data

blockxd tendermint unsafe-reset-all --home ~/.blockxd/ --keep-addr-book

Download Snapshot

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

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

mv $HOME/.blockxd/priv_validator_state.json.backup $HOME/.blockxd/data/priv_validator_state.json

Restart Node

sudo systemctl restart blockxd
journalctl -u blockxd -f

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