Check your wallet balance (node must be synced in order to see the current balance)
Result example - 1 A0GI = 1,000,000 ua0gi
Create validator
Once your validator is created you can look up your validator here. Most likely it will be in inactive set as you will need enough stake to reach top 125 TVL validator. This is normal ~~~
Run curl test to check for your RPC port if it's works properly
Result example
Current block height
Net version (evm chain-id)
Upgrade Your Node
At height 574000
Check log
Congratulation!!
Now you have completed your node for 0gchain and we will move on to creating your storage node next.
cd $HOME
0gchaind init $MONIKER --chain-id $CHAIN_ID
0gchaind config chain-id $CHAIN_ID
0gchaind config node tcp://localhost:$RPC_PORT
0gchaind config keyring-backend os # You can set it to "test" so you will not be asked for a password
0gchaind keys add $WALLET_NAME --eth
# DO NOT FORGET TO SAVE THE SEED PHRASE & YOUR PASSPHRASE YOU SET FOR THIS WALLET
# You can add --recover flag to restore existing key instead of creating
# set EXTERNAL_IP variable
EXTERNAL_IP=$(wget -qO- eth0.me)
# query for current block height (json-rpc)
curl -X POST http://$EXTERNAL_IP:8545 -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
# query for Net version (json-rpc)
curl -X POST http://$EXTERNAL_IP:8545 -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"net_version","params":[],"id":1}'