Start pre-configured GoQuorum 7 nodes example
git clone https://github.com/Consensys/quorum-examples
cd quorum-examples
docker-compose up -d
You should see the following happening in the terminal window.
git clone https://github.com/web3labs/chainlens-free.git
cd chainlens-free
In order to start Chainlens you need to run the following command:
NODE_ENDPOINT=http://quorum-examples_node1_1:8545 docker-compose -f docker-compose.yml -f chainlens-extensions/docker-compose-quorum.yml up
The command above does two things :
- It sets up the node endpoint
- Tells docker to run by using the two docker compose files provided.
The first docker-compose file in the command is the contains all the services required for Chainlens.
The second file named docker-compose-quorum contains the network settings required to start Chainlens on the same network as quorum.
Note: we are connecting to node 1 - you will only see private transactions for that node.
You should see the following happening in the terminal window. This means that everything has started successfully.
Note: The logs are verbose and you will see various errors before all services are started. The important logs to look at are on the api. You can access them with the following
docker-compose logs -f api
Navigate to localhost and you should see the loading page:
After a few minutes Chainlens should display the following information:
Chainlens has successfully connected to a Quorum node and is ingesting data. Depending on your machine specs this can take a long time to get to this point (20 mins on a macbook air).
To close Chainlens or Quorum you can execute the following line in your terminal:
docker-compose down
For more information on Chainlens you can go here.
For more information Quorum 7 Nodes example you can go here.