daocafe-sdk
The official TypeScript SDK for DAO.CAFE - providing type-safe access to governance data from the CreateDAO protocol.React Hooks
TanStack Query integration for seamless data fetching
Query Functions
Promise-based API for Node.js and vanilla JS
TypeScript Types
Full type definitions for all entities
Examples
Real-world code examples
Features
Installation
Peer Dependencies (for React hooks)
If you plan to use the React hooks, install these peer dependencies:Quick Start
With React Hooks
With Async Functions (Node.js / Vanilla JS)
Supported Networks
ID Formats
The SDK uses composite IDs for all entities:What’s Next?
React Hooks
Deep dive into all available React hooks
Real-World Examples
Build a DAO dashboard from scratch