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.
Metadata
Release files for merkleproof 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| merkleproof-0.0.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| merkleproof-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / merkleproof-0.0.1.tar.gz
| Download URL | merkleproof-0.0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2d2726f6301822c10fd10a1b6067d76c3e92409fd037705e09236751ca36b9b
|
|
BLAKE2b-256 checksum How to use checksums |
c87b9de6d27bea6753e291dc2861eb860135e1659c74ef81caef0280a3d05764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / merkleproof-0.0.1-py3-none-any.whl
| Download URL | merkleproof-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e81775551b9789066c0819a685237a728250424e1f3a0b62d0b5f027ca9295b2
|
|
BLAKE2b-256 checksum How to use checksums |
38a7e43402fe139bc3650a7d8c4e9646cd41f21d013c0e08a4025af66f904c57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|