Build on crossr
Indexer
- One Bun process indexes every configured chain into Postgres:
launches,legs,trades,candles(1 minute),holders,bridge_transfers,hook_fees,relay_events,prices. Schema inapps/indexer/db/schema.sql, migrations run at boot. - Configure with
DATABASE_URL,CHAIN_IDS,ALCHEMY_API_KEYorRPC_URL_<chainId>,CONFIRMATIONS,POLL_MS,CHUNK.DEPLOYMENTS_JSONoverrides addresses without a rebuild.GET /healthonPORT. - With
KEEPER_PRIVATE_KEYset, the keeper watchesReadyToGraduate/AutoGraduationFailedand callsgraduate(token)itself. It needs a little gas on every chain.