Smart Contracts & Hyperledger Fabric: Hyperledger Fabric Web App


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

Examine steps involved in building a JavaScript web application that interacts with a smart contract deployed to a Hyperledger Fabric network in your Blockchain solutions. In this course, participants use NodeJS to code an application to create an admin user for an organization connected to a Fabric network. You will write an application in NodeJS that uses admin credentials to provision the application user. Learn how to develop a NodeJS application that retrieves an instance of a smart contract deployed to a Fabric network and invoke query applications on it. In building the backend of the Fabric web app, create a NodeJS application able to invoke queries and transactions against chaincode deployed to Hyperledger Fabric. Then build a web UI enabling both queries and transactions against a smart contract by connecting to the previously created backend app. Test the app by verifying features implemented by accessing the UI and invoking queries and transactions. The closing exercise uses a Gateway instance to retrieve chaincode from a Fabric network and uses a contract instance to perform read and write operations.



Expected Duration (hours)
1.0

Lesson Objectives

Smart Contracts & Hyperledger Fabric: Hyperledger Fabric Web App

  • identify the subject areas covered in this course
  • use NodeJS to code an application that will create an admin user for an organization connected to a Hyperledger Fabric network
  • write an application in NodeJS that will use admin credentials in order to provision an application user
  • develop a NodeJS application that can retrieve an instance of a smart contract deployed to a Fabric Network and invoke query operations on it
  • create a NodeJS application that is able to invoke queries and transactions against chaincode deployed to Hyperledger Fabric
  • build a web UI that enables both queries and transactions against a smart contract by connecting to the backend app created previously
  • verify the features implemented in the application by accessing the UI and invoking queries and transactions
  • use a Gateway instance to retrieve chaincode from a Fabric network and use a contract instance to perform read and write operations
  • Course Number:
    it_bcbschdj_05_enus

    Expertise Level
    Intermediate