/indy-network-bootstrap

Indy network bootstrapping supporting different node and client IPs

Primary LanguagePython

Scripts to create a local Indy network for testing

This will create a local Indy network using indy-node-container. It also adds a the ledger browser from von-network. The docker network will use the subnet 10.133.133.0/24. You may change that according your needs.

Steps

  1. Check/Update .env, docker-compose.yaml and init-test-network.sh files - if you need to update the IP subnet, then the change must be made everywhere.
  2. Run init-test-network.sh to create genesis and key files. Use environment variables NODE_IP and CLIENT_IP to adjust the these values in the genesis transaction file generated. for example to run locally,
INTERNAL_IP=host.docker.internal EXTERNAL_IP=host.docker.internal ./init-test-network.sh
  1. Run docker-compose up to start the network.
  2. Check the ledger browser at http://localhost:9000 .
  3. Use docker-compose down to shutdown the network.