Skip to content

Commit 364fcb1

Browse files
Ryun1gitbook-bot
authored andcommitted
GITBOOK-1006: Ryan's Jun 23 changes
1 parent 05ded26 commit 364fcb1

File tree

1 file changed

+81
-49
lines changed

1 file changed

+81
-49
lines changed

cardano/cardano-governance/cardano-constitution/2025-constitutional-committee-elections/guide-for-voting/voting-guide-for-script-dreps.md

Lines changed: 81 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -21,72 +21,104 @@ Review all candidates on [election.constitution.gov.tools](https://elections.con
2121
{% step %}
2222
### Select the candidates you want to vote for
2323

24-
Select up to 7 candidates to vote for and take note of the related code
25-
26-
| Candidate Name | Candidate Code |
27-
| ------------------------------------------------------------------------------------------------------- | -------------- |
28-
| [Emurgone](https://elections.constitution.gov.tools/candidateDetails/2) | 2 |
29-
| [Waldo](https://elections.constitution.gov.tools/candidateDetails/3) | 3 |
30-
| [Kevin G Mohr](https://elections.constitution.gov.tools/candidateDetails/4) | 4 |
31-
| [Tingvard](https://elections.constitution.gov.tools/candidateDetails/5) | 5 |
32-
| [Cardano Constitutional Consortium](https://elections.constitution.gov.tools/candidateDetails/6) | 6 |
33-
| [Quality of Life World Foundation](https://elections.constitution.gov.tools/candidateDetails/9) | 9 |
34-
| [Cardano Lover](https://elections.constitution.gov.tools/candidateDetails/11) | 11 |
35-
| [FutureProduct LLC dba Futurism Products](https://elections.constitution.gov.tools/candidateDetails/12) | 12 |
36-
| [Cardano Atlantic Council](https://elections.constitution.gov.tools/candidateDetails/13) | 13 |
37-
| [Cardano Ethical Oversight (CEO)](https://elections.constitution.gov.tools/candidateDetails/14) | 14 |
38-
| [KtorZ](https://elections.constitution.gov.tools/candidateDetails/15) | 15 |
39-
| [phil\_uplc](https://elections.constitution.gov.tools/candidateDetails/16) | 16 |
40-
| [Eastern Cardano Council](https://elections.constitution.gov.tools/candidateDetails/17) | 17 |
41-
| [Adara Consortium](https://elections.constitution.gov.tools/candidateDetails/18) | 18 |
42-
| [Cardano Japan Council](https://elections.constitution.gov.tools/candidateDetails/19) | 19 |
43-
| [Wanchain](https://elections.constitution.gov.tools/candidateDetails/20) | 20 |
44-
| [STORM Partners](https://elections.constitution.gov.tools/candidateDetails/21) | 21 |
45-
| [SIDAN Lab](https://elections.constitution.gov.tools/candidateDetails/22) | 22 |
46-
| [Ace Alliance](https://elections.constitution.gov.tools/candidateDetails/23) | 23 |
24+
Select up to 7 candidates to vote for and take note of the related id
25+
26+
| Candidate Name | Candidate id |
27+
| ------------------------------------------------------------------------------------------------------- | ------------ |
28+
| [Emurgone](https://elections.constitution.gov.tools/candidateDetails/2) | 2 |
29+
| [Waldo](https://elections.constitution.gov.tools/candidateDetails/3) | 3 |
30+
| [Kevin G Mohr](https://elections.constitution.gov.tools/candidateDetails/4) | 4 |
31+
| [Tingvard](https://elections.constitution.gov.tools/candidateDetails/5) | 5 |
32+
| [Cardano Constitutional Consortium](https://elections.constitution.gov.tools/candidateDetails/6) | 6 |
33+
| [Quality of Life World Foundation](https://elections.constitution.gov.tools/candidateDetails/9) | 9 |
34+
| [Cardano Lover](https://elections.constitution.gov.tools/candidateDetails/11) | 11 |
35+
| [FutureProduct LLC dba Futurism Products](https://elections.constitution.gov.tools/candidateDetails/12) | 12 |
36+
| [Cardano Atlantic Council](https://elections.constitution.gov.tools/candidateDetails/13) | 13 |
37+
| [Cardano Ethical Oversight (CEO)](https://elections.constitution.gov.tools/candidateDetails/14) | 14 |
38+
| [KtorZ](https://elections.constitution.gov.tools/candidateDetails/15) | 15 |
39+
| [phil\_uplc](https://elections.constitution.gov.tools/candidateDetails/16) | 16 |
40+
| [Eastern Cardano Council](https://elections.constitution.gov.tools/candidateDetails/17) | 17 |
41+
| [Adara Consortium](https://elections.constitution.gov.tools/candidateDetails/18) | 18 |
42+
| [Cardano Japan Council](https://elections.constitution.gov.tools/candidateDetails/19) | 19 |
43+
| [Wanchain](https://elections.constitution.gov.tools/candidateDetails/20) | 20 |
44+
| [STORM Partners](https://elections.constitution.gov.tools/candidateDetails/21) | 21 |
45+
| [SIDAN Lab](https://elections.constitution.gov.tools/candidateDetails/22) | 22 |
46+
| [Ace Alliance](https://elections.constitution.gov.tools/candidateDetails/23) | 23 |
4747
{% endstep %}
4848

4949
{% step %}
5050
### Add your selected candidates code in the metadata format (using metadatum label `11113`)
5151

52-
<pre><code><strong>"11113" : {
53-
</strong><strong> "action": "cast_vote",
54-
</strong> "data": {
55-
"event": "CC-Elections-2025",
56-
"category": "CATEGORY_E794",
57-
"proposal": "0ae97786-d17b-4f96-84af-979ff9c0b276",
58-
"id": "2a9b76c3-9e84-4c4b-92bb-0184d4407f82",
59-
"walletType": "CARDANO",
60-
"network": "MAIN",
61-
"votes": [Candidates codes]
52+
```json
53+
{
54+
"11113" : {
55+
"action": "cast_vote",
56+
"data": {
57+
"event": "CC-Elections-2025",
58+
"category": "CATEGORY_E794",
59+
"proposal": "0ae97786-d17b-4f96-84af-979ff9c0b276",
60+
"id": "2a9b76c3-9e84-4c4b-92bb-0184d4407f82",
61+
"walletType": "CARDANO",
62+
"network": "MAIN",
63+
"votes": [candidate ids]
6264
}
65+
}
6366
}
64-
</code></pre>
67+
```
6568

6669
example
6770

68-
```
69-
"11113" : {
70-
"action": "cast_vote",
71-
"data": {
72-
"event": "CC-Elections-2025",
73-
"category": "CATEGORY_E794",
74-
"proposal": "0ae97786-d17b-4f96-84af-979ff9c0b276",
75-
"id": "2a9b76c3-9e84-4c4b-92bb-0184d4407f82",
76-
"walletType": "CARDANO",
77-
"network": "MAIN",
78-
"votes": [2,14,22]
71+
```json
72+
{
73+
"11113" : {
74+
"action": "cast_vote",
75+
"data": {
76+
"event": "CC-Elections-2025",
77+
"category": "CATEGORY_E794",
78+
"proposal": "0ae97786-d17b-4f96-84af-979ff9c0b276",
79+
"id": "2a9b76c3-9e84-4c4b-92bb-0184d4407f82",
80+
"walletType": "CARDANO",
81+
"network": "MAIN",
82+
"votes": [2,14,22]
83+
}
7984
}
8085
}
8186
```
8287
{% endstep %}
8388

8489
{% step %}
85-
### Submit a transaction with the metadata file on-chain
90+
### Build a transaction that'll be witnessed by your script and contains the metadata
91+
92+
Now we have our metadata, we will need to construct a transaction that contains the metadata and will satisfy our script to trigger.
93+
94+
We recommend constructing a transaction which contains a DRep Update certificate. For continuity you can supply this certificate with the same metadata as you use now.
95+
96+
This certificate will trigger your script to witness the transaction.
97+
98+
You can use a configuration like this:
99+
100+
```sh
101+
cardano-cli conway governance drep update-certificate \
102+
--drep-script-hash $(cat my-drep-script.id) \
103+
--drep-metadata-url https://my-metadata.jsonld \
104+
--drep-metadata-hash "0000000000000000000000000000000000000000000000000000000000000000"
105+
--out-file my-update-cert-that-doesnt-change-anything.cert
106+
107+
cardano_cli conway transaction build \
108+
--tx-in $(cardano_cli conway query utxo --address $(cat my-payment.addr) --out-file /dev/stdout | jq -r 'keys[0]') \
109+
--change-address $(cat my-payment.addr) \
110+
--certificate-file my-update-cert-that-doesnt-change-anything.cert \
111+
--certificate-script-file my-drep-script.json \
112+
--metadata-json-file my-cc-election-vote-metadata.json \
113+
--out-file my-cc-election-vote.unsigned
114+
```
115+
{% endstep %}
116+
117+
{% step %}
118+
### Sign and submit the transaction to Mainnet
86119

87-
Ensuring that your DRep script credenial witnesses the transaction
120+
See example transaction (on Preview)
88121

89-
* [https://developers.cardano.org/docs/transaction-metadata/](https://developers.cardano.org/docs/transaction-metadata/)
90-
* [https://www.youtube.com/watch?v=OPH8vCfjQrY](https://www.youtube.com/watch?v=OPH8vCfjQrY)
122+
* [3193ca54a934253895d61aea6cf7521e4e0a07d81883107af24a18615f279dd0](https://preview.cardanoscan.io/transaction/3193ca54a934253895d61aea6cf7521e4e0a07d81883107af24a18615f279dd0?tab=metadata)
91123
{% endstep %}
92124
{% endstepper %}

0 commit comments

Comments
 (0)