Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 773 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 773 Bytes

Indexer

This is a Ponder project that indexes events from the governor.ensdao.eth smart contract.

Endpoints

  • / - GraphQL playground
  • /proposals - List of the 50 latest DAO proposals
  • /proposals/:id - Details for a specific proposal, including all votes

Local development

Clone this repo and install dependencies from the root directory:

pnpm install

Navigate to the indexer directory and set up your environment variables:

cd indexer
cp .env.example .env.local

Run the dev server:

pnpm dev

Open http://localhost:42069 in your browser and navigate to one of the endpoints listed above.