mirror of
https://github.com/arnaucube/go-dvote.git
synced 2026-02-28 05:26:46 +01:00
Updated README to show generator usage
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user