The engineering of trust
What happens when you record a file, why the proof is solid, and how anyone can check it — even without Docmint.
The recording flow
- 1
Hash on your device
When you pick a file, your browser computes its SHA-256 — a 64-character fingerprint. The file's content is not transmitted.
- 2
Metadata on IPFS
The hash, title and description you provide form a small public document, published on IPFS, a distributed storage network.
- 3
On-chain record
We mint a record token (NFT) on our smart contract on Base, an Ethereum layer 2, pointing to that metadata. The token goes to your wallet.
- 4
Block timestamp
The date and time of the block that included the transaction is the official date of the proof. Nobody — not even Docmint — can change it.
Avalanche effect
A hash isn't random: it's computed from every bit of the file. Changing one comma yields a completely different result, and it's practically impossible to craft another file with the same hash.
What keeps or breaks the hash
Change the hash
- Editing the content, however small the change
- Opening and saving again in editors (Word, Photoshop, Acrobat), which rewrite internal metadata
- Compressing or converting, including sending as media on messaging apps or online compressors
Keep the hash
- Renaming the file
- Opening it just to view
- Copying, moving or backing it up
- Sending it as an email attachment or as a “document” in messengers
Batch records
When you record several files together, we hash each one and arrange them in a Merkle tree. Only the tree's root goes into the transaction — more efficient and equally secure.
Each file gets its own Merkle proof, included in the public metadata and in the receipt. With it, any file in the batch can be verified on its own, without exposing the others.
Independent verification
The proof doesn't depend on our website. With the original file and the receipt, anyone (a lawyer, an expert, the other party) can confirm the record using only public tools, in five steps:
- 1
Compute the fingerprint
With the original file, use your system's own tool. The result must match the hash on the receipt (upper or lower case makes no difference).
certutil -hashfile file.pdf SHA256 # Windows shasum -a 256 file.pdf # macOS sha256sum file.pdf # Linux - 2
Find the token on Base
The receipt has the transaction link on BaseScan, the public explorer of the Base network. It shows the block, the date and the number of the token minted.
- 3
Read the metadata address
On BaseScan, open the Docmint contract and go to Contract → Read Contract (or Read as Proxy). In tokenURI, enter the token number and click Query. The answer is an address starting with ipfs://.
- 4
Open the metadata on IPFS
Replace ipfs:// with a public gateway and open it in the browser. The fingerprint is in the "hash" field. For batches, look for your file in the "files" list: the Merkle proof ties each one to the root recorded in the token.
ipfs://Qm… → https://ipfs.io/ipfs/Qm… - 5
Compare and check the date
If both hashes match, the file is exactly the one that was recorded. The date that counts as proof is the transaction's block date, which no one can change, not even Docmint.
Why doesn't pasting the hash into BaseScan's search work?
BaseScan's search accepts transactions, wallets, blocks and tokens. The file's fingerprint lives in the IPFS metadata, and the token on the blockchain points to it. So the path is transaction → token → metadata.
On the Verify page, the result for a confirmed record already has these links ready, under “How to check without Docmint”.
Verify a fileValue as evidence
The record proves, using public mathematics, that a file identical to yours existed at the block date and has not changed since. That makes it useful technical evidence in authorship, precedence and integrity disputes.
Blockchain records are increasingly accepted as digital evidence. Still, Docmint has no notarial authority and does not replace notaries, trademark/patent offices or copyright registration. When the stakes are high, consult a lawyer.
Best practices
- Keep the original file in its own folder (e.g. “Recorded originals”) and back it up.
- Always work on copies; never edit the recorded original.
- Download the PDF receipt and keep it with the file.
- Write titles and descriptions without sensitive data — they are public.