This prototype is a distributed application powered by Hyperledger Sawtooth to track and manage the supply chain of:
- Wine
The user can easiliy create a product and link it to the blockchain. The user can track the product by its data such as serial number, location or type. Also, administrators can transfer the ownership or possession to an administrator.
- Administrator: This user types manages the product logistics.
- Custodian: This user has the current possession of the product. It can post updates for the product such as temperature or product status.
- Owner: This user owns the product.
You can find Architectural UML Diagrams here.
A "Wine" company can access the prototype and register ad administrator. Then, an adminsitrator can create a product tracking record. When the product is sent from point A to B, the custodianship of the product can be moved too. The ownership remaind to the owner, and each administrator can update the product with the wine state such as temperature or location.
This can be used by the end-user to track the wine or by the wine company to track the wine.
Once Docker is installed and you've cloned this repo, navigate to the root project directory and run:
docker-compose up
This will take awhile the first time it runs, but when complete will be running all required components in separate containers. Once, the project has composed, the prototype will be at http://localhost:8022
More information in thesawtooth-core repoorpublished docs.