/
Chaincode

Chaincode

Chaincode

Chaincode is a computer program that either provides functionalities for Enterprise transactions or state. It is useful to distinguish chaincode specific for an enterprise and chaincode that provides domain agnostic functions.

Fabric: The current trend in Fabric is to use the term chaincode to cover both enterprise specific and domain agnostic chaincode. Enterprise specific chaincode is what most people call smart contracts.

Chaincode - Smart contracts in Hyperledger Fabric. They encapsulate both the asset definitions and the business logic (or transactions) for modifying those assets.

Chaincode - Smart contracts in Hyperledger Fabric. They encapsulate both the asset definitions and the business logic (or transactions) for modifying those assets.

Smart Contract

A smart contract is code – invoked by a client application external to the blockchain network – that manages access and modifications to a set of key-value pairs in the World State via Transaction. In Hyperledger Fabric, smart contracts are packaged as chaincode. Chaincode is installed on peers and then defined and used on one or more channels.

Related content

Hyperledger Fabric Chaintool
Hyperledger Fabric Chaintool
More like this
Support Decentralized Governance for Smart Contracts in Fabric Python SDK
Support Decentralized Governance for Smart Contracts in Fabric Python SDK
More like this
Hyperledger Fabric Private Chaincode
Hyperledger Fabric Private Chaincode
More like this
Runtime-checked automated programming for chaincode development
Runtime-checked automated programming for chaincode development
More like this
Hyperledger Fabric CC-Tools Support for Fabric Private Chaincode
Hyperledger Fabric CC-Tools Support for Fabric Private Chaincode
More like this
Integrating Substrate Framework with Hyperledger Fabric for Enhanced Interoperability
Integrating Substrate Framework with Hyperledger Fabric for Enhanced Interoperability
More like this