Smart Contract Provenance

Your timestamps aren't stored in a database. They're anchored to a public blockchain through a smart contract anyone can audit.

No blockchain expertise required.

Why a Smart Contract?

A smart contract is a program that runs on a blockchain. Once deployed, no one can change its behavior — not TimeProof, not Polygon, not anyone. It executes exactly as written, every time.

This matters because trust is the whole point. If your timestamps were stored in TimeProof’s database, you’d have to trust that:

With a smart contract on a public blockchain, you don’t have to trust anyone. The math enforces the rules.

How the TimeProofAnchor Contract Works

The TimeProofAnchor smart contract is deliberately simple — simple code has fewer bugs and is easier to audit. Here’s what it does:

1. Hash Submission

When you timestamp a file, your browser computes the SHA-256 hash locally. This hash is sent to TimeProof’s backend, which submits it to the smart contract.

For Instant timestamps, the hash (or a small batch Merkle root) is submitted immediately.

For Scheduled timestamps, hashes are collected over a window and combined into a Merkle tree. The Merkle root — a single hash representing the entire batch — is then submitted to the contract.

2. Immutable Recording

The smart contract records:

Once a block is confirmed, this data is permanent. Polygon’s proof-of-stake consensus with Ethereum checkpoints means the record is secured by two blockchains.

3. Public Verification

Anyone, anywhere, at any time can:

  1. Look up the transaction on Polygonscan
  2. See the anchored hash in the transaction data
  3. Verify the block timestamp
  4. Confirm the sender address matches TimeProof’s known anchoring wallet

No account needed. No API key. No permission from TimeProof. The blockchain is public.

The Merkle Tree Architecture

When you timestamp 200 files with Scheduled timestamps, TimeProof doesn’t write 200 transactions to the blockchain. That would be wasteful and expensive. Instead, it uses a Merkle tree.

How it works

  1. Each file’s SHA-256 hash becomes a leaf in the tree
  2. Adjacent leaves are paired and hashed together to create parent nodes
  3. This process repeats until a single Merkle root remains
  4. Only the root is written to the blockchain — one transaction for potentially thousands of files

Why this is secure

Your file’s inclusion in the batch is provable via a Merkle proof — a small set of hashes that, when combined with your file’s hash following the tree structure, reproduces the Merkle root.

If anyone changes even one bit of one file in the batch, the Merkle root changes completely. The proof is tamper-evident by construction.

What you receive

With Legal-Grade, your evidence bundle includes merkle_proof.json — the exact path through the tree that proves your file was included in the anchor. Any developer (or expert witness) can independently verify this proof.

Verification Paths

TimeProof provides multiple independent verification paths, so you’re never dependent on a single point of failure:

Path 1: TimeProof Verification Page

Upload your file → we recalculate the hash → match against blockchain records → show you the timestamp details.

Depends on: TimeProof being operational.

Path 2: Manual Polygonscan Lookup

Take the transaction ID from your certificate → paste it into Polygonscan → see the anchored data directly on the blockchain.

Depends on: Polygon network and Polygonscan being operational. Even if Polygonscan goes down, any Polygon node operator can verify the data.

Path 3: JWS Identity Verification

Take the identity_attestation.jws from your Legal-Grade bundle → verify the signature against TimeProof’s public key at /.well-known/jwks.json.

Depends on: The JWS standard (RFC 7515) and a public key. Even if TimeProof is gone, the cached public key can verify the signature.

Path 4: Full Independent Verification

With the complete Legal-Grade evidence bundle, a technically competent party can:

  1. Hash the original file with SHA-256
  2. Verify the Merkle proof against the on-chain Merkle root
  3. Verify the JWS against the public key
  4. Confirm the blockchain timestamp on any Polygon node

Depends on: Only the Polygon blockchain existing (secured by Ethereum checkpoints).

Why Polygon?

TimeProof chose Polygon after evaluating multiple blockchain options:

FactorPolygonEthereum L1BitcoinSolana
Transaction costUnder $0.01$2-50+$1-30+Under $0.01
Confirmation time2-3 sec12-15 sec~10 min~0.4 sec
Security modelPoS + ETH checkpointsPoSPoWPoH + PoS
Environmental impactLowLowHighLow
Ecosystem maturityHighHighestHighestMedium
EVM compatibleYesYesNoNo

Polygon offers the best balance of low cost (enabling gasless timestamps), fast confirmations (essential for Instant timestamps), strong security (Ethereum checkpoint backing), and ecosystem maturity (well-established tools, explorers, and developer support).

What “Gasless” Actually Means

When you timestamp a file, you don’t pay any blockchain transaction fee. TimeProof pays the Polygon gas fee on your behalf. This is possible because:

  1. Polygon gas costs are extremely low — typically fractions of a cent per transaction
  2. Merkle batching means one transaction can cover hundreds of files
  3. Your credit purchase covers both TimeProof’s service and the gas costs

The result: you never need MATIC tokens, a blockchain wallet, or any cryptocurrency knowledge. TimeProof abstracts the entire blockchain layer away.

Contract Transparency

The TimeProofAnchor smart contract code is:

This is the fundamental difference between TimeProof and proprietary timestamp services. We don’t ask you to trust our database. We ask you to verify our blockchain.

Ready to protect your files?

Timestamp any file on the blockchain in seconds. Prove when it existed, prove it hasn't changed.

No blockchain expertise required.

Frequently Asked Questions

What blockchain does TimeProof use?
TimeProof anchors to Polygon (formerly Matic Network), an Ethereum Layer 2 blockchain. Polygon was chosen for its low transaction costs, fast confirmation times (2-3 seconds), Ethereum-level security through regular checkpoints to Ethereum mainnet, and environmental efficiency (proof-of-stake, not proof-of-work). All anchoring is gasless for users — TimeProof pays the network fees.
Can I read the smart contract code?
Yes. The TimeProofAnchor smart contract is verified and published on Polygonscan. You can read every line of code, see every transaction, and verify that the contract does exactly what we say it does. This is a fundamental advantage over proprietary timestamp services — you don't have to trust us, you can verify.
What happens if Polygon goes down?
Polygon's architecture includes regular checkpoints to Ethereum mainnet, meaning your timestamp data is backed by Ethereum's security. Even in the unlikely event of a prolonged Polygon outage, the checkpoint data on Ethereum preserves the anchored hashes. Additionally, TimeProof maintains redundant records. Your timestamp's validity doesn't depend on any single system remaining operational.
What is a Merkle root and why does it matter?
A Merkle root is a single hash that mathematically represents an entire batch of files. When TimeProof batches files together (especially for Scheduled timestamps), it builds a Merkle tree — a data structure where each file's hash is a leaf, and leaves are repeatedly hashed in pairs until a single root hash remains. This root is what's written to the blockchain. Your individual file's inclusion is provable via a Merkle proof without revealing any other files in the batch.
How much does on-chain anchoring cost TimeProof?
Polygon transactions typically cost fractions of a cent. This is why TimeProof can offer gasless timestamps — the network fee for anchoring a Merkle root is negligible. Instant timestamps anchor individual hashes (or small batches) immediately. Scheduled timestamps batch many files into a single Merkle root, making bulk timestamping extremely efficient.

Related Pages

Protect your work in seconds.

Timestamp any file on the blockchain. No blockchain expertise required.

Built on Polygon SHA-256 Industry Standard Gasless — We Cover All Fees Legal-Grade™ Available