@kadena-indexer/indexer: The indexer package, which is responsible for scanning and storing blocks for Kadena blockchain.@kadena-indexer/backfill: The backfill package, which is responsible for backfilling the indexer data.
- Install dependencies.
- See individual package READMEs for specific prerequisites.
Install dependencies with the following command:
yarn installThis is the quickest way to get the indexer running.
Install Docker.
Fill the .env file in the indexer folder. See Environment Variables Reference.
cp indexer/.env.template indexer/.envTo start all services:
yarn indexer devNOTE: Using the Postgres image with the composer requires the database DB_USERNAME defaulting to postgres.