Semantic Web and Web 3.0 · class 11 · demo
Anchor a document
On chain goes the digest — 32 bytes — never the document. Type a document: the page computes its digest and asks the contract
whether it has it, with get(digest). As in example 06, the certificates' «document» is their URI, so typing a certificate URI finds it.
An in-memory chain (the Ethereum virtual machine, @ethereumjs/evm), in this one process: no test network, no wallet, no keys, no money. Nothing a visitor does is kept.