How to run a Nibiru node
April 14th, 2023

We start the installation Nibiru node

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

source $HOME/.bash_profile

We create a new wallet

nibid keys add wallet

or we recreate the current one

nibid keys add wallet --recover

Fund the wallet with a command or through the Discord faucet (we enter ours wallet_adres)

FAUCET_URL="https://faucet.itn-1.nibiru.fi/" ADDR="wallet_adres" curl -X POST -d '{"address": "'"$ADDR"'", "coins": ["11000000unibi","100000000unusd","100000000uusdt"]}' $FAUCET_URL

Speed up the synchronization

apt install lz4

curl -L https://snapshots.kjnodes.com/nibiru-testnet/snapshot_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.nibid

curl -s https://snapshots2-testnet.nodejumper.io/nibiru-testnet/addrbook.json > $HOME/.nibid/config/addrbook.json

PEERS="a1b96d1437fb82d3d77823ecbd565c6268f06e34@nibiru-testnet.nodejumper.io:27656,57adeadec1939df8cb6cebb665beb13f3c370ea0@89.117.58.213:26656,19f6588df6e489a3e512ebac805c5250cdc9fbb7@84.46.249.14:26656,6ec27a0783cc1b482db94d3bf0a00a6744dc9e8e@217.76.60.224:26656,0a8feb7558b5f77fcb2abd9c3d8b1230bcf2ae64@95.216.33.149:26656,d5cd63ee076112ec4a569c2c71d430647d93d6a0@14.169.117.101:26656,03b913e793a04b26a55beb6d2ba25707e853126d@143.198.198.241:26656,d7ad256b785cb4acac8904db316f96ba708d55c9@217.76.49.78:26656,496436418a8cecadb3986412ced34e57d86cf506@94.190.90.38:35656,65a213efcad697afb5a1303c7fe5be4168d9520c@43.154.103.36:26656,ecce2915168483b889b26ae69038b84dc2d58529@31.187.74.224:26656,2479ff4d8c0918b95da280319b179f016b5db814@65.108.199.120:61756,a6302e34313b649505603aaafad3e1d24cbfbc7b@81.0.218.74:26656,a480c13b73c0d08183c0dd327c1393b33dd5ef7c@185.197.195.18:26656,8e471a078b929944d3812c44e7babe06fb32b527@178.18.249.99:26656,879c0d532c818d571df2229dbbb2732a17db7d2f@185.135.137.221:26656,993dfa9c53630fdcfeba56a9f380ef0c5fecad22@113.161.144.108:26656,9920bfdee1f9f61221e0301b1823f050e8fb992f@193.203.203.121:26656,26d712934ef6ffa00c3e12cac206c8a288bc0893@5.9.122.49:11656,68de8dee93d9dd3cefc24c5d180933dade4c03f8@185.215.166.231:26656,ae99caf00be07e9a5358b775c1f3ce1a2d97d152@38.242.234.37:26656,1345836788e850a88dd95d7351bb3b34f3de965e@80.82.215.19:36756,d478d4a34de532833ec1c4df65f3b79f77265f17@35.229.110.80:26656,7863c6d6c3903f214c71773d56ae4c105d0d2803@38.242.239.227:26656,2da0634693164c784a3f4e924805ca481846b318@45.10.154.80:26656,d26e9d2a81ce80328d3a9aeabb0820fbc343b5f4@161.97.170.91:26656,d39e7451f84c3918860954f66ce473cca70ab70e@209.250.242.119:26656,a10fd4adadd7ca8f430ad88ffdc93366e9471b00@149.102.135.51:26656,13cc216c7c2c29783fae084062f10c68f2999d83@91.229.245.201:26656,c2f061358e28727095730c7040be51a513dc72cd@176.9.65.181:26656,ff4fdb162a01a7e8e36bfdef66d33a9ac7368588@172.105.71.125:39656,8afc84603e28fd698031b1872c9fe87942c5d7f9@81.0.218.84:26656,4dbf76072ba52dd9322724a07991163e27b85877@185.211.6.20:26656,1fcbd84325934e2b001d05b7172d0749600342cf@34.134.38.66:26656,0f8ea9f1dacc680e7074e8019bae16b1e8979977@89.117.58.243:26656,d8653d56d8914e5a26d7ff2f2f930dc44d593e1e@38.242.232.142:26656,59b68485aa643cec437058ccf7913503815371c1@31.220.81.107:26656,857a7bb4ddb71b1fe58ca2dba64f2b98f66486cb@65.108.96.43:26656,30ad7f27c225de1ed881fd355d2d006d445f281a@84.46.248.169:26656,9f993f07f3fe0c788f7d55f88b7a031028a378f5@217.76.60.46:26656,4a70de4fffde46382e70250c06f744570ce72ef9@138.201.124.93:26656,c9591686a6fa9ded61f167a93a4a96580414d3cd@178.141.254.11:26656,5a58fa951f65cd2381d0f9a584fbb76fdafc476c@45.10.154.139:18656,e36ab19d3c46707e9dfec70be31023aed589c06c@161.97.142.54:26656,21935d4c8fd0b3a5819cde63ecb25f5ede0519b1@195.201.195.40:56656,de5bc0400e6f614fcea209e8de4f4487045e361e@62.141.46.82:39656,879637c3c880825087c120a661037341d4bb17e6@184.174.32.224:26656,2686c58fc276fff2956bf1b10736244737f84c9b@178.208.86.44:26656,4b4948124a02cc7bca85a98904eab884d1af2c7c@65.109.26.21:11656,1006710e216396697caf72a561498d1da1f563b4@81.0.218.86:26656"

Then enter:

sed -i 's|^persistent_peers =.|persistent_peers = "'$PEERS'"|' $HOME/.nibid/config/config.toml

systemctl restart nibid

We are waiting for the node to synchronize

We check the status of synchronization

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

“false” - ok

“true” - we waiting

If the status is “false”

nibid tx staking create-validator

--amount=1000000unibi

--pubkey=$(nibid tendermint show-validator)

--moniker="$VALIDATOR"

--chain-id=nibiru-itn-1

--commission-rate="0.1"

--commission-max-rate="0.10"

--commission-max-change-rate="0.01"

--min-self-delegation="1000000"

--fees=10000unibi --from=wallet

-y

Done !

Subscribe to World of knowledge
Receive the latest updates directly to your inbox.
Nft graphic
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.
More from World of knowledge

Skeleton

Skeleton

Skeleton