Hi to all, I’m collecting feedback on Merkle Tree Multi Proofs.
Based on your feedback, this can became a EIP and deployed in all networks of Ethereum.
Deploy on chain a tool that helps smart contract developers to incorporate a merkle tree functionality with the possibility of selecting a subset of proofs in opposition of giving all the proofs.
The library calculates the root of the tree based on the information given. That information is split in two arrays that we will define below.
The general idea is to have a Merkle Tree capable of generating the correct root given a subset of leafs and all the necessary intermediary nodes values.
The user should review there’s proof requirements before using this tool.
The ideal case is when we have 2^n leaves. If there is less of that number, the user can fill the leafs with dumb data, and make the appropriated changes.