For the complete documentation index, see llms.txt. This page is also available as Markdown.

Commit a Chaincode to the Channel

Chaincode is the smart contract of Hyperledger Fabric that handles the business logic of a particular application. A smart contract programmatically accesses two distinct pieces of the ledger — a blockchain that immutably records the history of all transactions, and a world state that holds a cache of the current value of these states.

The Catalyst Blockchain Manager Hyperledger Fabric service supports Hyperledger Fabric v2.0 capabilities with the following chaincode lifecycle:

1

Add a Chaincode

The current version of Catalyst Blockchain Manager supports external chaincodes. Organizations do not need to package the chaincode — they just need to create a Docker image and provide a link to the Docker repository.

See Add a Chaincode.

2

Install the Chaincode on Your Peers

Every organization that will use the chaincode to endorse a transaction or query the ledger needs to complete this step.

See Install the Chaincode.

3

Approve a Chaincode Definition for Your Organization

Every organization that will use the chaincode needs to complete this step. The chaincode definition needs to be approved by a sufficient number of organizations with endorser rights to satisfy the channel's policy before the chaincode can be started on the channel.

See Approve a Chaincode.

4

Commit the Chaincode Definition

Any organization can commit a chaincode if all necessary approvals were done.

See Commit a Chaincode and Chaincode Lifecycle for full details.

Last updated

Was this helpful?