How to use MerkleProof library?

Hi @naszam,

Glad you were able to resolve. :partying_face:

Usually good places to look are: the documentation, the contract and the tests.

Documentation: https://docs.openzeppelin.com/contracts/3.x/api/cryptography#MerkleProof

Contract: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.0.1/contracts/cryptography/MerkleProof.sol

Tests: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.0.1/test/cryptography/MerkleProof.test.js

2 Likes