DEV Community

AnonymousDev
AnonymousDev

Posted on • Originally published at anonymouscoderdev.dev

VeritasChain: Cryptographic Proof That a File Existed at a Specific Moment

Deepfakes exist. Screenshots get edited. News articles are quietly updated after the fact. Documents vanish.

The problem is not that people lie. The problem is there is no infrastructure to prove the truth.

Every platform that claims to "verify" content is centralized. They can be pressured, hacked, acquired, or shut down. The verification lives inside their database and databases can be edited.

VeritasChain is not a platform. It is a protocol.


What it does

VeritasChain lets you prove that a file, a photo, a video, a document, a dataset, existed at a specific moment in time, uploaded by a specific wallet, without trusting any centralized authority.

The proof lives on the Ethereum blockchain. It cannot be altered. It cannot be deleted. It cannot be disputed.


How it works (4 steps)

  1. Your file is hashed locally using SHA-256. Nothing leaves your device. VeritasChain never sees the raw file.
  2. The file is pinned to IPFS. You get a CID mathematically derived from the file's content. Change one byte and the CID changes.
  3. That hash is anchored on-chain via a Solidity smart contract. Immutable. Timestamped. Tied to your wallet.
  4. You receive a certificate: an IPFS hash and transaction ID. Anyone can verify it independently, without trusting you, without trusting me.

The key insight

The file is never stored by VeritasChain. Only the fingerprint goes on-chain.

This means sensitive documents can be stamped without exposing their contents. And there is no honeypot: no central database of files to hack, subpoena, or shut down.

Your wallet is your identity. No sign-ups. No email. No password.


The stack

Ethereum and Solidity for the contract, IPFS for decentralized storage, FastAPI backend, React 19 frontend. The smart contract is the only piece that matters for trust. Everything else is just interface. You could write your own client and interact with the contract directly. That is by design.


Run your own instance

You should not have to trust my deployment.

git clone https://github.com/AnonymousCoderDev/VeritasChain.git
./start_all.sh
Enter fullscreen mode Exit fullscreen mode

Full setup guide in the README.


Read the full post

The full write-up covers the full architecture diagram, the reasoning behind keeping the file off-chain, and why this was built anonymously.

Full post: https://anonymouscoderdev.dev/veritaschain-cryptographic-proof-of-reality/

MIT licensed. Fork it. Deploy your own instance. Knowledge is free.


Building in the dark. Knowledge is free.

Top comments (0)