Skip to content

Identity Network Setup

osancus edited this page Jun 25, 2020 · 1 revision

Setup identity network (locally)

There are two types of networks you can set up locally. One is Hyperledger Indy development network and another is VON Test Network.

Pre-requisites

  • Docker
  • Docker-Compose

Hyperledger Indy Dev Network Setup

Run following commands to clone the docker build script and build the network locally and run it.

git clone https://github.com/hyperledger/indy-sdk.git
cd indy-sdk
docker build -f ci/indy-pool.dockerfile -t indy_pool .
docker run -itd -p 9701-9708:9701-9708 indy_pool

After running the above commands you should be able to see a docker container with name indy_pool running when you type in docker ps. Now if you would realize your localhost should have ports from 9701 to 9708 open that's where the hyperledger indy dev ledger would operate. You now have an indy network running locally.

VON Network

A portable development level Indy Node network, including a Ledger Browser. The Ledger Browser (for example the BC Gov's Ledger for the GreenLight Demo Application) allows a user to see the status of the nodes of a network and browse/search/filter the Ledger Transactions.

git clone https://github.com/bcgov/von-network.git
cd von-network
./manage build
./manage start

After running the above commands you should be able to see docker containers with name von_nodeXX running when you type in docker ps. Now if you would realize your localhost should have ports from 9701 to 9708 open that's where the VON network ledger would operate. You now have an indy von network running locally. You can also browse/search/filter the ledger transactions and see the ledger network status using VON local server at http://localhost:9000.