Skip to content

Latest commit

 

History

History
98 lines (56 loc) · 5.52 KB

README.md

File metadata and controls

98 lines (56 loc) · 5.52 KB

provendb-verify

ProvenDB Open Source Verification CLI

Powered by ProvenDB License

Test status

provendb-verify-test

Deploy status

provendb-verify-deploy

provendb-verify is an open source command line tool that allows ProvenDB/Chainpoint Proofs or Archives to be verified independently of the ProvenDB DBaaS.

Usage

Download dev (cutting-edge) binaries

Download prd (released) binaries

Build your own binary

  • Build: make
  • Build for all platforms: make build-all (requires docker)

Documentation

Development

Makefile Options

Following Makefile options are global to all go commands

APP_VERSION

The CLI release version

Example:

APP_VERSION=0.0.2 make

./provendb-verify -v
# provendb-verify version 0.0.2

BC_TOKEN

The BlockCypher access token to be used in the CLI

Example:

BC_TOKEN=${YOUR_TOKEN_HERE} make test-dev

Packages

Contains the generic hashing interface for bags

Contains the Chainpoint flavored merkle tree implementation for above hashing interface

Contains convenient helpers for generating hashes, such as sha256

Contains all the logics to manipulate and verify ProvenDB/Chainpoint Proofs

FAQ

Error: "provendb-verify_darwin_amd64" cannot be opened because the developer cannot be verified

Mac Cannot Open Issue

Use the following command to fix:

xattr -d com.apple.quarantine path/to/provendb-verify_darwin_amd64