This indexer is fetching all the events happening on BG Cohorts contracts
If you create a new cohort and want to index its events, just make a PR adding the cohort address to ponder.config.ts
- Clone
npm install
- Copy
.env.example
to.env.local
and fill the RPCs (mainnet/op). Database can be null locally (but see below for local DB setup). npm run dev
Open the GraqhQL playground at http://localhost:42069. GraphQL explorer (third icon) is useful to see what queries are available.
You can create a local PostgreSQL database with the provided docker-compose.yml
file. Run:
docker-compose up -d