opentimestamps

Crates.ioopentimestamps
lib.rsopentimestamps
version0.2.0
sourcesrc
created_at2017-04-17 13:14:02.249745
updated_at2023-04-12 18:30:14.188739
descriptionRust library for parsing, verifying, and serializing OpenTimestamps timestamps
homepagehttps://github.com/opentimestamps/rust-opentimestamps/
repositoryhttps://github.com/opentimestamps/rust-opentimestamps/
max_upload_size
id10983
size64,988
Peter Todd (petertodd)

documentation

https://docs.rs/opentimestamps/

README

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

Commit count: 28

cargo fmt