Book Image

Hyperledger Cookbook

By : Xun (Brian) Wu, Chuanfeng Zhang, Zhibin (Andrew) Zhang
Book Image

Hyperledger Cookbook

By: Xun (Brian) Wu, Chuanfeng Zhang, Zhibin (Andrew) Zhang

Overview of this book

Hyperledger is an open-source project and creates private blockchain applications for a range of domains. This book will be your desk reference as you explore common and not-so-common challenges faced while building blockchain networks using Hyperledger services. We'll work through all Hyperledger platform modules to understand their services and features and build end-to-end blockchain applications using various frameworks and tools supported by Hyperledger. This book's independent, recipe-based approach (packed with real-world examples) will familiarize you with the blockchain development cycle. From modeling a business network to integrating with various tools, you will cover it all. We'll cover common and not-so-common challenges faced in the blockchain life cycle. Later, we'll delve into how we can interact with the Hyperledger Fabric blockchain, covering all the principles you need to master, such as chaincode, smart contracts, and much more. We'll also address the scalability and security issues currently faced in blockchain development. By the end of this book, you will be able to implement each recipe to plan, design, and create a full-fledged, private, decentralized application to meet organizational needs.
Table of Contents (12 chapters)

Installing Hyperledger Iroha on AWS

To install and run the recipes in this chapter, you need an EC2 instance on AWS with the following prerequisite:

  • Ubuntu 16.04.5 LTS
  • Install Docker CE by referring to the Docker installation guide in Chapter 8, Exploring CLI with Hyperledger Indy
  • Install version control Git by referring to the Git installation guide in Chapter 8, Exploring CLI with Hyperledger Indy

How to do it...

Execute the following steps to install Hyperledger Iroha on AWS:

  1. Create the Hyperledger Iroha Docker network:
ubuntu@ip-172-31-90-67:~/iroha$ sudo docker network create iroha-network
7b3be1160967f0021b99cd4e89d05f362590254edde311c391030ccd9c635a5d
  1. To start the Iroha state database, PostgreSQL, enter the following...