If you buy a pack of coffee from Cambio, a direct trade organic coffee company, and scan the label with your smartphone, you will see the journey the coffee had made to get to your breakfast table: from harvest in Peru to shipment, to roasting in Shanghai and then to delivery to your home. Each stop on the journey is recorded on the blockchain so that the data cannot be tampered with. For a company that prides itself on building a direct link from coffee farmers to consumers, these immutable records are proof of their mission. “Our goal is to connect the consumer to the origin story,” says Sebastian Martin, CEO of Cambio Coffee. “So far we have been doing it through our marketing material. Now blockchain technology gives us a way to validate our claims.”
ScanTrust, the company that provides secure QR codes for the labels as well as the software platform, has implemented this blockchain-enabled traceability using Hyperledger Sawtooth. “Every project we do is about empowering brand owners to create trust with consumers,” explains Nathan Anderson, CEO of ScanTrust. “Adding blockchain capabilities to our platform takes this to the next level.”
ScanTrust operates an enterprise SaaS platform that connects millions of products to the Internet by giving each of these products a unique digital identity in the cloud. With its copy-proof QR code, the company brings trust, transparency, and traceability to the supply chain. In order to enhance its offering in supply chain traceability, ScanTrust decided to look into blockchain technology. For a project that revolves around trust, the team felt it was crucial to use open-source technology. They were also looking for a reliable, proven solution with an active community behind it. Therefore they chose Hyperledger. Anderson explains, “Hyperledger has momentum, it is growing. We know that it’s not just us working on it; the product and the protocol will continue to evolve and become more robust.” Within Hyperledger projects and frameworks, the team felt that Sawtooth was the best fit for their needs because of its focus on IoT implementations.
Hyperledger Sawtooth is a blockchain framework and one of the Hyperledger projects hosted by The Linux Foundation. With potential in many fields, from IoT to financials, Hyperledger Sawtooth has an architecture that recognizes the diversity of requirements across the spectrum with support for both permissioned and permissionless deployments. It includes a novel consensus algorithm, Proof of Elapsed Time (PoET), which targets large distributed validator populations with minimal resource consumption. Designed for versatility and scalability, Hyperledger Sawtooth was initially contributed by Intel.
The ScanTrust team had been learning about Hyperledger projects and frameworks for some time, and once the project with Cambio Coffee came up, they quickly put together a proof of concept. It was well received, so the team rolled it out and started integrating it into their platform.
The architecture involves a 3-node Hyperledger Sawtooth cluster; each runs a “coffee chain” Python transaction processor. ScanTrust combines information provided by the brand (like nutritional values) with data from the blockchain (events in the supply chain) and shows it to the consumers in their custom application.
The ScanTrust team considers their blockchain implementation a success. “We were impressed by how fast the infrastructure is,” says Tobias Kars, VP Product Management at ScanTrust. “It is really lightning fast.” The team also appreciated the clear feedback on when a transaction is committed, flexible data storage and the simplicity of writing a transaction processor. Moreover, the Hyperledger Sawtooth team was there to answer their questions. ScanTrust has now contributed some of the code they wrote as templates to the Hyperledger Sawtooth database.
Cambio Coffee has started putting the ScanTrust codes on their packs in May 2018, to an enthusiastic response from customers. Currently, the roaster in Shanghai and the delivery company enter data onto the blockchain (these include the date of entry, harvest date, the origin of coffee, roast date, etc.). Cambio Coffee plans to roll out the feature to the shipping company and eventually the farmers, to cover the whole supply chain. ScanTrust plans to use the Hyperledger Sawtooth-based solution for other projects. Besides enhancing traceability in the supply chain, the team sees other uses for the technology. For example, a brand could create its own token to incentivize consumers to share data; or it could develop ways to allow consumers to tip the farmer who produced their coffee.
“Today’s connected consumers are demanding more transparency, and with global supply chains becoming more complex, achieving this is a challenging task,” says Anderson. “ScanTrust secure identifiers connect physical goods to the internet for enhanced supply chain security; by adding open blockchain technology to this foundation, brands are able to protect and track their products using a software platform and mobile phone authentication.”