AviaOne logo

BLOCKX (Chain ID : blockx_100-1)
by AviaOne BlockChains Service 🟢

Logo Blockx

BLOCKX

AI powered Layer 1 cross-chain blockchain Hub built interoperability to all other chains and compatible with EVM and Cosmos dapps to build mainstream Web3 dapps with AI

Public endpoints

STEP 1 Update your server to get the latest version
sudo apt update && sudo apt upgrade -y
STEP 2 Install packages
sudo apt install git curl wget tar lz4 unzip jq build-essential pkg-config clang bsdmainutils make ncdu -y
STEP 3 Install Go

Go is a programming language allowing each node of the Cosmos ecosystem to operate.
Go is a compiled and concurrent programming language inspired by C and Pascal.
This language was developed by Google from an initial concept by Robert Griesemer, Rob Pike and Ken Thompson.

cd $HOME
version="1.20.4"
wget "https://golang.org/dl/go$version.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$version.linux-amd64.tar.gz"
rm "go$version.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile

Check GO version, it must return : go version go1.20.4 linux/amd64

go version
Top page
STEP 4 Install App and build

Here we will install the node for Blockx with this binary version :

Please be sure to install the latest version one last minute version can be published ! Please check by yourself here...
cd $HOME
git clone https://github.com/BlockXLabs/networks.git 
cd blockxd 
git checkout  
make install

Check if the binary "blockxd" version has been correctly installed

blockxd version
Top page
STEP 5 Set variables

What does moniker mean?
A personal name or nickname. This name (moniker) will appear in the blockchain explorer.

SPACE in your moniker will create errors

BLOCKX_MONIKER="Replace_AVIAONE_by_your_name"
Top page
STEP 6 Initialize the node (part 1)

We are now ready to initialze the node


blockxd init $BLOCKX_MONIKER --chain-id blockx_100-1
Top page
STEP 7 Initialize the node (part 2)

Set minimum gas price

sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0abcx\"|" $HOME/.blockxd/config/app.toml

Download genesis

wget -O $HOME/.blockxd/config/genesis.json "https://github.com/BlockXLabs/networks/blob/master/chains/blockx_100-1/genesis.json"

Download addrbook

wget -O $HOME/.blockxd/config/addrbook.json ""

Add Seeds

SEEDS="479dfa1948f49b08810cd16bf6c2d3256ae85423@137.184.7.64:26656,e15f4d31281036c69fa17269d9b26ff8733511c6@147.182.238.235:26656,9b84b33d44a880a520006ae9f75ef030b259cbaf@137.184.38.212:26656,85d0069266e78896f9d9e17915cdfd271ba91dfd@146.190.153.165:26656"
sed -i -e "s|^seeds *=.*|seeds = \"$SEEDS\"|" $HOME/.blockxd/config/config.toml

Change ports

Advanced users ONLY !

Clear Data

blockxd tendermint unsafe-reset-all $HOME/.blockxd --keep-addr-book
Top page
STEP 8 Create service to START and STOP (/etc/systemd/system)

This will let you start and stop your node with /etc/systemd/system

sudo tee /etc/systemd/system/blockxd.service > /dev/null <<EOF
[Unit] 
Description=BLOCKX\n 
After=network.target 
[Service] 
Type=simple
User=$USER
ExecStart=$(which blockxd) start 
Restart=on-failure RestartSec=10 LimitNOFILE=65535 [Install] WantedBy=multi-user.target EOF
sudo systemctl enable blockxd 
sudo systemctl daemon-reload

This command will start your node

Do not use it now if you are going to use below : Snapshot | State Sync (because your node shouldn't start now... but after the Snapshot | State Sync)

sudo systemctl restart blockxd && journalctl -u blockxd -f --no-hostname -o cat
Top page
STEP 10 Now get synced and check 9397055

With the command used just above, your node just started, now BE PATIENT your node has started to work and will need time to get synced on the last block.

First check your logs and have a look at what's going on !

You should see some output like this which confirm that your node is indexing blocks

### indexed block exents height=9397055 module=txindex

How to check if your node is already fully synced? ?

blockxd status 2>&1 | jq .SyncInfo

The current block number is :9397055 and the last block app hash is :q1vkC9tNFf1iWhIzcMKuLWSdnDmCu1OMrlbHsDRp8oQ=

true mean syncing on the way, and true is NOT SYNCED

You will see an output with :

"catching_up": false

If you get true instead of false, please wait... it's not done yet, it's on the way...

true mean syncing on the way, and true is NOT SYNCED

The current block number is :9397055 and the last block app hash is :q1vkC9tNFf1iWhIzcMKuLWSdnDmCu1OMrlbHsDRp8oQ=

Top page
STEP 11 Create or recover a wallet

Why it's better to get synced before to create or recover a wallet ?
Because when your wallet will be created or recovered, if you are not synced, you will not be able to check the balance !

Create Wallet

blockxd keys add name_wallet 

Recover Wallet

blockxd keys add name_wallet --recover 
Top page
STEP 12 Create your validator (NEVER DO IT if you are not already synced with the last block)

Create your validator if you are not synced, you will get some troubles...

blockxd tx staking create-validator \
 --amount=1000000abcx \
 --pubkey=$(blockxd tendermint show-validator) \
 --moniker="YOUR_NICKNAME" \
 --chain-id=blockx_100-1 \
 --commission-rate=0.05 \
 --commission-max-rate=0.2 \
 --commission-max-change-rate=0.02 \
 --min-self-delegation=1 \
 --website="https://your-website.com" \
 --identity="keyBASE_id" \
 --details="This is will be display in the blockchain explorer. Write here something about you"\
 --gas-prices=0.1abcx \
 --gas-adjustment=1.5 \
 --gas=auto \
 --from=WRITE_HERE_YOUR_WALLET_ADDRESS
Top page
LAST STEP EVERYTHING IS DONE !!!

Congratulations, your made all the steps above necessary to setup the node for BLOCKX (chain-id=blockx_100-1) with success and your node is already online now.

Top page
Find here the most useful commands for Blockx (--chain-id blockx_100-1)
blockxd q bank balances YOUR_WALLET_NUMBER

Must return false to get synced

blockxd status 2>&1 | jq .SyncInfo
journalctl -u blockxd -f --no-hostname -o cat

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx gov vote 14 yes --from YOUR_WALLET_NUMBER --chain-id blockx_100-1

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx slashing unjail --chain-id=blockx_100-1 --from YOUR_WALLET_NUMBER -y
sudo systemctl restart blockxd && journalctl -u blockxd -f --no-hostname -o cat
blockxd q bank balances YOUR_WALLET_NUMBER
blockxd keys add YOUR_WALLER_NAME
blockxd keys add YOUR_WALLET_NUMBER --recover
blockxd keys list
blockxd keys delete YOUR_WALLET_NUMBER

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx gov vote 14 yes --from YOUR_WALLET_NUMBER --chain-id blockx_100-1

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx gov vote 14 no --from YOUR_WALLET_NUMBER --chain-id blockx_100-1

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx gov vote 14 no_with_veto --from YOUR_WALLET_NUMBER --chain-id blockx_100-1

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx gov vote 14 abstain --from YOUR_WALLET_NUMBER --chain-id blockx_100-1

(In some case that's necessary to add "fees" or --gas=auto)

blockxd query gov proposals

(In some case that's necessary to add "fees" or --gas=auto)

blockxd query gov proposal 14

(In some case that's necessary to adjust : "deposit" or "fees" or --gas=auto)

blockxd tx gov submit-proposal \
--from YOUR_WALLET_NUMBER \
--chain-id blockx_100-1 \
--deposit=100000000abcx \
--type="Text" \
--title="Write here the title of your proposal for Blockx" \
--description="Describe here with details your proposal for Blockx" \
--fees=10000abcx \
--gas=auto \
-y 

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx slashing unjail --chain-id=blockx_100-1 --from YOUR_WALLET_NUMBER -y
blockxd keys show YOUR_WALLET_NUMBER --bech val -a
blockxd query staking validator YOUR_VALIDATOR_VALOPER --output json 
blockxd q staking validator $(blockxd keys show YOUR_WALLET_NUMBER --bech val -a)
blockxd query slashing signing-info $(blockxd tendermint show-validator)
blockxd status 2>&1 | jq .ValidatorInfo
blockxd q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
blockxd q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
blockxd tx staking edit-validator \
--new-moniker="Replace AVIAONE by your name" \
--identity=YOUR_KEYBASE_ID \
--details="This is will be display in the blockchain explorer. Write here something about you" \
--chain-id=blockx_100-1 \
--commission-rate=0.1 \
--from=YOUR_WALLET_NUMBER \
--gas-prices=0.1abcx \
--gas-adjustment=1.5 \
--gas=auto \
-y 

(NEVER DO IT if you are not already synced with the latest block)

blockxd tx staking create-validator \
--amount=1000000abcx \
--pubkey=$(blockx_100-1 tendermint show-validator) \
--moniker="Replace AVIAONE by your name" \
--identity=YOUR_KEYBASE_ID \
--details="This is will be display in the blockchain explorer. Write here something about you" \
--chain-id=blockx_100-1 \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=YOUR_WALLET_NUMBER \
--gas-prices=0.1abcx \
--gas-adjustment=1.5 \
--gas=auto \
-y 

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx bank send WALLET_SENDER WALLET_RECEIVER 1000000abcx --chain-id=blockx_100-1

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx staking delegate WALLET_NUMBER_WHERE_YOU_WANT_DELEGATE 1000000abcx --from YOUR_WALLET_NUMBER --chain-id=blockx_100-1

(In some case that's necessary to add "fees" or --gas=auto)

blockxd tx staking delegate YOUR_VALIDATOR_NUMBER 1000000abcx --from YOUR_WALLET_NUMBER --chain-id=blockx_100-1
blockxd tx distribution withdraw-all-rewards --from YOUR_WALLET_NUMBER
blockxd tx distribution withdraw-rewards YOUR_VALIDATOR_NUMBER --from YOUR_WALLET_NUMBER --commission
Under contruction
Under contruction
Under contruction
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0abcx\"/" $HOME/.blockxd/config/app.toml
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.blockxd/config/config.toml
sed -i -e 's|^indexer *=.*|indexer = "kv"|' $HOME/.blockxd/config/config.toml
echo $(blockxd tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.blockxd/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
curl -sS /net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'

YOU ARE GOING TO DELETE EVERYTHING WITHOUT ANY POSSIBILITY TO RECOVER, be sure that's really you are looking for...

BEFORE BE SURE TO SAVE $HOME/.blockxd/config/priv_validator_key.json

This file $HOME/.blockxd/config/priv_validator_key.json will let you create a new node with the same validator

cd $HOME
sudo systemctl stop blockxd 
sudo systemctl disable blockxd 
sudo rm /etc/systemd/system/blockxd.service 
sudo systemctl daemon-reload 
rm -f $(which blockxd) 
rm -rf $HOME/.blockxd 
rm -rf $HOME/blockxd
SEEDS="479dfa1948f49b08810cd16bf6c2d3256ae85423@137.184.7.64:26656,e15f4d31281036c69fa17269d9b26ff8733511c6@147.182.238.235:26656,9b84b33d44a880a520006ae9f75ef030b259cbaf@137.184.38.212:26656,85d0069266e78896f9d9e17915cdfd271ba91dfd@146.190.153.165:26656"
sed -i -e "s|^seeds *=.*|seeds = \"$SEEDS\"|" $HOME/.blockxd/config/config.toml

(updated every 4 hours)

curl -Ls  > $HOME/.blockxd/config/addrbook.json

(updated every 4 hours)

curl -Ls https://github.com/BlockXLabs/networks/blob/master/chains/blockx_100-1/genesis.json > $HOME/.blockxd/config/genesis.json
SNAPSHOT Blockx (Chain ID : blockx_100-1)
SNAPSHOT Blockx (Chain ID : blockx_100-1)

(updated every 24 hours)

File name : 2024-07-21.tar.gz


Please be sure to use the latest binary version.

One last minute version can be published ! Please check by yourself here... and compare with your node blockxd version

How to use ? The best way is just copy and past this code below in your terminal and that's it ! Your snapshot will be done.
sudo systemctl stop blockxd
cp $HOME/.blockxd/data/priv_validator_state.json $HOME/.blockxd/priv_validator_state.json.backup blockxd tendermint unsafe-reset-all --home $HOME/.blockxd --keep-addr-book wget -c 2024-07-21.tar.gz -O - | tar -xz -C $HOME/.blockxd
mv $HOME/.blockxd/priv_validator_state.json.backup $HOME/.blockxd/data/priv_validator_state.json sudo systemctl start blockxd && sudo journalctl -u blockxd -f --no-hostname -o cat
How to use ? You are looking for an other way than the command line to connect your wallet with Blockx (Chain ID : blockx_100-1)?
Logo Keplr
ADD in your Keplr Wallet : Blockx (Chain ID : blockx_100-1)

That's an easy process, just click and follow the instructions...it will be done in 10 seconds !

Our platform offers a secure link that allows you to effortlessly connect your KEPLR wallet. The process is quick and easy. Adding a new chain to your wallet is a standard procedure that doesn't involve any transaction. It simply requires your approval. To get started, click on the button below to add this chain to your wallet and start interacting with the blockchain.