← Celara

DAOForm

Governance-as-Code

Define your DAO's governance in YAML. Create proposals, cast weighted votes, and resolve outcomes with configurable quorum and threshold rules. Version-controlled, auditable, reproducible. Python SDK for building governance UIs.

$ pip install daoform

See it in action

DAOForm initializing governance config
18
Tests
3
Vote Types
YAML
Storage
Pydantic
Models

Features

YAML Configuration

Define quorum, threshold, voting period, and timelock in a version-controlled YAML file.

Proposal Lifecycle

Draft → Active → Passed/Rejected → Executed. Full state machine with validation at each transition.

Weighted Voting

FOR, AGAINST, ABSTAIN with configurable weight per voter. Duplicate vote prevention built in.

Automatic Resolution

Engine checks quorum first (did enough vote?), then threshold (did enough vote FOR?). Deterministic.

YAML Persistence

Proposals and votes stored as YAML files. Survive restarts. Swappable for PostgreSQL or on-chain.

Python SDK

GovernanceEngine class for building UIs. create_proposal(), cast_vote(), tally(), resolve().

Get started in 30 seconds

$ pip install daoform