Write your first Hyperledger Fabric Chaincode (v1.4.1) using Node, Babel, Model/Controller and Test it using Mocha

Write your first Hyperledger Fabric Chaincode (v1.4.1) using Node, Babel, Model/Controller and Test it using Mocha

Session Topic or Project

The session will be focusing on chaincode implementation patterns and testing protocol.

Session Leader

Jonathan Chevalier

Time Slots and Spaces

24/06  10:30 - 11:30 & 25/06  10:00 - 11:00

Experience Level of Participants

Intermediate

Session Language

English and/or portuguese

Programming Language(s)

  • C / C++
  • Go
  • Java
  • Javascript
  • Python
  • Rust
  • Shell

Other Prerequisites

Must have Hyperledger Fabric 1.4.1 and Node.js installed.

The Plan

  • Set a dev-mode environment
  • Create a chaincode
  • Implement a Model Controller pattern
  • Use a Schema validation library to validate data
  • Test a chaincode
  • Create state database indexes

The Goals

Attendees will be able to run a complete chaincode in a dev-mode network for rapid project prototyping.

Software to Install Before

Special Equipment Required

projector and screen