Skip to content

Releases: olivmath/merkly

Human readble leaves

31 Dec 17:27
1.1.0
fef5290
Compare
Choose a tag to compare

Unavailable in PyPi: coming soon

✅ Leaves human readable
✅ Short leaves human readable

Example:

BEFORE

# hashed leaves (just bytes)
assert mtree.leaves == [
    b':\xc2%\x16\x8d\xf5B\x12\xa2\\\x1c\x01\xfd5\xbe\xbf\xea@\x8f\xda\xc2\xe3\x1d\xddo\x80\xa4\xbb\xf9\xa5\xf1\xcb',
    b'\xb5U=\xe3\x15\xe0\xed\xf5\x04\xd9\x15\n\xf8-\xaf\xa5\xc4f\x7f\xa6\x18\xed\no\x19\xc6\x9bA\x16lU\x10',
    b'\x0bB\xb69<\x1fS\x06\x0f\xe3\xdd\xbf\xcdz\xad\xcc\xa8\x94FZZC\x8fi\xc8}y\x0b"\x99\xb9\xb2',
    b'\xf1\x91\x8e\x85b#n\xb1z\xdc\x85\x023/L\x9c\x82\xbc\x14\xe1\x9b\xfc\n\xa1\n\xb6t\xffu\xb3\xd2\xf3'
]

# shorted hashed leaves
assert mtree.short_leaves == [b':\xc2', b'\xb5U', b'\x0bB', b'\xf1\x91']

NOW

# human leaves
assert mtree.human_leaves == [
    "3ac225168df54212a25c1c01fd35bebfea408fdac2e31ddd6f80a4bbf9a5f1cb",
    "b5553de315e0edf504d9150af82dafa5c4667fa618ed0a6f19c69b41166c5510",
    "0b42b6393c1f53060fe3ddbfcd7aadcca894465a5a438f69c87d790b2299b9b2",
    "f1918e8562236eb17adc8502332f4c9c82bc14e19bfc0aa10ab674ff75b3d2f3",
]
# shorted human hashed leaves
assert mtree.human_short_leaves == ["3ac2", "b555", "0b42", "f191"]

What's Changed

  • update: node to require bytes to instantiate node class by @olivmath in #51

Full Changelog: 1.0.2...1.1.0

📚 New Docs ❤️

31 Dec 03:31
1.0.2
Compare
Choose a tag to compare

Available in PyPi: Merkly 1.0.2

✅ Update README with now way of use Merkly 🌳
✅ Update CONTRIBUTING to simplify new contributions

What's Changed

Full Changelog: 1.0.1...1.0.2

1.0.1

31 Dec 03:46
1.0.1
3294510
Compare
Choose a tag to compare

Available in PyPi: Merkly 1.0.1

What's Changed

Full Changelog: 1.0.0...1.0.1

v1.0.0

29 Dec 03:44
1.0.0
a480c75
Compare
Choose a tag to compare

Roadmap

Feature Status Version
Auto deploy PyPi ✅ Deployed 0.2.0
Create Root ✅ Deployed 0.4.0
Create Proof ✅ Deployed 0.5.0
Verify Proof ✅ Deployed 0.6.0
Use any Hash function ✅ Deployed 0.7.0
Leafs of any size ✅ Deployed 0.8.0
Security deprecation pysha3 ✅ Deployed 0.8.1
Compatible with MerkleTreeJs ✅ Deployed 1.0.0
First Issue solved by community ✅ Deployed 1.0.0
Accelerator code with Rust 🏗️ Alpha 1.1.0
Tutorial how to use with solidity 🖊️ Design x.x.x
Tutorial how to use with MerkleTreeJS 🖊️ Design x.x.x

What's Changed

New Contributors

Full Changelog: 0.8.0...1.0.0

0.8.1

31 Dec 03:46
d0c3b58
Compare
Choose a tag to compare

Available in PyPi: Merkly 0.8.1

Full Changelog: 0.8.0...0.8.1

0.7.2

31 Dec 03:44
0.7.2
a98ae05
Compare
Choose a tag to compare

Available in PyPi: Merkly 0.7.2

Full Changelog: 0.7.1...0.7.2

0.6.1

31 Dec 03:44
0.6.1
93a755f
Compare
Choose a tag to compare

Available in PyPi: Merkly 0.6.1

Full Changelog: 0.6.0...0.6.1

0.5.2

31 Dec 03:43
0.5.2
a08ac9f
Compare
Choose a tag to compare

Available in PyPi: Merkly 0.5.2

Full Changelog: 0.5.1...0.5.2

0.4.4

31 Dec 03:38
Compare
Choose a tag to compare

Available in PyPi: Merkly 0.4.4

What's Changed

Full Changelog: 0.4.3...0.4.4

0.3.0

31 Dec 03:37
9938524
Compare
Choose a tag to compare

Available in PyPi: Merkly 0.3.0

What's Changed

Full Changelog: 0.2.0...0.3.0