Blockchain Can Tell You where that Raspberry really came from.

But lack of data, power consumption issues and the cost to farmers point to a Technology that may not be ready.

Leonard Eichel
Mar 15 · 15 min read

I came across a fascinating story about a raspberry recently.

Well, not one raspberry, but a whole shipment of them.

Photo Credit: Mona Eendra on Unsplash.

Dave Sherwood from Reuters wrote a illuminating article about how raspberries were involved in a case of food fraud.

You can read all about it in Mr. Sherwood’s piece, but in sum, in January of 2017, Chilean customs officials received a tip from a whistleblower who informed them that Chile’s crop of raspberries — fruit that is grown during the winter months in the South — was under threat. When the officials raided the offices of Frutti de Bosco, they discovered an operation designed to pawn off Chinese raspberries as Chilean in an operation that spanned three continents.

Raspberries grown in China, then flash frozen, were shipped to New Zealand via a middleman. Frutti de Bosco in Chile bought the berries from the middleman and had them shipped to Chile. There were then moved to a packaging plant, re-packaged and labeled as being both ‘premium and organic’ and as originating in Chile. The berries were then shipped again to the Canadian market, specifically to food wholesaler based in my home town, Montreal, for retail sale.

I’m a sucker for field berries. I know that berries of all sorts are shipped from Chile and Peru during the winter months, with their final destination being berry-starved consumers in cold Canadian cities. I may have even bought some of those ‘Chilean’ raspberries.

But the only way I know where the berries I buy come from is the word of the person selling them to me, and the signage the vendor uses. I have no way to actually validate where those berries came from through other means.

Reading the Reuters article made me realize the insidiousness of food fraud and how the provenance of the food we eat is difficult or impossible to validate as a consumer, but also, how little attention it gets from Canadians. Apart from media coverage for food recalls, food fraud gets little coverage. The Agri-Food Analytics Lab at Dalhousie University published a recent survey where 74.9% of Canadians generally feel that food products in Canada are safe.

And yet, some of those ‘Chilean’ raspberries made Canadians sick, leading the Canadian Food Inspection Agency (CFIA) to issue a recall on those berries coming from China. What they didn’t realize until later was that potentially lethal berries were coming into Canada via the Chilean backdoor.

Promoters of Blockchain technology have been quick to inform the food world that they have a solution for this problem. Blockchain applied to the food supply chain will lead to full transparency in food provenance, they say, not only for the food wholesaler and retailer, but for the consumer as well and ensure that food imported into Canada is safe for consumption.

As a consumer, and as someone working the tech industry, the promises of blockchain enthusiasts makes me ask — really? How does that work?

First, the basics about blockchain.

Blockchain is a system for recording ledgers, or records, of transactions in a de-centralized and encrypted manner. The records can be anything — financial records, certifications, emails, records of product shipments, accreditations, etc.

Rather than have such transactions reside in a centralized database controlled by a centralized authority, the information is instead distributed in a decentralized manner over thousands of sites, called blocks.

Each block contains a certain amount of information or transactions, and is linked to the block before it. As each block of information is linked, forming a chain, the term blockchain is used to describe the entire sequence of transactional information for a particular industry or application.

The key challenge with a distributed manner of recording information is how to permit multiple parties to create, verify and update information within the many blocks of information within the chain.

At least three basic elements are required for blockchain to function:

  1. A peer-to-peer computer network that is open to everyone, and accessible by everyone. We have this today in the form of the Internet. It allows contributors to share information on the same blockchain from wherever they are located on the globe.
  2. Cryptography is required to ensure that contributions to the blocks are unaltered, and verifiable as not coming from bad actors. This is done through the use of a cryptographic function that translates every input into a fixed-length string of numbers. Each block in the chain is also identified by using a unique numerical sequence, and each block also contains the identifier of the previous block. This way of identifying blocks makes the data within the blocks immutable, or impossible to change, as to change one block means changing all the previous blocks.
  3. A Consensus algorithm, or rule, is required so that everyone agrees on how to open the ‘gate’ to access the chain to add information to blocks, and how information in the blocks are verified. In Bitcoin’s case, they use a Proof of Work algorithm, whereby persons wishing to add or change information have to solve a mathematical problem, which requires data mining and a lot of computational power to solve (I’ll come back to this particular point below).

However, blockchain technology should only be used if there is a demonstrated case to be made for a decentralized, distributed network. If there are no advantages to decentralization, there’s no use in implementing blockchain technology; in that case, a centralized solution works probably more efficiently.

Before a particular sector implements blockchain technology (like the food sector, for this article), some obvious questions need to be asked:

With the story of our ‘Chilean’ raspberries in mind, we can provide answers to the questions above fairly easily:

Based on this short analysis, it seems that blockchain — as applied to a food supply chain — is suitable for this sector, and would drive significant benefits in terms of traceability and transparency.

Blockchain is not omnipresent and cannot magically watch a particular product from the farm to the plate. Like any data storage system, blockchain needs inputs. It needs humans to interact with the platform. And this is, in my mind, where the applicability of blockchain gets less obvious.

There are limits to what farmers can actually input into a blockchain system today. The information inputs around products produced by smaller farmers, in particular, are not standardized. Farmers lack the tools and technology to gather the data that might be useful for a blockchain system. Farmers grow natural products; their consistency, makeup and content change with each crop and is highly dependent on the inputs (or, in the case of a farm practicing regenerative methods, the lack of artificial inputs) that are used to produce a particular crop.

Blockchain can’t verify that an egg operation is truly cage-free or what that cage-free operation really looks like. But it might offer a way for farmers to get more information to consumers. Farmers who don’t sell their food to a farmer’s market or get an opportunity to interact with consumers, often struggle with how to engage with the public, looking for ways to explain how and why they grow food the way they do. Blockchain enables farmers to get data to consumers, but what is needed more from a consumer level is the context in which that product was produced in the first place. That’s what consumers really need to make informed decisions about their food.

Take the recent Buttergate issue. If a consumer purchasing butter would be able to know at the point of sale which farm their butter came from, the feed used by the farmer to produce the milk at any particular time and how that farmer treats her animals, that would be a powerful tool for consumers to influence their purchasing decisions but also, a powerful tool for the farmer to be further incented to sell the best product they could. Dairy farmers are already incented to produce a quality product, but they lack the means to really communicate their essential context directly to the consumer. Much of their product is purchased by large, consolidated producers, who use the raw product of milk to product any number of other derivative products, such as cheese and yogurt.

A blockchain system that focused on dairy production might be the answer. Or one focused on the importation of fruits and vegetables or the production of fruits and vegetables more locally. And another on the production of beef. And so on.

There is another issue that needs to mentioned — power consumption of blockchains.

Hundreds of Data Mining servers solving Proof of Work calculations.

There’s been plenty written recently about how much electricity Bitcoin requires.

There is a good paper written by Sedlmeir et al, in June, 2020 that provides detailed explanations of why this is so. Here is one paragraph from that paper that sums up well why Bitcoin is so power-hungry:

Bitcoin’s key innovation was to provide a suitable consensus mechanism for the use in this scenario. Specifically, Bitcoin combined several well-known concepts from cryptography to form the so-called PoW [Proof of Work]. This refers to the right to create a new block from a subset of queued transactions when one finds a solution to a cryptographic, computationally intensive puzzle. The process of searching for a solution is called “mining”. This results in coupling the voting weight to a scarce resource — computing power and thus energy — and hence prevents Sybil attacks. The mining process is economically incentivized in that participants are rewarded for every valid block that is found and disseminated. The reward typically consists of a certain amount of the associated cryptocurrency and the fees for the associated transactions. The value of the former is proportional to the cryptocurrency’s market price, so the success of cryptocurrencies on financial markets in the last years has provided a very strong incentive to participate in mining. In turn, this has led to an enormous energy consumption associated with the underlying PoW blockchains.

Based on calculations by Sedlmeir et al, the average electricity consumption by the top five Proof of Worth cryptocurrencies is around 110 TWh per year. Since I wrote this, it has risen to 120 TWh per year, according to Cambridge Bitcoin Electricity Index. As a comparison, Hydro Québec sold 171.4 TWh of electricity into the Québec market during all of 2020. To put that consumption into perspective, a single bitcoin transaction uses the same amount of electricity that an average American household consumes in one month. Almost 70% of the world’s data mining activity is occurring in China, which will certainly have an impact on that country’s ability to curb its greenhouse gas emissions over the next decade. It’s getting to the point now that cyptrocurrency firms are building their own power plants, to guarantee the delivery of electricity to support their mining operations.

And as Bitcoin — and other cryptocurrencies Proof of Worth calculations continue to grow — concerns are being expressed on the very sustainability of blockchain, given how much electricity it is diverting from electrical grids.

There are alternative methods of validating/adding to the information in blocks:

Sedlmeir et al did not go into detail on assessing the power consumption levels of these other algorithmic methods of accessing blocks, and information is hard to find on just this element.

Regardless of the method used to access blocks, it is clear that power consumption and the footprint from an environmental point of view needs to be taken into account as part of any assessment to deploy blockchain.

Where does this leave my basket of imported raspberries?

Well, still subject to current levels of authentication — inspection by Canadian authorities, diligence on the part of importers and following the news on any health issues that may be tied to the consumption of tainted berries.

This is still a new field. But there are companies in the agricultural domain using blockchain to implement traceability and transparency initiatives:

Large retailers in the United States, such as Walmart, are implementing blockchain solutions for their leafy greens, forcing their suppliers to jump on board and adopt the technology.

It would seem to me that the CFIA should be working harder at encouraging Canadian companies to implement such solutions to make their work less relevant. If more of the food industry were to use blockchain solutions, incidents of food fraud and questionable and dangerous food quality might decline, making the work of the CFIA inspectors that much easier. The CFIA certainly has this on their radar, and has conducted feasibility studies on the use of blockchain in the livestock industry to improve traceability and reporting.

More than that, however, food producers themselves ought to be looking into the use of blockchain as a way of supporting their brand and improving the quality of information that consumers can access on the products they buy.

Based on everything that I’ve seen, there are at least three issues that are potentially holding up wider implementation of blockchain in the food production industry in Canada:

I suspect that it may be a while before I can ask my vendor at the market for the QR code so I can scan it and check quickly the provenance of the raspberries she is selling me in the middle of winter. Or, if I can scan a similar code on my litre of milk and get similar info regarding the farm from where it came, and an overview of the animal welfare practices of that farmer.

And frankly, I’m not sure that I necessarily want to participate in a solution that is potentially diverting a large amount of electricity from people who need it for basic needs, such as heat, light and food preparation.

Blockchain proponents have to be more transparent in explaining to consumers how ethical their solutions are, so that wider acceptance and adoption can occur. After all, everyone wants to buy food that is good for us, is produced using sustainable and ethical practices and is not going to kill us if we eat it.

But the solution can’t be worse than the problem. If it is, then we’ll be imposing more of an environmental burden on society as a whole, and it won’t be sustainable in the long run.

The Universal Wolf

Bridging Personal Food Choices with Government (In)Action

The Universal Wolf

How our personal food choices are linked with Government polices that affect how food is produced, harvested and distributed to our plates. I’ll highlight what works, and what doesn’t, in improving what we eat. The Universal Wolf = Appetite (Shakespeare, Troilus & Cressida).

Leonard Eichel

Written by

Telecom professional, writer, food lover. Focussed on discovering civilized eating & sharing that with the world.

The Universal Wolf

How our personal food choices are linked with Government polices that affect how food is produced, harvested and distributed to our plates. I’ll highlight what works, and what doesn’t, in improving what we eat. The Universal Wolf = Appetite (Shakespeare, Troilus & Cressida).