Usage
- For details about the technical architecture and if you want to contribute, head over to the repo https://github.com/0xPolygon/chain-indexer-framework - For a
Git repo and contact details
- For details about the technical architecture and if you want to contribute, head over to the repo https://github.com/0xPolygon/chain-indexer-framework
- For any questions, reach out to us on the Polygon R&D Discord.
Installation
You can install the package using:
Using npm
npm install @maticnetwork/chain-indexer-frameworkUsing Yarn
yarn add @maticnetwork/chain-indexer-frameworkUsage
// Import the chain-indexer-framework module
const chain-indexer-framework = require('@maticnetwork/chain-indexer-framework');Examples
To gain a clearer understanding of the entire process, check out our prebuilt examples.
- The first example involves indexing MATIC transfer events from the Ethereum blockchain.
- The second example involves indexing NFT transfers and maintaining NFT balances.
Both these examples encompass all the layers involved, starting from producers, moving through transformers, and concluding with consumers.
Last updated on
Overview
- For details about the technical architecture and if you want to contribute, head over to the repo https://github.com/0xPolygon/chain-indexer-framework - For a
Get started
Matic.js a JavaScript library that facilitates interaction with the Polygon network. It provides developers with simplified operations such as depositing, trans