Run locally
Run a single-node blockchain locally
Download the binary
curl -s https://get.nibiru.fi/@v2.1.0 | bash[Optional] Remove old local state
Only required if you have pre-existing state in your ~/.nibid folder (if you've run a local chain before).
Never run these commands on mainnet nodes, or else you'll lose data.
nibid tendermint unsafe-reset-all
rm ~/.nibid/config/genesis.json
rm -rf ~/.nibid/config/gentx/Initialize the config files
CHAIN=nibiru-localnet-0
nibid init $CHAIN --chain-id=$CHAIN
nibid config chain-id $CHAIN && \
nibid config broadcast-mode sync && \
nibid config node "http://localhost:26657" && \
nibid config keyring-backend test && \
nibid config output jsonWe use the test keyring-backend for local development purposes, but it's not recommended for production.
[Optional] Create a wallet
Option 1: Create a new mnemonic
Creates a new address in your local keyring
Option 2: Import an existing mnemonic
You can input the following mnemonic:
The mnemonics that appear on this page are no longer safe and should not be used in production.
Configure the genesis state
We require some custom genesis state to be set in order for the chain to start.
Start the chain
Last updated
Was this helpful?