Browse Source

Updated README to show generator usage

pubsub_testing
imw 6 years ago
parent
commit
7731d06ce6
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      README.md

+ 7
- 2
README.md

@ -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

Loading…
Cancel
Save