Unchanged node Recomputed (cascade) Merkle proof node
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Merkle Tree Batch Verification

A pharmaceutical blockchain doesn't store every batch record inside every block — it stores one Merkle root, a single hash that commits to the whole ledger. This simulator builds a real Merkle tree in 3D from 4, 8 or 16 drug-batch records, hashing leaves and internal nodes with a genuine FNV-1a mix. Tamper with any one batch and watch the avalanche effect ripple up the tree as only the ancestor chain recomputes; toggle the Merkle proof view to see how a verifier confirms a single batch's authenticity by checking just log₂(n) sibling hashes instead of re-hashing the entire ledger.