Browse key metrics from DAOs and easily add new ones.
Live Demo: https://polydao-analytics.vercel.app
Polydao Analytics relies on:
- polydao-api, an API wrapper that consumes data from the Covalent API
- Next.js and Chakra UI for the front-end
- ApexCharts package
- Number of votes
- DAO holdings
- Top token holders
- Token concentration
- Voting power
- [wip] Number of members
- [wip] Social media sentiment
- Clone and deploy this repo, e.g. on Vercel
- This webapp pulls data from polydao-api, which is an API wrapper pulling data from Covalent
- Clone and deploy polydao-api, providing your API key on Vercel as COVALENT_KEY environment variable
- To add a DAO, append the necessary contracts as demonstrated in the dao.json file in polydao-api
First, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.
The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.