Now that we have working transactions, we can think about how to use data in each transaction so that it tells a clear story. Useful, accessible data will enable participants in the Andamio Network to gain insights about how their organization is working.
Each Andamio Course transaction with arbitrary data fields will be refined so that helpful data is easy to find. These features will be documented in Andamio PBL and the Andamio Docs so that our team can give feedback on the Andamio system.
Every Andamio transaction helps to tell a story. Sometimes, a simple aggregation of transactions is all we need: we will want to know, for example, how many learner tokens are minted, how many contributor commitments have been fulfilled, or the amount of commitment rewards that have been distributed through a treasury.
Within many of these transactions, we can add additional data. There are two kinds of data that we can add:
In the Andamio Course Management system:
Assignment. An assignment includes assignmentContent, which can be any string, which is defined by the Course Creator.LearnerInfo field. The holder of a Learner token can change the LearnerInfo to any string.AssignmentDecisionDatum is created. This datum includes a studentAssignmentInfo field, where Learners provide some evidence about their work. This evidence is checked by the Course Facilitator, and an assignment cannot be approved if there is no assignment info. can be any string.AssignmentLearnerReferenceDatumModuleRefDatumAssignmentDecisionDatumLet’s look at an example!
LearnerReferenceDatum looks like this:721 to include an NFT image that will be visible in most Cardano wallets, or in on-chain explorers. We are including images on Learner tokens, for example.