Hyperledger Fabric offers a number of SDKs to support developing smart contracts (chaincode) in various programming languages. There are two other smart contract SDKs available for Go, and Node.js, in addition to this Java SDK:


Detailed explanation on the concepts and programming model for smart contracts can be found in the Chaincode Tutorials section of the Hyperledger Fabric documentation.

Javadoc is available for each release:



dependencies {
  implementation 'org.hyperledger.fabric-chaincode-java:fabric-chaincode-shim:VERSION'



More options can be found on the central maven repository.

Check the release notes for the changes in each version.


For details on what versions of Java and Hyperledger Fabric can be used please see the compatibility document.


Several Java chaincode samples can be found in the fabric-samples repository