How To Setup ConsenSys Quorum Blockchain Network Locally

Establish your own public/private blockchain network to manage and monitor business digital transactions. Let’s learn how to setup Consensys Quorum on localhost.

ConsenSys Quorum

Overview

In the recent past, we published blog posts on some blockchain-related topics such as Top 5 Open Source Blockchain Platforms In 2020, A Basic Guide on How To Create Ethereum Smart Contract, How Decentralized Technology Upgrades Your Business Strategy, and A Beginners Guide To Setup Ethereum Node On Localhost. In this article, we will see how to set up the ConsenSys Quorum blockchain network on localhost by covering the following points.

A Brief Introduction Of ConsenSys Quorum

ConsenSys Quorum is an open source platform based on decentralized ledger technology. However, it provides a completely developer-friendly environment to build blockchain-based applications that handle fast and high-throughput transactions. It is Ethereum based, extensible, and offers many plugins. Moreover, this open source distributed system comes with high security and privacy standards. In addition, there are many powerful features such as permissioning APIs and monitoring. Further, this DLT platform is self-hosted and provides detailed documentation regarding development and deployment. The source code of this free software is available at Github.

ConsenSys Quorum offers the following important features:

  • Pluggable Architecture
  • Ethereum Based
  • Secure
  • Self-Hosted
  • Public/Private Network

Learn more about ConsenSys Quorum

What Are The Pre-requisites And Installation Procedure?

In this section, we will install the required dependencies and set up the local environment. Before going to the next step make sure you have installed the following pre-requisites:

  • Nodejs v10+
  • Docker
  • Docker-compose

Once the pre-requisites are installed, run the following command to start the CLI-based quickstart utility.

npx quorum-dev-quickstart

However, answer the questions to complete the installation as shown in the image below.

ConsenSys Quorum

How To Start The Network?

Now, we have the source code in place. So, the next step is to make the network live.
Run the following command to get into the root directory.

cd quorum-test-network

After that, run the following command to starts all the docker containers:

./run.sh
ConsenSys Quorum

Once all docker containers are up and running, you can access the block explorer at the following address:

http://localhost:25000

Further, you can interact with the block explorer as shown in the image below.

open source distributed system

Similarly, you can stop the entire network by running the following command:

./stop.sh 

Conclusion

This is the end of this tutorial. Above all, Ethereum based ConsenSys Quorum is a digital financial technology specially developed for financial use cases. It has a voting-based consensus algorithm. However, the main motive of this decentralized technology is to build efficient solutions for enterprises.

Finally, containerize.com has published many technical blog posts and tutorials about popular open source products at blog.containerize.com. Therefore, stick to the Blockchain Platforms category for regular updates.

Explore

You may find the following links relevant: