Governance
Vote Delegation
Delegate your governance voting power to a DRep
Vote Delegation
In the Conway era, ADA holders can delegate their governance voting power to a Delegated Representative (DRep). This is separate from stake pool delegation — you can delegate stake to one pool and voting power to a different DRep.
Delegate to a DRep
import { , , } from "@evolution-sdk/evolution"
const = ({
: "preprod",
: { : "blockfrost", : "https://cardano-preprod.blockfrost.io/api/v0", : ..! },
: { : "seed", : ..!, : 0 }
})
declare const : .
declare const : any
const = await
.()
.({
,
: .()
})
.()
const = await .()
await .()Built-in DRep Options
Instead of delegating to a specific DRep, you can choose a built-in option:
| Option | Effect |
|---|---|
| AlwaysAbstain | Your voting power doesn't count toward any vote |
| AlwaysNoConfidence | Your power always counts as "no confidence" in the committee |
import { , , } from "@evolution-sdk/evolution"
const = ({
: "preprod",
: { : "blockfrost", : "https://cardano-preprod.blockfrost.io/api/v0", : ..! },
: { : "seed", : ..!, : 0 }
})
declare const : .
// Abstain from all governance votes
const = await
.()
.({
,
: .()
})
.()
const = await .()
await .()Delegate Stake and Voting Together
Use delegateToPoolAndDRep to delegate both in a single certificate:
import { , , } from "@evolution-sdk/evolution"
const = ({
: "preprod",
: { : "blockfrost", : "https://cardano-preprod.blockfrost.io/api/v0", : ..! },
: { : "seed", : ..!, : 0 }
})
declare const : .
declare const : any
declare const : any
const = await
.()
.({
,
,
: .()
})
.()
const = await .()
await .()Register and Delegate in One Step
For new stake credentials, combine registration with vote delegation:
import { , , } from "@evolution-sdk/evolution"
const = ({
: "preprod",
: { : "blockfrost", : "https://cardano-preprod.blockfrost.io/api/v0", : ..! },
: { : "seed", : ..!, : 0 }
})
declare const : .
declare const : any
const = await
.()
.({
,
: .()
})
.()
const = await .()
await .()Next Steps
- Delegation — Pool delegation
- DRep Registration — Become a DRep
- Voting — How DReps cast votes