Hash functions and linked blocks
Construct a SHA-256-linked ledger; detect modified data and explain why hash links alone do not guarantee immutability.
Open laboratory →From cryptographic foundations to secure smart contracts and IoT dApps.
Start with hashes, commitments and distributed agreement. Continue into Solidity with the Remix VM, then verify authorization, replay protection and a local dApp. Each experiment has a complete procedure, flashcards and an interactive model.
No public network or real money is required. Offline JavaScript models are not EVM execution. Actual contract testing takes place in Remix VM or the optional local runner.
Construct a SHA-256-linked ledger; detect modified data and explain why hash links alone do not guarantee immutability.
Open laboratory →Construct a four-leaf Merkle tree and verify inclusion against a trusted root.
Open laboratory →Compare agreement, split votes and unavailable voters under a fixed four-voter teaching rule.
Open laboratory →Compile, deploy and call a simple Solidity state variable and distinguish reads from transactions.
Open laboratory →Use msg.sender, mappings, custom errors and events to enforce administrative authorization.
Open laboratory →Anchor off-chain telemetry using a bytes32 digest, per-device monotonic sequence and explicit authorization.
Open laboratory →Connect an off-chain sensor payload to a contract invocation, receipt, event and subsequent verification.
Open laboratory →Compare raw storage and digest storage using actual transaction gas, and distinguish bytes from gas.
Open laboratory →Demonstrate linkage risks of low-entropy hashes and design a privacy-preserving IoT commitment architecture.
Open laboratory →Construct a SHA-256-linked ledger; detect modified data and explain why hash links alone do not guarantee immutability.
Construct a four-leaf Merkle tree and verify inclusion against a trusted root.
Compare agreement, split votes and unavailable voters under a fixed four-voter teaching rule.
Compile, deploy and call a simple Solidity state variable and distinguish reads from transactions.
Use msg.sender, mappings, custom errors and events to enforce administrative authorization.
Anchor off-chain telemetry using a bytes32 digest, per-device monotonic sequence and explicit authorization.
Connect an off-chain sensor payload to a contract invocation, receipt, event and subsequent verification.
Compare raw storage and digest storage using actual transaction gas, and distinguish bytes from gas.
Demonstrate linkage risks of low-entropy hashes and design a privacy-preserving IoT commitment architecture.
Continue with six supplementary experiments B10–B15: roles, Merkle batches, gateway serialization, event reconciliation, gas controls and local dApp verification.
Open advanced blockchain studio →