Closed github-actions[bot] closed 2 years ago
Merkle Tree should have a URI writable by the developer in order to generate merkle tree proofs.
URI
MERKLE_ROOT
We need a function which uses merkletreejs and IPFS to generate proofs to be used by developers.
merkletreejs
Supported Interfaces
loadFromIPFS(ipfsHash, ipfsClient?)
MerkleTree
dumpToIPFS(merkleTree, ipfsClient?): ipfsHash
ipfsHash
createFromUsers(userAddresses)
Contract Modifications
Merkle Tree should have a
URI
writable by the developer in order to generate merkle tree proofs.MERKLE_ROOT
andURI
.Package Modifications
We need a function which uses
merkletreejs
and IPFS to generate proofs to be used by developers.Supported Interfaces
loadFromIPFS(ipfsHash, ipfsClient?)
MerkleTree
object with correct leaves.dumpToIPFS(merkleTree, ipfsClient?): ipfsHash
ipfsHash
createFromUsers(userAddresses)
MerkleTree
object from a list of addresses closes #233