Skip to main content
Help us improve Python packaging – donate today!

library for generating and validating Merkle Trees and receipts, compliant with chainpoint v2

Project Description

[![Build Status](https://travis-ci.org/blockchain-certificates/merkle-proofs.svg?branch=master)](https://travis-ci.org/blockchain-certificates/merkle-proofs)
[![PyPI version](https://badge.fury.io/py/merkle-proofs.svg)](https://badge.fury.io/py/merkle-proofs)

# merkle-proofs

Python library allowing creation of Merkle trees and output receipts
in a format consistent with the [chainpoint](https://github.com/chainpoint) v2 standard.

Also allows validation of a Merkle receipt.

This was developed in support of the [Blockchain Certificates](http://certificates.media.mit.edu/) project.
It supports only a subset of the Chainpoint v2 standard.


## Using the pypi package

The most common way to use this is to add the [latest cert-verifier pypi package](https://badge.fury.io/py/merkle-proofs) to your project dependencies.


## Running the CLI locally

1. Ensure you have an python environment. [Recommendations](https://github.com/blockchain-certificates/developer-common-docs/blob/master/virtualenv.md)

2. Git clone the repository and change to the directory

```bash
git clone https://github.com/blockchain-certificates/merkle-proofs.git && cd merkle-proofs
```

3. Run merkle-proofs setup

```bash
pip install .
```

## Unit tests

This project uses tox to validate against several python environments.

1. Ensure you have an python environment. [Recommendations](https://github.com/blockchain-certificates/developer-common-docs/blob/master/virtualenv.md)

2. Run tests
```
./run_tests.sh
```
## Contact

Contact [info@blockcerts.org](mailto:info@blockcerts.org) with questions

Release history Release notifications

This version
History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
merkle-proofs-0.0.6.tar.gz (5.4 kB) Copy SHA256 hash SHA256 Source None Sep 29, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page