hyperledger-fabric/

directory
v0.2.0-develop.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2019 License: BSD-3-Clause

README

Dovetail extensions for Hyperledger Fabric

This package includes Flogo® extensions for developing blockchain apps and smart contracts on Hyperledger Fabric. It also provides sample blockchain apps using the Flogo visual programming environment with zero-code. These Dovetail extensions can be used to model Hyperledger Fabric chaincode and client apps in either TIBCO Flogo® Enterprise v2.6.1 or Dovetail v0.2.0.

The following Flogo® extensions are currently available:

  • Fabric Chaincode Extension, which includes connector, trigger and activities for designing and implementing Hyperledger Fabric chaincode.
  • Fabric Client Extension, which includes connector, trigger, and activities for designing and implementing Hyperledger Fabric client apps, such as a REST or GraphQL service that interacts with a Hyperledger Fabric network.

Getting Started

Start by looking at the following end-to-end samples:

  • marble, which is a zero-code version of the marbles02 chaincode in fabric samples and a REST service for client to submit chaincode transactions. It demonstrates basic features of the Hyperledger Fabric, including the creeation and update of states and composite-keys, and various types of queries for state and history with pagination.
  • marble-private, which is a zero-code version of the marbles02_private chaincode in fabric samples and a REST service. It demonstrates the use of private collections.
  • abac, which is a sample to demonstrate the use of Attribute Based Access Control(ABAC). This feature is important for use-cases, such as IOU trading or exchange, that requires user-level access control.
  • equipment, which implements the chaincode and REST and GraphQL services for tracking equipment purchasing and installation coordinated by multiple clients. It demonstrates the use of Hyperledger Fabric events.
  • audit is an audit-trace app used by the TIBCO AuditSafe cloud service. It supports multi-tenant multi-domain audit log and reporting requirements.
  • iou is an advanced sample that implements a cross-border payment network similar to a simplified Ripple network. It implements both a required chaincode and a client app with GraphQL service interface. The chaincode uses some more advanced Hyperledger Fabric features, including ABAC and private collections. The sample illustrates how a real-worlld Hyperleddger Fabric app can be implemented with zero-code.

By comparing other implementations of chaincode and client apps, you can see that hundreds of lines of boilerplate code are replaced by a single JSON model file exported from the TIBCO Flogo® Enterprise or Dovetail. Besides, by using the Flogo visual programming environment, you do not have to learn much of the blockchain APIs nor special programming language for the smart contract. You can implement chaincode and client apps for Hyperledger Fabric by simple drag-drop-mapping in Flogo.

Modeling with TIBCO Cloud Integration (TCI)

If you are already a subscriber of TIBCO Cloud Integration (TCI), or you plan to sign-up for a TCI trial, you can easily start the development of Hyperledger Fabric apps by using a Chrome browser. Refer to Modeling with TCI for more detailed instructions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL