Step-By-Step Installation of Hyperledger Explorer
Here are the step-by-step instructions to install Hyperledger Explorer:
Prerequisites:
Docker and Docker-compose
Node.js and NPM
Git
Step 1: Clone the Hyperledger Explorer Repository:
Open the terminal and clone the Hyperledger Explorer repository using the following command:
git clone https://github.com/hyperledger/blockchain-explorer.git
Step 2: Navigate to the Hyperledger Explorer Directory:
Once the repository is cloned, navigate to the blockchain-explorer directory using the following command:
cd blockchain-explorer
Step 3: Checkout to the Latest Release:
Check the latest release version of Hyperledger Explorer on the release page on GitHub. Checkout to the latest release using the following command:
git checkout v<latest_release>
Step 4: Create Configuration Files:
Copy the example configuration files to the main directory:
cp config.json.example config.json
cp connection-profile/first-network.json connection-profile/connection-profile.json
Step 5: Configure the Connection Profile:
Edit the connection-profile.json file to configure the connection profile. The connection profile contains related information about the network and nodes that Hyperledger Explorer will connect to. Ensure that the network information in the connection profile is correct.
Step 6: Install Dependencies:
Install the dependencies required for Hyperledger Explorer using the command:
npm install
Step 7: Generate Necessary Certificates:
To enable SSL/TLS for the web server, and generate the necessary certificates use the following command:
cd app/test
./generateCertificates.sh
Step 8: Start the Blockchain Network:
Before starting Hyperledger Explorer, ensure that the blockchain network is up and running.
Step 9: Start the Hyperledger Explorer:
To start Hyperledger Explorer, run the following command:
./start.sh
Step 10: Access Hyperledger Explorer:
Once started, access Hyperledger Explorer by opening the web browser and navigating to the URL http://localhost:8080/. Now, you have successfully installed Hyperledger Explorer.
Hyperledger Explorer in Blockchain
Hyperledger Explorer is an open-source tool developed by the Linux Foundation and hosted by the Hyperledger project. It provides a web-based interface for viewing, querying, and analyzing data from a blockchain network powered by Hyperledger Fabric. The tool offers a number of features for tracking and analyzing the operation of the blockchain network, including the ability to view transaction history, smart contract information, network node information, and user data.