Pocketdex Indexer
warning
This document is a living WIP and assumes you are familiar with the LocalNet environment.
Pocketdex
Pocketdex, the pocket indexer, starts up as part of the default LocalNet.
Usage
GraphQL
The localnet GraphiQL playground is available at http://localhost:3000 by default.

A link is accessible from the "GraphQL API" tab in tilt:

See the pocketdex docs for more details.
Postgres - CLI
You can connect using a tool of your choice or with the psql CLI via:
After you've connected, you MUST update your schema to localnet and start exploring the data:
Debugging
Port already in use
If you go to http://localhost:10350/r/Postgres/overview and see the following error:
You likely have another local Postgres instance running. You can identify it by running:
On macOS, if installed via brew, it can be stopped with:
Yarn dependency installation failure
If you see the pocketdex indexer failing to build in Tilt with yarn dependency errors like this:

This typically indicates issues with corrupted dependencies or improperly initialized git submodules. To resolve:
Was this helpful?
