File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Generates vote fragments and signs them accordingly
2222cargo build --release -p sign
2323```
2424
25- * Generate raw vote fragment in byte representation*
25+ * Generate raw vote fragment in byte representation using original jorm implementation *
2626
2727``` bash
2828
@@ -37,4 +37,21 @@ CHOICE=1
3737
3838./target/release/sign v1 --election-pub-key $ELECTION_PUB_KEY --private-key $ALICE_SK --public-key $ALICE_PK --proposal $PROPOSAL --vote-plan-id $VOTE_PLAN_ID --epoch $EPOCH --slot $SLOT --choice $CHOICE
3939
40+ ```
41+
42+ * Generate raw vote fragment in byte representation using original ` catalyst-voting ` crate*
43+
44+ ``` bash
45+
46+ ELECTION_PUB_KEY=ristretto255_votepk1ppxnuxrqa4728evnp2ues000uvwvwtxmtf77ejc29lknjuqqu44s4cfmja
47+ ALICE_SK=56e367979579e2ce27fbd305892b0706b7dede999a534a864a7430a5c6aefd3c
48+ ALICE_PK=ea084d2d80ed0ab681333d934efc56df3868d13d46a2de3b7f27f40b62e5344d
49+ PROPOSAL=5
50+ VOTE_PLAN_ID=36ad42885189a0ac3438cdb57bc8ac7f6542e05a59d1f2e4d1d38194c9d4ac7b
51+ EPOCH=0
52+ SLOT=0
53+ CHOICE=1
54+
55+ ./target/release/sign v2 --election-pub-key $ELECTION_PUB_KEY --private-key $ALICE_SK --public-key $ALICE_PK --proposal $PROPOSAL --vote-plan-id $VOTE_PLAN_ID --epoch $EPOCH --slot $SLOT --choice $CHOICE
56+
4057```
You can’t perform that action at this time.
0 commit comments