Go to file
Richard Ramos fa00e9423b Adding universal link 2018-10-08 21:52:45 -04:00
app Test cloudflare cache 2018-10-08 19:39:03 -04:00
config Moving api to its own folder 2018-10-08 19:05:41 -04:00
contracts Initial version of backend service. 2018-10-03 14:28:33 -04:00
server Adding universal link 2018-10-08 21:52:45 -04:00
test Initial import 2018-10-03 08:45:56 -04:00
.gitignore Removing merkle proofs from frontend 2018-10-07 11:51:27 -04:00
README.md FIxing showing ENS section conditions 2018-10-04 22:31:39 -04:00
embark.json Test cloudflare cache 2018-10-08 19:39:03 -04:00
package.json Removed orbitdb and changed for lowdb 2018-10-04 21:55:45 -04:00

README.md

hackathon-registration-dapp

TODO - Add docs

Installation:

git clone https://github.com/status-im/hackathon-registration-dapp.git
cd hackathon-registration-dapp
npm install

Contracts

TODO

Send enough SNT/ETH to the contract address. These funds are going to be distributed.

Generating codes

To generate the codes, execute node server/codegen.js. This comand will output a codes.txt file, and the proof and merkle root used for the contract

Background service

A nodejs service was created to receive funding requests. It requires a geth light node to run 0. chmod 600 server/config.js

  1. Edit server/config.js and set the contract address and the private key of the controller address.
  2. node server/main.js

Running the dapp.

  1. embark run
  2. Browse http://localhost:8000/index.htm?CODE_TO_REDEEM