Implementing "proof of origin" system for organic food industry

+2 votes
Hi,

We are trying to create concept of a "proof of origin" system based on SAP cloud platform and Multichain. The idea is to create distributed database but we wonder how to implement it. We have limited theoretical knowledge about blockchain technology. Do you know any real life example of such database we could analyze? Should we use data streams?

The overall goal is to create mobile app everyone can use to trail origin of different low-processed food (e.g. chicken, bag of sweet popatos) through some qr-code. What architecture we should chose to achieve such goal?
asked Jun 13 by Mac

1 Answer

+1 vote
 
Best answer
The most pure approach is to issue an asset representing a certificate of authenticity for a particular product. The asset has as many units as there are units of the product issued. Each time the physical good changes hands, some of the asset changes hands as well, creating a chain of custody record on the chain. The key logistical challenge here is to ensure that every point of physical handover maps to a transaction transferring assets.

A less pure, but perhaps more practical approach, is to use streams, with keys in the stream representing items or batches. At various points along the way, data is written to the stream to represent an event relating to that item or batch. In this case, you don't need an absolute chain of custody representing every handover, but instead simply have a way of keeping track of all events relevant to the product.
answered Jun 14 by MultiChain
Thank you for clear answer. Can you explain me how Multichain fits in with the notion of Blockchain-as-a-Service (BaaS). In our case, we try to prepare POC based on SAP Cloud Platform. Is it still blockchain if it is stored on the cloud?
If all nodes are in the same cloud service, it does take away from the idea of decentralization, since you are depending on that cloud provider. But it's certainly fine for a PoC. For a real deployment you can have some nodes on SAP, some on other clouds, some hosted on-premise, etc...
...