more complicated real sample

Copper Contributor

I just saw the video:

https://www.youtube.com/watch?v=mlRx52p61_g

 

I like it.

did you have a more complicated real life sample?
for example, there are multiple milk providers, going to the same production unit.
then multiple products created and delivered to multiple stores
and with another player: a data quality team in charge of testing the products (milk and final product).
 
which mean starting from the end, we have 1 box of product arriving in a store which has an issue, like the data quality team identify something for this product only, then only this box broke the contract, but not the entire chain.
at the opposite, if we identify an issue with the entry milk, we have to flag the entire products based on this milk only, but not the over one.
 
how to setup this?
is it multiple contracts?
how to link all of these stuff together?
 
Thanks.
 
1 Reply
You can find multiple contract samples here: https://github.com/Azure-Samples/blockchain/tree/master/blockchain-workbench/application-and-smart-c...

Check out the Bazaar Item Listing and Ping Pong Game sample for examples of how you can have multiple contracts interact with one another.