mirror of
https://github.com/status-im/hackathon-registration-dapp.git
synced 2025-01-12 22:04:09 +00:00
Updating instructions
This commit is contained in:
parent
1a588936c2
commit
58ffb10e0a
@ -34,11 +34,11 @@ class App extends React.Component {
|
||||
// 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: 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 keyvalue store `status-hackathon-fund-requests` Address of db can be seen by executing node server/main.js
|
||||
// TODO: use orbit db, check if exist a value in a orbitdb keyvalue store `status-hackathon-transactions` Address of db can be seen by executing node server/main.js
|
||||
// the key to use is the code
|
||||
// TODO: if a value exists, the background service will process this code, show a message indicating that transaction is being processed
|
||||
// TODO: if it doesnt,
|
||||
// let's add a value to that keyvalue store. The key is the code, and the value is all the data used to invoke the validRequest contract function
|
||||
// let's add a value to the status-hackathon-transactions orbitdb log store, with a json containing the data used to invoke the validRequest contract function: {code, proof, address}
|
||||
// show a message indicating that transaction is being processed
|
||||
//
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user