Build a blockchain network  

Create your first blockchain network using Hyperledger Composer

Last updated | By Ishan Gulhane

Description

Blockchain is a secure, distributed, and open technology that is lowering costs, speeding up processes, and building a new level of trust in transactional applications. This developer code pattern will get you started with blockchain by showing you how to build a blockchain network using Hyperledger Composer.

Overview

Updated to support Hyperledger Fabric V1.1 and Hyperledger Composer V0.19

Blockchain is changing the way businesses conduct transactions. This secure, distributed, and open technology is lowering costs, speeding up processes, and building a new level of trust in secure interactions.

When something as big as blockchain emerges, developers who understand and can implement the technology are in the driver’s seat. But first you have to learn it.

In this developer pattern, the first in a series of “hello world” blockchain patterns, you’ll learn how to build a blockchain network using Hyperledger Composer. You’ll create a Business Network Archive (BNA) file that enables you to define a model; for example, the participants, tradeable assets, and allowable transactions. You’ll then deploy the network on Hyperledger Fabric, the blockchain framework implementation hosted by The Linux® Foundation. For this pattern, you’ll run Hyperledger Fabric locally.

You’ll discover how useful a tool Hyperledger Composer can be. It gives you the ability to quickly model your current business network, including your existing assets and the transactions related to them. As part of your business network model, you’ll define the transactions that can interact with assets. Business networks also include the participants who interact with them, each of which can be associated with a unique identity, across multiple business networks.

This is your chance to climb on the blockchain train and build the skills that every business will need. Complete this developer pattern, watch for future blockchain patterns, and make yourself indispensable.

Flow

  1. Install Hyperledger Composer development tools.
  2. Start Hyperledger Fabric.
  3. Generate the Business Network Archive file.
  4. Deploy the Business Network Archive using Composer Playground.
  5. (Alternative method) Deploy the Business Network Archive on Hyperledger Composer running locally.

Related Patterns

Create and execute blockchain smart contracts

Use the Hyperledger Composer framework to create and execute smart contracts within a blockchain application built on Hyperledger Fabric.


Automate business processes via blockchain events

Extend your blockchain application with event handling, so that transactions on the shared ledger can initiate actions automatically. This pattern shows you how to programmatically generate and receive event notifications from the blockchain network.


Related Blogs

Leveraging the power of AI at Unite Berlin

Last week, from June 19 – 21, we were at Unity’s premiere in Berlin: Unite 2018. This conference brought together Unity’s video game and development community. Unity touches 770 million gamers all over the world and is the market leader for consumer AR and VR use cases and is also rapidly emerging as the market...

Continue reading Leveraging the power of AI at Unite Berlin

Apps without privacy issues: Creating a blockchain wellness app on the cloud

Kubecoin takes fitness data directly from the phone health kit and places transactions on the "Kubechain." The app works anonymously and assigns a made-up identity to you, along with a randomly generated avatar. Your data can’t be traced to you, but you'll be able to see where your assigned avatar ranks on our leaderboard.

Continue reading Apps without privacy issues: Creating a blockchain wellness app on the cloud

Related Links

GitHub

Check out the source code for Hyperledger Composer V0.19.3.