January 2020
Intermediate to advanced
530 pages
11h 11m
English
To successfully carry out remittances on our blockchain network, we need to write and deploy a smart contract. The smart contract will define the transaction object, including the transaction parameters that will be captured in the channel ledger. The smart contract will allow authorized users to write transactions to the ledger and read transactions that have been written to the ledger.
We'll be creating a chaincode (smart contract) called corprem.js. It will have the following methods:
OK. Let's start writing our contract.
Read now
Unlock full access