rajeshsubhankar / blk-explorer-free

Ethereum and Quorum private blockchain explorer

Home Page:https://blk.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Block Explorer for Quorum and Ethereum

alt text

Introduction

This dockerized environment is designed for viewing private Quorum and Ethereum networks.

Usage

Clone the repo, navigate to the cloned directory and run the instance with:

NODE_ENDPOINT=http://<node_endpoint> docker-compose -f <os>-docker-compose.yaml up

Append the -d argument to run the containers in the backgroud

You will be able to access the Explorer UI via:

To stop the containers use:

docker-compose -f <os>-docker-compose.yaml down

To connect to new network you need to delete one of the containers with:

docker rm blk-mongodb-free

Localhost

You can set up the 7node example on your local machine and run the explorer with the following command.

Mac

NODE_ENDPOINT=http://docker.for.mac.host.internal:22000 docker-compose -f mac-docker-compose.yaml up -d

Use docker.for.mac.host.internal instead of localhost as described here

Windows

set NODE_ENDPOINT=http://docker.for.win.host.internal:22000 && docker-compose -f win-docker-compose.yaml up

Use docker.for.win.host.internal instead of localhost as described here

Linux

NODE_ENDPOINT=http://localhost:22000 docker-compose -f linux-docker-compose.yaml up -d

Limitations

  1. Due to a limitation with Docker, you may only have one instance of the Explorer running at a time.
  2. Viewing private transaction payloads on Quorum v2.0.0 (prior versions work) is not supported due to this issue which should be fixed shortly.
  3. Currently there is no guarantee that the information in the explorer is consistent with the blockchain as there is no mechanism to take into account reorgs.

About

Ethereum and Quorum private blockchain explorer

https://blk.io