The Indexer for CreateDAO

A high-performance GraphQL API for the CreateDAO protocol. Track proposals, analyze voting power, and monitor governance activity across chains.

🔍

Deep Indexing

Full historical data for DAOs, proposals, votes, and delegations. Reset from genesis in seconds.

Real-time Updates

Events are indexed immediately as they occur on-chain. Zero-latency access to governance state.

🌐

Multi-Chain

Unified schema across Base Mainnet and Sepolia Testnet. Query multiple chains in a single request.

🚀 Build with DAO.CAFE

📦 daocafe-sdk

TypeScript SDK with React hooks and TanStack Query integration. Type-safe queries, zero config setup.

npm install daocafe-sdk
🎮 Demo Application

Full-featured demo showcasing SDK capabilities: browse DAOs, view proposals, cast votes, and create governance actions.

  • Wallet integration with MetaMask
  • Proposal creation with IPFS metadata
  • Transaction simulation via Tenderly

🔎 Example Queries

Fetch all DAOs
query GetDAOs {
  daos(limit: 10, orderBy: "createdAt", orderDirection: "desc") {
    items {
      id
      name
      tokenSymbol
      proposalCount
      manager
    }
  }
}
Find DAOs by Manager Address
query GetDAOsByManager($managerAddress: String!) {
  daos(where: { manager: $managerAddress }) {
    items {
      id
      name
      token
      governor
    }
  }
}
Fetch DAO by Token Address
query GetDAOByToken($tokenAddress: String!, $chainId: Int!) {
  daos(where: { token: $tokenAddress, chainId: $chainId }) {
    items {
      id
      name
      governor
      totalVoters
    }
  }
}
Get Active Proposals
query GetActiveProposals {
  proposals(where: { state: ACTIVE }) {
    items {
      id
      description
      forVotes
      againstVotes
      voteEnd
    }
  }
}

📦 Data Schema

🏛️ DAO
idString (chainId_governor)
nameString
managerAddress
tokenAddress
timelockAddress
proposalCountInt
totalVotersInt
📜 Proposal
idString
daoIdString
proposerAddress
descriptionString
stateEnum
forVotesBigInt
🗳️ Vote
idString
voterAddress
supportEnum
weightBigInt
reasonString
🤝 Delegate
delegatorAddress
toDelegateAddress
tokenAddress
updatedAtBigInt

About CreateDAO

DAO.CAFE indexes all DAOs deployed via the CreateDAO v2 factory.

  • Factory: 0xd141662F4b788F28B2a0769a6d3f243D046B571f
  • Standard: OpenZeppelin Governor + ERC20Votes
  • Networks: Base Mainnet (8453) & Sepolia (11155111)

Integration

Use the manager field to find DAOs controlled by specific external systems (like OpenBook) or user wallets.