9f498bad1f | ||
---|---|---|
app | ||
config | ||
contracts | ||
server | ||
test | ||
.gitignore | ||
README.md | ||
embark.json | ||
package.json |
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
- Edit
server/config.js
and set the contract address and the private key of the controller address. node server/main.js
Running the dapp.
embark run
- Browse http://localhost:8000/index.htm?CODE_TO_REDEEM