Running a Localnet

If you are looking to simulate a single-node blockchain on a local environment, following are the steps
  • Follow the installation instruction here.
  • Head over to cloned hid-node repo directory
cd hid-node
  • Initialise the node config and setup a validator
chmod +x ./scripts/localnet-single-node/setup.sh
bash ./scripts/localnet-single-node/setup.sh
  • Run the node
hid-noded start
  • Now, you have a single node blockchain running with chain-id as hidnode and chain_namespace as devnet.