|
|
@ -2,5 +2,10 @@ |
|
|
|
|
|
|
|
dVote library for Relay |
|
|
|
|
|
|
|
With application running, you can submit fake votes with a json request of the form: |
|
|
|
curl -H 'Content-Type: application/json'e":"package","Nonce":"bm9uY2U=","KeyProof":"cHJvb2Y=","Package":"dm90ZXBhY2thZ2U=","Timestamp":"2018-12-14T15:04:05Z"}' http://localhost:8080/submit |
|
|
|
Includes a dummy generator. Example run: |
|
|
|
ipfs daemon & |
|
|
|
./dvote-relay |
|
|
|
and in another shell: |
|
|
|
./generator/generator 1000 |
|
|
|
|
|
|
|
|