Until now, we have covered the basic, necessary Hyperledger Composer business network components, namely, the model, script, and permission ACL. Now, it's time to start developing our LC use case. We will be basing this on a sample generated previously by Yeoman and the modeling elements presented earlier.
LC business network
Initial LC model
As presented earlier in the LC concepts and design section, we have four actors in our LC use case, namely, a buyer, a seller, an issuing bank, and a confirming bank. Let's define these participants in our CTO model as follows:
namespace org.example.lc
enum ParticipantType {
o BUYER
o SELLER
o ISSUING_BANK
o CONFIRMING_BANK
}
// PARTICIPANTS
//BANK
participant Bank identified...