const leaves = whitelistAddresses.map(addr => padBuffer(addr))
const merkletree = new MerkleTree(leaves, keccak256, {sortPairs: true})
console.log('merkletree', merkletree.toString())
const rootHash = merkletree.getHexRoot()
console.log("root hash", rootHash)
I don't have whitelistAddresses... I have only contractAddress, WalletAddress, roothash. is it posible to get merkleproof without knowing full whitelistAddresses array. or is any other way to get merkle proof without ask anybody?
I want to get merkle proof (bytes32 [])