'Web3py merkle tree support

I am trying to implement a merkle tree just like merkletreejs but python does not have any good libraries that support keccak256 and sorted keccak256 trees. Does anyone know of a good python lib for this?



Solution 1:[1]

Yes, and there is one. Just check from https://github.com/tokenchain/moodyeth Check for the usage on merkle proofs. https://htmlpreview.github.io/?https://raw.githubusercontent.com/tokenchain/moodyeth/main/docs/moody/m/kyc/merkletree.html detail source code.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 SpaceTraveler