From Reboil

OpenTimestamps is a FOSS timestamping protocol that was created by Peter Todd to prove the existence of files by creating a Merkle branch from each file to the most recent block in the Bitcoin blockchain.



These notes assumes use of version 0.7.0 of ots.

For more detailed notes, see OpenTimestamps notes

Timestamp a file

Simply timestamp a file.

$ ots s foo.txt

Timestamp a file and upgrade after 12 hours.

$ file="foo.txt"; ots s "$file" && sleep $((12*3600)) && ots u "$file";

Verify a timestamp

Verify a timestamp (requires a local Bitcoin Core node; see JSON RPC notes below if the node is on another machine).

$ ots v foo.txt.ots


Baltakatei history

See also

External links


  1. 1.0 1.1 Todd, Peter. (2012-10-04). “Initial commit”. Accessed 2023-07-03. ID: 7b94d37a71a236227c443e0f46e885101401020c.