<div dir="ltr"><div><div>From <a href="https://www.hyperledger.org/">https://www.hyperledger.org/</a><br><br>"Hyperledger is an open source collaborative effort created to advance
cross-industry blockchain technologies. It is a global collaboration,
hosted by The Linux Foundation, including leaders in finance, banking,
IoT, supply chain, manufacturing and technology."<div><br></div><div><div>I am scratching the surface of the Hyperledger Explorer for browsing and viewing activity on the underlying block chain network.</div></div><div><br></div><div>I found the following documentation in README.md after checkout of the code with git.</div><div><br></div><div><div>git clone <a href="https://gerrit.hyperledger.org/r/blockchain-explorer">https://gerrit.hyperledger.org/r/blockchain-explorer</a></div><div><br></div></div><div>Building blockchain-explorer requires nodejs 6.9.x (v7.x is not yet supported), mysql 5.7 or greater and works with Hyperledger Fabric 1.0.</div><div><br></div><div>To manage fabric network, install the following software dependencies:</div><div><br></div><div>* docker 17.06.2-ce [<a href="https://www.docker.com/community-edition">https://www.docker.com/community-edition</a>]<br>* docker-compose 1.14.0 [<a href="https://docs.docker.com/compose/">https://docs.docker.com/compose/</a>]</div><br>Clone this repository to get the latest using the following command.<br>1. `git clone <a href="https://github.com/hyperledger/blockchain-explorer.git`">https://github.com/hyperledger/blockchain-explorer.git`</a><br>2. `cd blockchain-explorer`<br><br>## Database setup<br>Run the database setup scripts located under `db/fabricexplorer.sql`<br><br>`mysql -u<username> -p < db/fabricexplorer.sql`<br><br>## Fabric network setup<br><br>This repository comes with a sample network configuration to start with<br><br>1. `cd first-network`<br>2. `./<a href="http://bootstrap-1.0.2.sh">bootstrap-1.0.2.sh</a>` - This is going to download the necessary<br>binaries and hyperledger docker images.<br>3. `mkdir -p ./channel-artifacts`<br>4. `./byfn.sh -m generate -c mychannel`<br>5. `./byfn.sh -m up -c mychannel`<br><br>This brings up a 2 org network with channel name `mychannel` .<br><br>Alternatively you can setup your own network using [Build your network](<a href="http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html">http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html</a>) tutorial from Fabric. Once you setup the network, please modify the values in `config.json` accordingly.<br><br>## Running blockchain-explorer<br><br>On another terminal, <br>1. `cd blockchain-explorer`<br>2. Modify config.json to update one of the channel <br> * mysql host, username, password details<br>```json<br> "channel": "mychannel",<br> "mysql":{<br> "host":"127.0.0.1",<br> "database":"fabricexplorer",<br> "username":"root",<br> "passwd":"123456"<br> }<br>```<br>If you are connecting to a non TLS fabric network, please modify the <br>protocol (`grpcs->grpc`) and port (`9051-> 9050`) in the peer url and remove the `tls_cacerts`<br>3. `npm install`<br>4. `./start.sh`<br><br>Launch the URL <a href="http://localhost:8080">http://localhost:8080</a> on a browser.<br><br></div>I will report more details and results as I dig deeper.<br></div><br>See <a href="https://github.com/HiOA-ABI/nikita-noark5-core/">https://github.com/HiOA-ABI/nikita-noark5-core/</a> and <a href="https://lists.nuug.no/mailman/listinfo/nikita-noark/">https://lists.nuug.no/mailman/listinfo/nikita-noark/</a> for more details about the Nikita Noark5 Core project.<br><br>Best,<br>Ole</div>