Governance
Proposals
Submit governance proposals on Cardano
Proposals
Governance proposals submit actions for the community to vote on. The deposit is automatically fetched from protocol parameters and refunded to your reward account when the proposal is finalized.
Submitting a Proposal
import { , , , , } from "@evolution-sdk/evolution"
const = .()
.({
: "https://cardano-preprod.blockfrost.io/api/v0",
: ..!
})
.({ : ..!, : 0 })
// Governance action — e.g. new GovernanceAction.InfoAction() for informational proposals.
// Other types: ParameterChangeAction, HardForkInitiationAction,
// TreasuryWithdrawalsAction, NoConfidenceAction, UpdateCommitteeAction, NewConstitutionAction
declare const : .
declare const : . // your stake reward account — deposit refunded here
declare const : . // metadata URL + content hash describing the proposal
const = await
.()
.({
,
,
})
.()
const = await .()
await .()The govActionDeposit is deducted automatically during transaction balancing.
Governance Action Types
| Action | Description |
|---|---|
| Protocol Parameter Update | Modify network parameters |
| Hard Fork Initiation | Initiate a hard fork |
| Treasury Withdrawal | Withdraw from the treasury |
| No Confidence | Express no confidence in the committee |
| New Constitution | Propose a new constitution |
| Update Committee | Change committee membership |
| Info Action | Informational proposal (no on-chain effect) |
Multiple Proposals
Submit multiple proposals in a single transaction by chaining .propose():
import { , , , , } from "@evolution-sdk/evolution"
const = .()
.({
: "https://cardano-preprod.blockfrost.io/api/v0",
: ..!
})
.({ : ..!, : 0 })
declare const : .
declare const : .
declare const : .
declare const : .
declare const : .
const = await
.()
.({ : , , : })
.({ : , , : })
.()
const = await .()
await .()Next Steps
- Voting — Vote on submitted proposals
- DRep Registration — Register to vote on proposals