CHAIN-TRACE Book a demo

On-chain vs off-chain traceability

A blockchain is great at proving that a record hasn't changed and poor at storing documents. The practical answer for fresh produce is to keep the data off-chain and its fingerprint on-chain.

Blockchain network for fresh produce traceability

Side by side

All data on-chainOff-chain package + on-chain hash (CHAIN-TRACE)
What is stored on the chainEvery field and documentSupplier, product, record type, file name, hash
PrivacyVisible to every node, permanentlyEncrypted; supplier chooses who sees what
Documents & photosImpracticalPDF, XLS, DOC, JPG in the package
Cost per recordHigh, grows with data sizeLow and fixed
Tamper evidenceYesYes – any change breaks the hash
Deleting data after retentionNot possiblePackages purged after 4 years

How a CHAIN-TRACE verification works

  1. Package

    Producepak builds a traceability package for a batch, pallet or invoice.

  2. Hash

    CHAIN-TRACE encrypts the package, stores it off-chain and writes its hash to a new blockchain record.

  3. Scan

    A purchaser or consumer scans the QR code or enters the code in the portal.

  4. Verify

    Several nodes recompute the hash and compare it with the chain record before the report is shown.

The same blockchain-plus-database pattern is used in academic produce traceability platforms such as the one described in Computers (MDPI), 2024, built on Hyperledger Fabric.

Questions

Is off-chain data less secure?

No. The file is encrypted and its hash is on-chain; any change to the file changes the hash, so tampering is detectable by anyone verifying it.

Why not store everything on-chain?

On-chain data is permanent, public to every node and expensive to store. Commercial documents, photos and personal data don't belong there.

Put CHAIN-TRACE traceability on every pallet you ship

CHAIN-TRACE codes are generated by Producepak, the fresh produce app for packers, wholesalers and food service. US$6,200 p/a: 8 users, unlimited sites, setup, training and consulting included.

Watch the video & book a demo