Installation

Minimum hardware requirements

Update the system

sudo apt update && sudo apt upgrade --yes

Install nibid

Option 1: Use this version if you plan to sync from genesis block; you will need to swap it to the current one at the upgrade height (either manually or with Cosmovisor)

curl -s <https://get.nibiru.fi/@v1.0.0>! | bash

Option 2: Use this version if you plan to use state-sync or data snapshot

curl -s <https://get.nibiru.fi/@v1.3.0-rc1>! | bash

Verify nibid version

nibid version
# Should output v1.0.0 or v1.3.0-rc1 depending on chosen approach

Init the Chain

  1. Init the chain

    nibid init <moniker-name> --chain-id=nibiru-testnet-1 --home $HOME/.nibid
    
  2. Copy the genesis file to the $HOME/.nibid/config folder.

    You can get genesis from our networks endpoint with:

    NETWORK=nibiru-testnet-1
    curl -s <https://networks.testnet.nibiru.fi/$NETWORK/genesis> > $HOME/.nibid/config/genesis.json
    

    Or you can download it from the Tendermint RPC endpoint.

    curl -s <https://rpc.testnet-1.nibiru.fi/genesis> | jq -r .result.genesis > $HOME/.nibid/config/genesis.json
    

    (Optional) Verify Genesis File Checksum

    shasum -a 256 $HOME/.nibid/config/genesis.json
    # 23c95807de3c663e8d2018a7f10aa27cb773a84d99f331e4e07d367aceca19f5 $HOME/.nibid/config/genesis.json
    
  3. Update persistent peers list in the configuration file $HOME/.nibid/config/config.toml.

    NETWORK=nibiru-testnet-1
    sed -i 's|\\\\<persistent_peers\\\\> =.*|persistent_peers = "'$(curl -s <https://networks.testnet.nibiru.fi/$NETWORK/peers>)'"|g' $HOME/.nibid/config/config.toml
    
  4. Set minimum gas prices

    sed -i 's/minimum-gas-prices =.*/minimum-gas-prices = "0.025unibi"/g' $HOME/.nibid/config/app.toml