2

I want to write a low memory usage algorithm to calculate MHT

1 Answer 1

3

I see there is an implementation in Rust: merkletree. Also in the substrate repository there are some custom implementations you can take a look for inspirations: Merkle Mountain Ranges and a custom Binary Merkle Tree, that implements a simple binary Merkle Tree utilities required for inter-op with Ethereum bridge & Solidity contract.

1
  • Thank you so much
    – Jiuqu
    Sep 27, 2023 at 1:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.