Nibiru is a sovereign proof-of-stake blockchain, open-source platform, and member of a family of interconnected blockchains that comprise the Cosmos Ecosystem.
Nibiru unifies leveraged derivatives trading, spot trading, staking, and bonded liquidity provision into a seamless user experience, enabling users of over 40 blockchains to trade with leverage using a suite of composable decentralized applications.
-
4x CPUs; the faster clock speed the better
-
8GB RAM
-
100GB of storage (SSD or NVME)
-
8x CPUs; the faster clock speed the better
-
64GB RAM
-
1TB of storage (SSD or NVME)
wget -O nibiru.sh https://raw.githubusercontent.com/appieasahbie/nibiru/main/nibiru.sh && chmod +x nibiru.sh && ./nibiru.sh
source $HOME/.bash_profile
-
(Check the status of your node if is it true type Cltr+c)
nibid status 2>&1 | jq .SyncInfo
-
Check logs ( to stop checking logs Cltr+c)
journalctl -fu nibid -o cat
sudo ufw default allow outgoing
sudo ufw default deny incoming
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw allow ${NIBIRU_PORT}656,${NIBIRU_PORT}660/tcp
sudo ufw enable
(OPTIONAL do not run it if your node is fully synced ) State-Sync provided by Nodejumber special thanks
sudo systemctl stop nibid
cp $HOME/.nibid/data/priv_validator_state.json $HOME/.nibid/priv_validator_state.json.backup
nibid tendermint unsafe-reset-all --home $HOME/.nibid --keep-addr-book
SNAP_RPC="https://nibiru-testnet.nodejumper.io:443"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height)
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000))
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
PEERS="a1b96d1437fb82d3d77823ecbd565c6268f06e34@nibiru-testnet.nodejumper.io:27656"
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.nibid/config/config.toml
sed -i 's|^enable *=.*|enable = true|' $HOME/.nibid/config/config.toml
sed -i 's|^rpc_servers *=.*|rpc_servers = "'$SNAP_RPC,$SNAP_RPC'"|' $HOME/.nibid/config/config.toml
sed -i 's|^trust_height *=.*|trust_height = '$BLOCK_HEIGHT'|' $HOME/.nibid/config/config.toml
sed -i 's|^trust_hash *=.*|trust_hash = "'$TRUST_HASH'"|' $HOME/.nibid/config/config.toml
mv $HOME/.nibid/priv_validator_state.json.backup $HOME/.nibid/data/priv_validator_state.json
curl -s https://snapshots2-testnet.nodejumper.io/nibiru-testnet/wasm.lz4 | lz4 -dc - | tar -xf - -C $HOME/.nibid/data
sudo systemctl restart nibid
sudo journalctl -u nibid -f --no-hostname -o cat
-
(Please save all keys on your notepad)
nibid keys add $WALLET
nibid keys add $WALLET --recover
nibid keys list
NIBIRU_WALLET_ADDRESS=$(nibid keys show $WALLET -a)
NIBIRU_VALOPER_ADDRESS=$(nibid keys show $WALLET --bech val -a)
echo 'export NIBIRU_WALLET_ADDRESS='${NIBIRU_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export NIBIRU_VALOPER_ADDRESS='${NIBIRU_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile
curl -X POST -d '{"address": "'"$NIBIRU_WALLET_ADDRESS"'", "coins": ["10000000unibi","100000000000unusd"]}' https://faucet.testnet-1.nibiru.fi/
+(first check your bank balance )
nibid query bank balances $NIBIRU_WALLET_ADDRESS
And
nibid tx staking create-validator \
--amount=10000000unibi \
--pubkey=$(nibid tendermint show-validator) \
--moniker="$NODE_MONIKER" \
--chain-id=nibiru-itn-1 \
--commission-rate=0.1 \
--commission-max-rate=0.2 \
--commission-max-change-rate=0.05 \
--min-self-delegation=1 \
--fees=2000unibi \
--from=wallet \
-y
-
Check logs
journalctl -fu nibid -o cat
sudo systemctl start nibid
sudo systemctl stop nibid
sudo systemctl restart nibid
nibid status 2>&1 | jq .SyncInfo
nibid status 2>&1 | jq .ValidatorInfo
nibid status 2>&1 | jq .NodeInfo
nibid tendermint show-node-id
nibid tx gov vote 1 yes --from $WALLET --chain-id=$NIBIRU_CHAIN_ID
nibid tx staking delegate $NIBIRU_VALOPER_ADDRESS 10000000unibi --from=Yourwalletname --chain-id=nibiru-itn-1 --gas=auto
nibid tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 10000000unibi --from=Yourwalletname --chain-id=nibiru-itn-1 --gas=auto
nibid tx slashing unjail \
--broadcast-mode=block \
--from=$WALLET \
--chain-id=$NIBIRU_CHAIN_ID \
--gas=auto
sudo systemctl stop nibid
sudo systemctl disable nibid
sudo rm /etc/systemd/system/nibi* -rf
sudo rm $(which nibid) -rf
sudo rm $HOME/.nibid* -rf
sudo rm $HOME/nibiru -rf
sed -i '/NIBIRU_/d' ~/.bash_profile