|
| 1 | +--- |
| 2 | +description: Step-by-step guide for DReps to partake in the CC election. |
| 3 | +--- |
| 4 | + |
| 5 | +# Guide for Voting |
| 6 | + |
| 7 | +{% hint style="info" %} |
| 8 | +<mark style="color:red;">**!IMPORTANT: Once your vote is submitted it can NOT be changed.**</mark> |
| 9 | +{% endhint %} |
| 10 | + |
| 11 | +{% stepper %} |
| 12 | +{% step %} |
| 13 | +[Review candidates.](https://elections.constitution.gov.tools/) |
| 14 | +{% endstep %} |
| 15 | + |
| 16 | +{% step %} |
| 17 | +Select up to 7 candidates. |
| 18 | +{% endstep %} |
| 19 | + |
| 20 | +{% step %} |
| 21 | +Click "Submit your vote". |
| 22 | +{% endstep %} |
| 23 | + |
| 24 | +{% step %} |
| 25 | +#### Choose Connection Method |
| 26 | + |
| 27 | +Select either browser wallet or CLI in the next steps. |
| 28 | +{% endstep %} |
| 29 | + |
| 30 | +{% step %} |
| 31 | +{% tabs %} |
| 32 | +{% tab title="Browser wallet" %} |
| 33 | +Sign Vote Metadata: |
| 34 | + |
| 35 | +* Connect hardware wallet to light wallet. |
| 36 | +* Connect light wallet to voting app. |
| 37 | +* Signal hardware wallet use in app. |
| 38 | +* App prepares vote in transaction metadata. |
| 39 | +* App asks light wallet to sign; light wallet asks hardware wallet to sign; confirm on device. |
| 40 | +* Signature returned to app. |
| 41 | + |
| 42 | +_Certain Hardware Wallets (e.g., Ledger Nano X/S+, Keystone via Light Wallet):_\ |
| 43 | +_Standard Light Wallets: Sign vote metadata in browser._ |
| 44 | +{% endtab %} |
| 45 | + |
| 46 | +{% tab title="CLI" %} |
| 47 | +#### Generate & Obtain Vote Metadata |
| 48 | + |
| 49 | +App generates vote metadata; user downloads/copies it (JSON). |
| 50 | + |
| 51 | +``` |
| 52 | +{ |
| 53 | + "action": "cast_vote", |
| 54 | + "slot": "<insert Cardano slot number of the moment of your vote>", |
| 55 | + "data": { |
| 56 | + "event": "CANDIDATES_123", |
| 57 | + "category": "MAIN_1", |
| 58 | + "proposal": "36cfad40-29fc-4832-8d3f-ec4b795cb134", |
| 59 | + "id": "d9cc067c-9f19-4bfa-86f1-d61bfce8c9e2", |
| 60 | + "votedAt": "<insert Cardano slot number of the moment of your vote>", |
| 61 | + "votingPower": "<insert your wallet voting power here>", |
| 62 | + "timestamp": "<insert Unix timestamp of the moment of your vote, you can use: Math.floor(Date.now() / 1000)>", |
| 63 | + "walletId": "<insert your wallet id>", |
| 64 | + "walletType": "CARDANO", |
| 65 | + "network": "MAIN", |
| 66 | + "votes": [5,12,6,13,45] |
| 67 | + } |
| 68 | + } |
| 69 | +``` |
| 70 | + |
| 71 | +_(This path is typically for users of Trezor, older Ledger Nano S models, CLI wallets, Daedalus, or script-based methods.)_ |
| 72 | + |
| 73 | +**Reference Example:** [How to vote for Cardano ICC with the CLI](http://www.youtube.com/watch?v=OPH8vCfjQrY) by Mike Hornan. |
| 74 | +{% endtab %} |
| 75 | +{% endtabs %} |
| 76 | +{% endstep %} |
| 77 | + |
| 78 | +{% step %} |
| 79 | +{% tabs %} |
| 80 | +{% tab title="Browser wallet" %} |
| 81 | +Receive Vote Proof/Receipt |
| 82 | + |
| 83 | +Receive vote proof/receipt on website. |
| 84 | +{% endtab %} |
| 85 | + |
| 86 | +{% tab title="CLI" %} |
| 87 | +Create and sign transaction with metadata using wallet setup. |
| 88 | +{% endtab %} |
| 89 | +{% endtabs %} |
| 90 | +{% endstep %} |
| 91 | + |
| 92 | +{% step %} |
| 93 | +{% tabs %} |
| 94 | +{% tab title="CLI" %} |
| 95 | +Submit signed vote file via Ballot CLI API. |
| 96 | +{% endtab %} |
| 97 | +{% endtabs %} |
| 98 | +{% endstep %} |
| 99 | + |
| 100 | +{% step %} |
| 101 | +{% tabs %} |
| 102 | +{% tab title="CLI" %} |
| 103 | +Receive verifiable vote proof/receipt for on-chain verification. |
| 104 | +{% endtab %} |
| 105 | +{% endtabs %} |
| 106 | +{% endstep %} |
| 107 | +{% endstepper %} |
| 108 | + |
| 109 | +## Supported Wallets |
| 110 | + |
| 111 | +### Light wallets |
| 112 | + |
| 113 | +* Eternl (latest version)  |
| 114 | +* Lace (latest version)  |
| 115 | +* Yoroi (latest version)  |
| 116 | +* All other top Cardano light wallets should work too |
| 117 | + |
| 118 | +### Hardware wallets |
| 119 | + |
| 120 | +* Eternl + Ledger   |
| 121 | +* Eternl + Ledger Nano X  |
| 122 | +* Eternl + Keystone  |
| 123 | +* Trezor  (expected, DReps cant register with Trezor) |
| 124 | + |
| 125 | +### Cli |
| 126 | + |
| 127 | +* CLi  |
0 commit comments