An easy to use Python and Postgres indexer for Pocket Network
git clone https://github.com/fiagdao/poktwatch-indexer.git
cd poktwatch-indexer
docker-compose up -d
- Docker and docker-compose
- A server with more than 4 CPU's (to run it fast)
If you do not want to run your own indexer, there is a free one available at https://api.pokt.watch
A PostGREST endpoint at 0.0.0.0:3000 is exposed.
You can connect this with other sites such as the POKTwatch-frontend, or create your own API's
A postgres database is exposed at 0.0.0.0:5432. The credentials are specified in the .env file.
If you do not want to wait for your pocket node to fully sync, you can download a snapshot and put it in the data/pocket folder.