Governance
Governance
Conway-era governance with DReps, voting, and proposals
Governance
Evolution SDK supports Cardano's Conway-era governance system (CIP-1694). Register as a Delegated Representative (DRep), vote on governance actions, submit proposals, and manage Constitutional Committee credentials — all through the transaction builder.
Governance Roles
| Role | Description | Operations |
|---|---|---|
| DRep | Delegated Representative who votes on behalf of delegators | Register, update, deregister, vote |
| Committee Member | Constitutional Committee member | Authorize hot key, resign |
| Stake Pool Operator | Pool operators vote on specific governance actions | Vote (key-hash only) |
| ADA Holder | Delegate voting power to a DRep | Delegate to DRep |
Quick Example
import { , } from "@evolution-sdk/evolution"
const = ({
: "preprod",
: { : "blockfrost", : "https://cardano-preprod.blockfrost.io/api/v0", : ..! },
: { : "seed", : ..!, : 0 }
})
declare const : .
// Register as a DRep
const = await
.()
.({ })
.()
const = await .()
await .()Script-Controlled Governance
All governance operations support script-controlled credentials. Provide a redeemer when the credential is a script hash:
import { , , } from "@evolution-sdk/evolution"
const = ({
: "preprod",
: { : "blockfrost", : "https://cardano-preprod.blockfrost.io/api/v0", : ..! },
: { : "seed", : ..!, : 0 }
})
declare const : .
declare const : any
const = await
.()
.({
: ,
: .(0n, [])
})
.({ : })
.()
const = await .()
await .()