Skip to main content

Installation

Install the package using npm or Yarn.

npm

npm install @maticnetwork/chain-indexer-framework

Yarn

yarn add @maticnetwork/chain-indexer-framework

Import the module

// Import the chain-indexer-framework module
const chain-indexer-framework = require('@maticnetwork/chain-indexer-framework');

Examples

The repository includes two prebuilt examples that cover the full producer-transformer-consumer pipeline: See the examples README for setup instructions.