Skip to main content

No project description provided

Project description

merkleproof

Python package pypi Made with Python MIT License Code coverage

Build merkle trees, create merkle proofs, verify that the merkle root (hash root) can be reconstructed. The typical things you would do with a merkle tree.

Creating merkle trees, merkle proofs and verifying their consistency

  • Simple package aimed at learning to work with merkle trees, produce proofs, etc.
  • Built to be able to generate proofs that can be used in tandem with Solidity contracts.
  • Follows OpenZeppelin's practices regarding produced merkle trees and proof output.
>>> tree = MerkleTree(["a", "b"])
>>> tree.root
'fb8e20fc2e4c3f248c60c39bd652f3c1347298bb977b8b4d5903b85055620603'

Work in progress

Note that this is under development and should not be used outside of a developer setting.

Project details


Download files

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

Source Distribution

merkleproof-0.0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

merkleproof-0.0.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page