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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file merkleproof-0.0.1.tar.gz.

File metadata

  • Download URL: merkleproof-0.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for merkleproof-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d2d2726f6301822c10fd10a1b6067d76c3e92409fd037705e09236751ca36b9b
MD5 770e0de37228920979449719961b8f0f
BLAKE2b-256 c87b9de6d27bea6753e291dc2861eb860135e1659c74ef81caef0280a3d05764

See more details on using hashes here.

File details

Details for the file merkleproof-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: merkleproof-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for merkleproof-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e81775551b9789066c0819a685237a728250424e1f3a0b62d0b5f027ca9295b2
MD5 de7c5f28c09e340440acdb79a4bb349b
BLAKE2b-256 38a7e43402fe139bc3650a7d8c4e9646cd41f21d013c0e08a4025af66f904c57

See more details on using hashes here.

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