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:

Documentation

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:

Download

Gradle:

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

Maven:

<dependency>
  <groupId>org.hyperledger.fabric-chaincode-java</groupId>
  <artifactId>fabric-chaincode-shim</artifactId>
  <version>VERSION</version>
</dependency>

More options can be found on the central maven repository.

Check the release notes for the changes in each version.

Samples

Java chaincode samples for commercial paper and fabcar can be found in the fabric-samples repository