DZGoldman / Fairify

Live streaming micropayment state channel app, with content validation — Eth Singapore Hackathon
MIT License
0 stars 1 forks source link

Merkle-Proofing (python / javascript?) #2

Open DZGoldman opened 5 years ago

tserg commented 5 years ago

This is an implementation of merkle trees in javascript with verification in solidity: https://github.com/miguelmota/merkletreejs-solidity

I have been unable to get the test to work so far.

tserg commented 5 years ago

The test file is working: https://github.com/miguelmota/merkletreejs-solidity/blob/master/test/merkleproof.js

Line 26 should be: "const verified = await contract.verify.call(hexproof, hexroot, hexleaf)"