nav.brand
DAO

DAO Governance Template

Give your community a real governance portal: create proposals, vote with your governance token, watch quorum and tallies update live, and manage a timelock-controlled treasury — all on the audited OpenZeppelin Governor stack.

Next.jsTypeScriptTailwindviemOpenZeppelin GovernorHardhat

Features

  • Proposal list with state, quorum progress and for / against / abstain tallies
  • Delegate, then vote For / Against / Abstain in one click
  • Create a signal proposal from the UI; see your live voting power
  • Treasury (timelock) balance overview
  • Optional fixed-price gov-token sale that funds the treasury

What's included

  • Next.js app (App Router, TypeScript, Tailwind)
  • GovToken + TimelockController + MyGovernor (+ optional GovSale) — Hardhat
  • Multi-step deploy wizard that wires the timelock & governor roles
  • Dockerfile + docker-compose
  • README + .env workflow

Smart contracts included

Audited-base Solidity (OpenZeppelin), verifiable on-chain after deploy. Full source in the repo.

GovToken.sol

ERC-20 governance token with on-chain voting power and gasless approvals; holders delegate (to themselves or a delegate) to activate their votes (OpenZeppelin ERC20Votes + ERC20Permit).

TimelockController

OpenZeppelin timelock that holds the DAO treasury and executes passed proposals after a configurable delay.

MyGovernor.sol

OpenZeppelin Governor (settings + simple counting + token votes + quorum fraction + timelock control): proposals are created, voted on, queued through the timelock and executed.

GovSale.sol

an optional fixed-price sale of an allocation of gov tokens; the native-coin proceeds go straight to the treasury (OpenZeppelin Ownable).

Proposals, voting and quorum

List active and past proposals with their state, quorum progress and for/against/abstain tallies. Token holders delegate, then vote in one click. Everything is read directly from on-chain governance events.

Treasury and timelock execution

Successful proposals queue through a TimelockController and execute on-chain. The portal shows the treasury balance, and the included deploy script wires the Governor, timelock and ERC20Votes token together with correct roles.

Audited foundations, customizable UI

Voting delay, period, quorum percentage and proposal threshold are all configurable. The contracts extend OpenZeppelin's Governor; the front end is yours to brand.

Frequently asked questions

+What is a DAO template?

A ready-made governance website plus the on-chain contracts (governance token, timelock, governor) that let a community propose, vote and execute decisions. This one is built on OpenZeppelin's audited Governor.

+How do members vote?

Holders first delegate their governance tokens (to themselves or a delegate), which activates voting power, then cast For / Against / Abstain on active proposals during the voting window.

+Is the governance token included?

Yes — an ERC20Votes governance token, a TimelockController treasury, and the Governor contract, with a deploy script that wires the roles correctly.

Ready to ship DAO Governance?

Full source, lifetime license, instant download. Pay with crypto or card.

Get it for $189

Explore all web3 templates