Skip to main content

Examples

Learn by building real-world governance features with the SDK.

Sample DAO

These examples use a real DAO on Sepolia testnet:
ContractAddress
DAOGovernor0xf51C4b7b5AA34052B9C605A6BAf4DB8E844106B0
DAOToken0xcfCff2dAad166cd75458E5F4Dd0c1F01c35D8d9C
TimelockController0xe0E285CaD99C1667101539C09e5b684c0A7BfF18
DAO ID: 11155111_0xf51C4b7b5AA34052B9C605A6BAf4DB8E844106B0

Project Setup

Create a new Vite + React project:
Set up the QueryClient in src/main.tsx:

DAO Dashboard

A complete dashboard showing DAO info, proposals, and voting power.

App Component

DAO Header Component

Proposal List Component

Top Holders Component


Active Proposals Widget

A standalone widget showing active proposals across all DAOs.

Voter Profile

Show a user’s voting history and power across all DAOs.

Node.js Script

Fetch and analyze DAO data from the command line:
Run with: