- Set up a Ganache instance
createBalances.py
script generates filesrc/balances.json
and puts a random withdraw value ( in range 0.1 - 0.01 ETH) for each account in GanachecreateMerkle.py
script generates filesrc/merkle_tree.json
which is a list of list containing the hashing values for each level (leaves are hashes too).truffle migrate
to deploy contract. The needed balance for the contract is sent at deployment.yarn install
thenyarn start
for the ui with wallet connection and transactions.src/App.js
contains the proof construction.