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: 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: