#ots #timestamping #bitcoin #crypto

bin+lib opentimestamps

Rust library for parsing, verifying, and serializing OpenTimestamps timestamps

2 unstable releases

Uses old Rust 2015

0.2.0 Apr 12, 2023
0.1.2 Apr 17, 2017

#4 in #timestamping

Download history 31/week @ 2024-07-22 32/week @ 2024-07-29 47/week @ 2024-08-05 33/week @ 2024-08-12 71/week @ 2024-08-19 49/week @ 2024-08-26 42/week @ 2024-09-02 39/week @ 2024-09-09 29/week @ 2024-09-16 49/week @ 2024-09-23 32/week @ 2024-09-30 13/week @ 2024-10-07 15/week @ 2024-10-14 18/week @ 2024-10-21 96/week @ 2024-10-28 147/week @ 2024-11-04

277 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

43KB
741 lines

OpenTimestamps Library for Rust

OpenTimestamps is a service which provides provable timestamping using the Bitcoin blockchain

This library is in early stages. It currently supports parsing and serialization of .ots files, and can play them forward to compute the eventual hashes that actually wind up in the chain.

There is lots of remaining work to do as far as documentation and examples.

A timestamp viewer using this library is available at wpsoftware.net. Its source code is here.

In src/bin/ots_info.rs there is a simple application that reads a .ots file and dumps its contents to stdout, as a basic usage example. It really just calls fmt::Display::fmt on the DetachedTimestampFile structure; in the absense of any other documentation, reading that function is a good starting point for seeing how the data structures work. You can execute it with cargo run -- <filename.ots>

Documentation

Dependencies

~3–4.5MB
~76K SLoC