Supply Chain Lab Blockchain Traceability Demo Lab Home
Digital Supply Chain

Blockchain Traceability Demo

One shipment, six custody hand-offs, each sealed in a block whose SHA-256 hash includes the previous block's hash. Fake a temperature reading and watch the chain snap downstream - then try to hide it by re-mining, and count what that costs.

How to use it

The custody chain

mining attempts: 0

Same shipment, central database

Edit anything here - nothing turns red, nothing counts attempts, and no one can later prove the record changed. The contrast with the chain is the lesson.

Try these experiments

  1. Fake the temperature at the Port block and count how many blocks break (it and everything downstream).
  2. Re-mine to hide it at difficulty 3 and note the total attempts - roughly 4,096 per block on average.
  3. From the counter, explain why consortium chains run low difficulty: trusted validators replace brute-force cost.

About this tool

The concept

A blockchain is tamper-evident, not tamper-proof: any edit invalidates every later hash, so hiding a change means rewriting the whole tail of the chain.

How it works

Each block's SHA-256 hash covers its payload, a nonce and the previous hash. Proof-of-work demands hashes with leading zeros - found only by brute force.

In supply chains

Custody records (temperature, weight, handler, time) become verifiable across firms that don't fully trust each other - the classic cold-chain use case.