Setting up a minimal Quorum network with Raft consensus for developing using Docker

Image by Wolfgang Vogt from Pixabay

The Aim of this Article

The main aim of this article is to show how to set up and dockerize a simple Quorum permissioned network for developing. Our goal is to minimize the needed resources and time by the developer, by using only 3 nodes and the Raft algorithm. Besides that, we provide the full source code on our GitHub repository.

To follow the setup steps you need to install Docker and Docker Compose (version 3.6). We consider rudimentary knowledge of Docker a requirement for appreciating this article.

What is Quorum and what makes it important?

Quorum is an open-sourced permissioned Blockchain Platform, which is built based on the Ethereum technology. By combining…


The AddrArrayLib Library provides utility functions to work with address[] types

Photo by Max Langelott on Unsplash

Solidity and Libraries

Solidity is one of the high-level programming languages for implementing smart contracts on the Ethereum Network and any blockchain that supports the EVM (Ethereum virtual machine). Its JavaScript syntax with C-style data types makes it the most preferred and supported language in the ecosystem.

Because of the immutability of the blockchain, it is extremely important to develop smart contracts with no bugs. Therefore, for the development of Ethereum smart contracts developers should always try to reuse and rely on code that already has been reviewed, tested and used by many developers, for example by using Solidity libraries.

In Solidity, libraries…

Majd Turfa

Blockchain developer @ 51nodes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store