- Let's start with the name.cto model file. Model files define the assets, participants, transactions, and events in our business network. Remember that, after each step, you need to deploy the changes. Now we'll see some screenshots that will illustrate the process:
- Let's use the following code to create the participants, transactions, and events:
// ** * Sample business network definition. */ namespace org.example.basic asset SampleAsset identified by assetId { o String assetId --> SampleParticipant owner o Double value } participant SampleParticipant identified by participantId { ...