github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/docs/source/sdk_chaincode.md (about) 1 # Fabric Contract APIs and Application APIs 2 3 ## Fabric Contract APIs 4 5 Hechain offers a number of APIs to support developing smart contracts (chaincode) in various programming languages. 6 Smart contract APIs are available for Go, Node.js, and Java. 7 8 * [Go contract API](https://github.com/hyperledger/fabric-contract-api-go) and [documentation](https://pkg.go.dev/github.com/hyperledger/fabric-contract-api-go). 9 * [Node.js contract API](https://github.com/hyperledger/fabric-chaincode-node) and [documentation](https://hyperledger.github.io/fabric-chaincode-node/). 10 * [Java contract API](https://github.com/hyperledger/fabric-chaincode-java) and [documentation](https://hyperledger.github.io/fabric-chaincode-java/). 11 12 ## Fabric Application APIs 13 14 Hechain offers a Fabric Gateway application API to support developing applications in Go, Node.js, and Java. This API uses the Gateway peer capability introduced in Fabric v2.4 to interact with the Fabric network, and is an evolution of the new application programming model introduced in Fabric v1.4. The Fabric Gateway API is the preferred API for developing applications for Fabric v2.4 onwards. 15 16 * [Fabric Gateway application API](https://github.com/hyperledger/fabric-gateway) and [documentation](https://hyperledger.github.io/fabric-gateway/). 17 18 Legacy application SDKs also exist for various programming languages, and can be used with Fabric v2.4. These application SDKs support versions of Fabric prior to v2.4, and do not require the Gateway peer capability. They also include some functionality, such as administrative actions for managing enrollment of identities with a Certificate Authority (CA), that are not offered by the Fabric Gateway API. Application SDKs are available for Go, Node.js and Java. 19 20 * [Node.js SDK](https://github.com/hyperledger/fabric-sdk-node) and [documentation](https://hyperledger.github.io/fabric-sdk-node/). 21 * [Java SDK](https://github.com/hyperledger/fabric-gateway-java) and [documentation](https://hyperledger.github.io/fabric-gateway-java/). 22 * [Go SDK](https://github.com/hyperledger/fabric-sdk-go) and [documentation](https://pkg.go.dev/github.com/hyperledger/fabric-sdk-go/). 23 24 Prerequisites for developing with the SDKs can be found in the 25 Node.js SDK [README](https://github.com/hyperledger/fabric-sdk-node#build-and-test), 26 Java SDK [README](https://github.com/hyperledger/fabric-gateway-java/blob/main/README.md), and 27 Go SDK [README](https://github.com/hyperledger/fabric-sdk-go/blob/main/README.md). 28 29 In addition, there is one other application SDK that has not yet been 30 officially released for Python, but is still available for downloading and testing: 31 32 * [Python SDK](https://github.com/hyperledger/fabric-sdk-py).