@kadena-indexer/indexer
: The indexer package, which is responsible for scanning and storing blocks for Kadena blockchain.@kadena-indexer/terraform
: The Terraform configuration for provisioning the infrastructure required to run the indexer and the node.@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 install
This 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/.env
To start all services:
yarn indexer dev
NOTE: Using the Postgres image with the composer requires the database DB_USERNAME
defaulting to postgres
.