Voting Guide for Script DReps
This voting guide is for any script base DReps
1
2
Candidate Name
Candidate id
3
{
"11113" : {
"action": "cast_vote",
"data": {
"event": "CC-Elections-2025",
"category": "CATEGORY_E794",
"proposal": "0ae97786-d17b-4f96-84af-979ff9c0b276",
"id": "2a9b76c3-9e84-4c4b-92bb-0184d4407f82",
"walletType": "CARDANO",
"network": "MAIN",
"votes": [candidate ids]
}
}
}{
"11113" : {
"action": "cast_vote",
"data": {
"event": "CC-Elections-2025",
"category": "CATEGORY_E794",
"proposal": "0ae97786-d17b-4f96-84af-979ff9c0b276",
"id": "2a9b76c3-9e84-4c4b-92bb-0184d4407f82",
"walletType": "CARDANO",
"network": "MAIN",
"votes": [2,14,22]
}
}
}4
cardano-cli conway governance drep update-certificate \
--drep-script-hash $(cat my-drep-script.id) \
--drep-metadata-url https://my-metadata.jsonld \
--drep-metadata-hash "0000000000000000000000000000000000000000000000000000000000000000"
--out-file my-update-cert-that-doesnt-change-anything.cert
cardano_cli conway transaction build \
--tx-in $(cardano_cli conway query utxo --address $(cat my-payment.addr) --out-file /dev/stdout | jq -r 'keys[0]') \
--change-address $(cat my-payment.addr) \
--certificate-file my-update-cert-that-doesnt-change-anything.cert \
--certificate-script-file my-drep-script.json \
--metadata-json-file my-cc-election-vote-metadata.json \
--out-file my-cc-election-vote.unsigned5
Last updated
Was this helpful?