Last active
September 19, 2022 08:16
-
-
Save mbvissers/b296016cc2fda804df43b4763086d1b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const leaf = keccak256('0x123') | |
const proof = tree.getProof(leaf) | |
console.log(tree.verify(proof, leaf, root)) //-> true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment