Book Image

Hands-On IoT Solutions with Blockchain

By : Maximiliano Santos, Enio Moura
Book Image

Hands-On IoT Solutions with Blockchain

By: Maximiliano Santos, Enio Moura

Overview of this book

Blockchain has been the hot topic of late thanks to cryptocurrencies. To make matters more interesting, the financial market is looking for ways to reduce operational costs and generate new business models, and this is where blockchain solutions come into the picture. In addition to this, with Internet of Things (IoT) trending and Arduino, Raspberry Pi, and other devices flooding the market, you can now create cheap devices even at home. Hands-On IoT Solutions with Blockchain starts with an overview of IoT concepts in the current business scenario. It then helps you develop your own device on the IBM Watson IoT platform and create your fi rst IoT solution using Watson and Intel Edison.Once you are familiar with IoT, you will learn about Blockchain technology and its use cases. You will also work with the Hyperledger framework and develop your own Blockchain network. As you progress through the chapters, you'll work with problem statements and learn how to design your solution architecture so that you can create your own integrated Blockchain and IoT solution. The next set of chapters will explain how to implement end-to-end Blockchain solutions with IoT using the IBM Cloud platform. By the end of this book, you will have mastered the convergence of IoT and Blockchain technology and exploited the best practices and drivers to develop a bulletproof integrated solution.
Table of Contents (15 chapters)
Title Page
About Packt

Installing your own blockchain network using Hyperledger Fabric and Composer

In the previous section, we saw how easy it's to work with Hyperledger Composer using Playground. Now we'll install Composer in your own (local) machine.

We'll start with the three most important stages of installing a blockchain network:

  1. Installing the prerequisites
  2. Installing Hyperledger Composer (the development environment)
  3. Updating the environment


We can install the blockchain network using Hyperledger Fabric by many means, including local servers, Kubernetes,IBM Cloud, and Docker. To begin with, we'll explore Docker and Kubernetes.

Setting up Docker

Docker can be installed using information provided on

Hyperledger Composer works with two versions of Docker:

  • Docker Composer version 1.8 or higher
  • Docker Engine version 17.03 or higher

If you already have Docker installed but you're not sure about the version, you can find out what the version is by using the following command in the...