githubEdit

Delegating to a Representative

In the Cardano ecosystem, Delegated Representatives (DReps) work to coordinate resources on behalf of ADA holders who delegate power to vote on governance actions.

circle-info

For more information on Cardano governance, visit 1694.IOarrow-up-right or GOV TOOLarrow-up-right

Delegating to a representative involves generating a vote delegation certificate reflecting your delegation, and then submitting the certificate to the blockchain.

You can delegate your voting power to:

  • Registered DReps—Members of the Cardano community who receive the delegation of voting power for voting on governance actions.

  • Always Abstain—Opt out of the governance process.

  • Always Vote No Confidence—Vote No on every proposal.

circle-info

To delegate voting power:

Create a certificate, vote-deleg.cert, using the stake.vkey

To delegate your voting power to a DRep, type the following command where <DRepID> is the ID of the DRep receiving your delegation:

cardano-cli conway stake-address vote-delegation-certificate \
    --stake-verification-key-file stake.vkey \
    --drep-key-hash <DRepID> \
    --out-file vote-deleg.cert

OR

To opt out of the governance process, type:

cardano-cli conway stake-address vote-delegation-certificate \
    --stake-verification-key-file stake.vkey \
    --always-abstain \
    --out-file vote-deleg.cert

OR

To vote No on every proposal, type:

cardano-cli conway stake-address vote-delegation-certificate \
    --stake-verification-key-file stake.vkey \
    --always-no-confidence \
    --out-file vote-deleg.cert

Copy vote-deleg.cert to your hot environment.

You need to find the tip of the blockchain to set the invalid-hereafter parameter properly.

Retrieve the UTXOs available for your payment address and calculate the balance.

Run the build-raw transaction command:

circle-info

The invalid-hereafter value must be greater than the current tip. In this example, we use current slot + 10000.

Calculate the current minimum fee:

circle-info

When calculating the fee for a transaction, the --witness-count option indicates the number of keys signing the transaction. You must sign a transaction submitting a vote delegation certificate to the blockchain using the secret—private—key for the payment address spending the input, as well as the secret key for the stake address delegating voting power.

Calculate your change output:

Build your transaction to delegate voting power:

Copy tx.raw to your cold environment.

Sign the transaction with both the payment and stake secret keys:

Copy tx.signed to your hot environment.

Send the signed transaction:

Last updated