NG
Nibiru

Nibiru

Setup Guide

This guide for the Nibiru Testnet nibiru-itn-3.
Official documentation available here.

Install

Use our script for a quick installation:

wget -q -O nibiru.sh https://api.nodes.guru/nibiru.sh && chmod +x nibiru.sh && sudo /bin/bash nibiru.sh

Set a name for your node and wait for the installation to complete. After that execute the following command:

source $HOME/.bash_profile

Create a wallet, don’t forget to save the mnemonic.

nibid keys add wallet

Get tokens in the faucet.
After full synchronization, check the balance, if everything is okay go to the next step.

nibid q bank balances YOUR_WALLET_ADDRESS

Nibiru-0
Also you can check balance in the explorer.
Create a validator:

nibid tx staking create-validator \
--amount=1000000unibi \
--pubkey=$(nibid tendermint show-validator) \
--moniker="$VALIDATOR" \
--chain-id=nibiru-itn-3 \
--commission-rate="0.1" \
--commission-max-rate="0.10" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1000000" \
--fees=10000unibi \
--from=wallet \
-y

Set up a pricefeeder

wget -q -O nibiru_pfd.sh https://api.nodes.guru/nibiru_pfd.sh && chmod +x nibiru_pfd.sh && sudo /bin/bash nibiru_pfd.sh

Be sure to refill your pfd wallet after installation.
Delegate pricefeeder responsibilities to another nibi address:

nibid tx oracle set-feeder $(grep 'address:' $HOME/pfd_wallet.txt | awk '{print $3}') --chain-id nibiru-itn-3 --from wallet --fees 5000unibi -y

Additional

You can check the node logs with the command:

journalctl -u nibid -f

You can check the pricefeeder logs with the command:

journalctl -u pricefeeder -f

Restart node:

systemctl restart nibid

Check your node status:

curl localhost:26657/status

Check node synchronization, if results false – node is synchronized

curl -s localhost:26657/status | jq .result.sync_info.catching_up

Get your valoper address:

nibid keys show wallet --bech val -a

Bond more tokens (if you want increase your validator stake you should bond more to your valoper address):

nibid tx staking delegate YOUR_VALOPER_ADDRESS 10000000unibi --from wallet --chain-id nibiru-itn-3 --fees 5000unibi

Active validators list:

nibid query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_BONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r

Inactive validators list:

nibid query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_UNBONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r

Remove node:

systemctl stop nibid
systemctl disable nibid
rm -rf $(which nibid) ~/.nibid ~/nibiru
Stuck? Ask!

By continuing to use our website, you consent to our use of cookies in accordance with our cookie policy