merkle-tree
merkle-tree copied to clipboard
A JavaScript library to generate merkle trees and merkle proofs.
This PR adds the ability to pass a custom encoder to `standardLeafHash`. This is primarily useful for developers that want to leverage the `standard-v1` merkle tree in contexts outside of...
Roadmap
- [x] Support for bytes32 leaves #36 - [x] Support for custom internal hash #39 - [x] Leaf getters #43 - [x] Linting #38 - [x] Use eslint config (from...
Using "npm install @openzeppelin/merkle-tree" seems to install a previous version without the Simple Merkle tree script "./src/simple.ts". I had to do npm install https://github.com/OpenZeppelin/merkle-tree instead which worked perfectly. If this...
If you want to use the back -end language to generate MerkleTree, you can consider supporting Java and Golang.
I was wondering if there was a technical reason why the sorted leaves are stored backwards in the merkle tree. With the current construction, the lowest leaf index corresponds to...
I am trying to create a merkle tree outside of EVM context so I am using `SimpleMerkleTree`. While the consumer are free to implement the `leafHash` function, the `nodeHash` is...