No project description provided
Project description
merkleproof
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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d2726f6301822c10fd10a1b6067d76c3e92409fd037705e09236751ca36b9b |
|
MD5 | 770e0de37228920979449719961b8f0f |
|
BLAKE2b-256 | c87b9de6d27bea6753e291dc2861eb860135e1659c74ef81caef0280a3d05764 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81775551b9789066c0819a685237a728250424e1f3a0b62d0b5f027ca9295b2 |
|
MD5 | de7c5f28c09e340440acdb79a4bb349b |
|
BLAKE2b-256 | 38a7e43402fe139bc3650a7d8c4e9646cd41f21d013c0e08a4025af66f904c57 |