Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This bundle contains a set of Joget plugins to query and update invoke transactions on a Hyperledger Fabric blockchain network.
For detailed instructions and an introduction to Hyperledger Fabric, please refer to the article
Blockchain Made Simple: No-Code Apps with Hyperledger Fabric and Joget.

This plugin source code is available in a new open source repository at https://github.com/jogetoss/. JogetOSS is a community-led team for open source software related to the Joget no-code/low-code application platform. Projects under JogetOSS are community-driven and community-supported, and you are welcome to contribute to the projects.

Plugin Info

Plugins Available available in the Bundlebundle:

  1. Hyperledger Fabric Tool

  2. Hyperledger Fabric Datalist Binder

  3. Hyperledger Fabric Form Binder

English
This plugin bundle is compatible with Joget

...

DX 7 and Joget Workflow v6.

Installation

Source Code

The source code for the plugin is available at https://github.com/jogetoss/joget-hyperledger-fabric.

Installing the Plugin

  1. To download the plugin file (.jar), do look for the latest plugin release at JogetOSS: https://github.com/jogetoss/Download the plugin JAR file:
    View filenamejoget-hyperledger-fabric-6.2.1.jarheight150/releases

  2. Upload the downloaded .jar file through into your Joget platform via Manage Plugins.

  3. Map and configure the tool Hyperledger Fabric Tool plugin to any Process Tool/ or Post Form Submission Processing Plugin.

  4. Map and configure the datalist binder Hyperledger Fabric Datalist Binder to any Datalist Binder.

  5. Map and configure the form binder Hyperledger Fabric Form Binder to any Form Load Binder.A sample app for Joget Enterprise Edition is available for download here.

Sample App

This sample app reuses the "fabcar" example from this Hyperledger Fabric - Writing Your First Application Guide.

For summarized setup steps & info on how to configure this sample app prior to usage, you may refer to the related Joget Blog - Blockchain Made Simple: No-Code Apps with Hyperledger Fabric and Joget.

After performing the necessary prerequisites and installing the required samples & binaries, simply download the sample app below, import the app into your Joget instance and publish the app.

View file
nameAPP_fabcar-fabric2.0-20200310143047.jwa
height150

...

Sample connection profile to the Fabcar network

...

:


connection-fabcar.json

...

Screenshots

...

Screenshots

Image Removed

Image Removed

Image Removed

Image Added

Figure 1: Hyperledger Fabric configuration


Image Added

Figure 2: Fabric Transaction options


Image Added

Figure 3: Storing transaction status to form field


Image Added

Figure 4: Storing transaction status to workflow variableImage Removed

Changelog

VersionItems
7.0.0

Updated for compatibility with Joget DX7

Upgraded to fabric-sdk-java 2.2.19
Upgraded to gson 2.9.1
Upgraded to bouncycastle 1.70

6.2.2Upgraded to fabric-sdk-java 2.2.6
Upgraded to commons-io 2.8.0
Upgraded to guava 3.1.1-jre
6.2.1Updated for Hyperledger Fabric 2.2
6.2.0Updated for Hyperledger Fabric 2.0
6.1.0Updated for Hyperledger Fabric 1.4 on IBM Blockchain Platform
6.0.0Initial release

Common Errors And Troubleshooting

If you are hitting a similar error such as below:-

Code Block
WARN  12 Feb 2023 21:48:11 org.hyperledger.fabric.sdk.PeerEventServiceClient - PeerEventServiceClient{id: 151, channel: mychannel, peerName: peer0.org1.example.com, url: grpcs://peer0.org1.example.com:7051} PeerEventServiceClient{id: 151, channel: mychannel, peerName: peer0.org1.example.com, url: grpcs://peer0.org1.example.com:7051} attempts 10 Status returned failure code 403 (FORBIDDEN) during peer service event registration

The solution is to delete the wflow/hf_users folder.