https://github.com/opentimestamps/rust-opentimestamps
Rust library for OpenTimestamps
https://github.com/opentimestamps/rust-opentimestamps
bitcoin cryptography opentimestamps rust timestamps
Last synced: 2 months ago
JSON representation
Rust library for OpenTimestamps
- Host: GitHub
- URL: https://github.com/opentimestamps/rust-opentimestamps
- Owner: opentimestamps
- License: other
- Created: 2017-04-16T18:54:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-12T18:33:50.000Z (about 2 years ago)
- Last Synced: 2025-02-28T10:01:43.545Z (3 months ago)
- Topics: bitcoin, cryptography, opentimestamps, rust, timestamps
- Language: Rust
- Size: 49.8 KB
- Stars: 58
- Watchers: 7
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenTimestamps Library for Rust
[OpenTimestamps is a service which provides provable timestamping using the Bitcoin
blockchain](https://petertodd.org/2016/opentimestamps-announcement)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](https://www.wpsoftware.net/ots/).
Its [source code is here](https://github.com/apoelstra/ots-viewer).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 -- `[Documentation](https://www.wpsoftware.net/rustdoc/opentimestamps/)