Loading video player...
Description This session focuses on the "Source of Truth" for the Maritime eBDN project. We will bypass the application layer to examine the Solidity architecture that provides immutable proof for bunker delivery documentation. Key Coverage: Storage Optimization: Why we use bytes32 Merkle Roots instead of storing raw data, and how this architecture saves 90% in gas costs. The Registry Pattern: How the contract maps batchId to merkleRoot, creating a permanent ledger of validated maritime events. On-Chain Verification: A live walkthrough of the verify function. We will demonstrate how the contract uses a leaf hash and a Merkle Proof to reconstruct the root and validate a document without ever seeing the original file. Security & Ownership: Examining access controls and the importance of "Time-Stamping" in maritime disputes. Foundry Workflow: Demonstration of forge for deployment and cast for interacting with the contract directly from the command line.