Search⌘ K
AI Features

Understanding Chaincode

Explore how to write and deploy chaincode using JavaScript in Hyperledger Fabric. Understand how chaincode interacts with the world-state database and performs CRUD operations on land records. This lesson guides you through the practical steps of creating, deploying, and interfacing with chaincode within a blockchain network.

We'll cover the following...

Lets start with a simple chaincode to ensure we understand the basic concepts.

We will use a simple Land Record(landrec) chaincode which will do CRUD operations on basic land records.

We will be using javascript(node) as the language for our chaincode. GO is also supported though.

We will use the fabric-contract-api node package to write our chaincode.

How chaincode works

...