Hyperledger Java SDK working example

Xenonite :

I am currently digging into Hyperledger Fabric and I can't get stuff started with the Java SDK (talking about 1.0.0-beta here). Is there a working example starting from connecting to the Fabric node, doing queries, etc? All I found so far through extensive googling are "let's-write-some-chaincode" examples.

Ashishkel :

You can take a look at the following

  • Java SDK for Hyperledger Fabric 1.1. In this, there are two files given in the folder "fabric-sdk-java/src/test/java/org/hyperledger/fabric/sdkintegration/" ==> End2endAndBackAgainIT.java, End2endIT.java. This can help.
  • For a demonstration, refer to Youtube channel video: End to end Demo
  • For a fabric network which has everything (network & crypto) setup for the E2E demo: E2E Cli Setup

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=437904&siteId=1