September 2019
Intermediate to advanced
350 pages
9h 23m
English
Chaincode results in the creation of assets (key-value pairs) on the ledger, as HLF represents assets as key-value pairs. Assets state changes are recorded as transactions on the channel's ledger. There are few ways to represent assets—in binary or JSON form. For the university use case in this book, two assets are defined:
This chapter includes the creation of basic assets and chaincode to enable quick learning of the development process. The inclusion of more assets and a comprehensive set of operations might lead to the investment of time in the modeling of the use case itself. Later, when you've experimented more with the use case, you can add ...
Read now
Unlock full access