Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.
maheshwarishikha edited this page Apr 18, 2018 · 14 revisions

Welcome to the blockchain-application-using-fabric-java-sdk wiki!

Short Name

Create and Deploy a Blockchain Network using Hyperledger Fabric SDK Java

Short Description

Demonstrates the methodology to create and deploy a blockchain network using Hyperledger Fabric SDK Java.

Offering Type

Blockchain

Introduction

In a blockchain application, blockchain network works as a back-end and application has an front-end to communicate with the network. To set up the communication between front-end and back-end, Hyperledger community provides a number of SDKs for a variety of programming languages like nodejs, java, python. This code pattern will focus on Fabric SDK Java APIs. The Fabric Java SDK helps facilitate Java applications to manage the lifecycle of Hyperledger channels and user chaincode. The SDK also provides a means to execute user chaincode, query blocks and transactions on the channel, and monitor events on the channel. This code pattern demonstrates how to create, deploy and test the network using Fabric SDK Java.

Author

By Shikha Maheshwari, [Balaji Kadambi]

Code

Demo

N/A

Video

TBD

Overview

The world of Blockchain technology is a very exciting one. Blockchain is a shared, immutable ledger for recording the history of transactions. It promotes a new generation of transactional applications that establish trust, accountability and transparency. Hyperledger is an open-source collaborative effort created to advance cross-industry blockchain technologies. Hyperledger Fabric is a blockchain framework implementation and one of the Hyperledger projects hosted by The Linux Foundation.

For developing any blockchain use-case, the very first thing is to have a development environment for Hyperledger Fabric to create and deploy the application. In the environment setup, you’ll create a small blockchain network running Hyperledger Fabric v1.0. Hyperledger Fabric network can be setup in multiple ways.

This code pattern demonstrates the steps involved in setting up your business network on Hyperledger Fabric using Kubernetes APIs on IBM Cloud Container Service and provides a automated script end-to-end to quickly deploy your network. The IBM Cloud Container Service combines Docker and Kubernetes to deliver powerful tools to automate the deployment, operation, scaling, and monitoring of containerized applications over a cluster of independent compute hosts by using the Kubernetes APIs. Cloud-hosted Hyperledger Fabric network can be leveraged for easier collaboration among the team members.

This pattern provisions a Hyperledger Fabric network consisting of two organizations, each maintaining two peer node, and a 'solo' ordering service. To deploy your blockchain network,

  • Decide the network topology as per the need and change docker-compose.yaml
  • Setup your blockchain network using this pattern
  • Start developing your blockchain applications for the deployed network.

Flow

  1. Log in to IBM Cloud CLI and initialize IBM Cloud Container Service plugin.
  2. Set context for Kubernetes cluster using CLI and download Kubernetes configuration files. After downloading configuration files, set KUBECONFIG environment variable.
  3. Run script to deploy your hyperledger fabric network on Kubernetes cluster.
  4. Access Kubernetes dashboard.

Included components

  • Hyperledger Fabric: Hyperledger Fabric is a platform for distributed ledger solutions underpinned by a modular architecture delivering high degrees of confidentiality, resiliency, flexibility and scalability.

  • Docker: Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications.

  • Hyperledger Fabric Java SDK

Featured technologies

  • Blockchain: A blockchain is a digitized, decentralized, public ledger of all transactions in a network.

  • Java: Java is a general-purpose computer-programming language that is concurrent, class-based and object-oriented.

Blog

Title - Build the Blockchain application using Hyperledger Fabric SDK Java

Blockchain technology is growing fast. Blockchain technology revolutionizes businesses and changes the way business transactions are done. It alters the model of how multi-party transactions are performed by enabling a shared, immutable ledger for recording the history of transactions between the parties in a business network. Organizations can now leverage blockchain to drive greater efficiency and improve trust in existing business networks.

Hyperledger, an umbrella project of open source blockchains and related tools, is hosted by The Linux Foundation. IBM provides blockchain solutions and services leveraging Hyperledger technologies, including Hyperledger Fabric and Hyperledger Composer. Hyperledger Fabric is a blockchain framework implementation.

In our code pattern, ‘Blockchain Network using Kubernetes APIs on IBM Cloud’, we explain the steps involved in setting up your blockchain network on Hyperledger Fabric using Kubernetes APIs on IBM Cloud. The code pattern provides a automated script to quickly deploy your network on the IBM Cloud. Cloud-hosted Hyperledger Fabric network using Kubernetes APIs can be leveraged for easier collaboration among the team members.

Blockchain technologies present opportunities for disruptive innovation. It enables global business transactions with less friction and more trust. So lets explore more!

Links

Clone this wiki locally