https://github.com/innovativeinventor/timestamp-api
A HTTP api for timestamping via opentimestamps (with attestations on the Bitcoin blockchain)
https://github.com/innovativeinventor/timestamp-api
Last synced: 13 days ago
JSON representation
A HTTP api for timestamping via opentimestamps (with attestations on the Bitcoin blockchain)
- Host: GitHub
- URL: https://github.com/innovativeinventor/timestamp-api
- Owner: InnovativeInventor
- License: mit
- Created: 2020-01-06T21:06:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-11T18:49:36.000Z (over 6 years ago)
- Last Synced: 2025-02-26T14:45:20.633Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Timestamp-API
A simple timestamping API (using [opentimestamps](https://opentimestamps.org)) that uploads attestations to the Bitcoin blockchain.
Currently hosted on https://stamp.homelabs.space.
## API
Only 256-bit hashes are accepted right now (with a preference for SHA256):
```
/stamp/$HASH
```
This stamps a particular hash and returns the relative URL to access the proof.
```
/hash/$HASH
```
This how you access the timestamped proof of the hash.
```
/upgrade
```
This is how you force the server to upgrade the proof to a full, offline proof (this requires the transaction to be completed on the blockchain and takes a long time).
## Docker
Fetch:
```
docker pull innovativeinventor/timestamp-api
```
Build:
```
docker build -t timestamp-api .
```
Running:
```
docker run --rm -it -p 8080:8080 -v hash:/hash/ timestam
```