From e201263a003499d4c024cce8b87b3554893bd64b Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Wed, 3 Oct 2018 14:31:30 -0400 Subject: [PATCH] Additional TODO --- app/js/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/js/index.js b/app/js/index.js index 4f2ecd7..b8d5a36 100644 --- a/app/js/index.js +++ b/app/js/index.js @@ -41,6 +41,7 @@ class App extends React.Component { // The values to send are, a merkle proof, code, and the web3.eth.defaultAccount. // The merkle proof function uses a bytes32 hash, so you need to use hashedCode // TODO: if result is false, show error or something because the code is invalid or has been used + // TODO: you may use the sentToAddress(web3.eth.defaultAddress) or codeUsed("0x" + code) to identify as well if the code / address has been used before, and redirect dierctly to ENS // TODO: if result is true the code hasn't been processed. Proceed to verify if the background service will process that transaction // TODO: use orbit db, check if exist a value in a orbitdb keyvalue store `status-hackathon-transactions2` Address of db can be seen by executing node server/main.js // the key to use is the code