npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@tzstamp/cli

v0.3.4

Published

Tezos timestamping utility

Downloads

6

Readme

About tzstamp-client

tzstamp-client is the command line client for the TzStamp server software. It lets users stamp and verify files. A full description of its functionality can be found in its manual page.

Installation

Assuming a fresh install you'll need to apt-get some dependencies:

sudo apt-get install git nodejs npm

Upgrade the system installation of npm:

sudo npm install --global --upgrade npm

Upgrade the system installation of node:

sudo npm install --global --upgrade node

Then install the tzstamp package with npm:

npm install -g @tzstamp/cli

How To Verify An Inclusion Proof On Debian 10.6

You need:

  • The original file you timestamped or its SHA-256 hash.

  • The proof JSON file returned by the tzstamp server.

With these run the verify subcommand.

tzstamp verify a.png 1ab1b7db1f4a533de4294166cd3df01403b11c84c16f178a4807b94aa858c3fb.json

If your 'file' is actually a set of bytes, say a block of text, you can also pass the sha256 directly in place of a filename.

tzstamp verify a4e9de2410c9e7c3ac4c57bbc18beedc5935d5c8118e345a72baee00a9820b67 1ab1b7db1f4a533de4294166cd3df01403b11c84c16f178a4807b94aa858c3fb.json

You should get back a derived Tezos block and timestamp:

Verified
Target: /home/user/Downloads/Streisand_Estate_800_521.jpg
Hash existed at 6/1/2021, 6:30:54 AM
Block hash: BLQFwmjYJDTyT6wjEwKyot2RFC8wZf9Qyzo56fQ5x4nUYjnfKid
Node queried: https://testnet-tezos.giganode.io/

If the proof is high stakes you should also manually check this block hash against the published blocks on mainnet. The block should exist at some point in time, if you can't find it the proof may be invalid.

Timestamping a file

Files or their hashes can be timestamped like so:

tzstamp stamp filename.txt

tzstamp stamp 4a5be57589b4ddc42d87e4df775161e5bbcdf772058093d524b04dd88533a50a