Skip to main content

reNFT Contract

This repo contains an example Envio indexer built using TypeScript for the reNFT contract deployed on Poylgon.

All of the events from the reNFT contract are indexed as entities and the EventsSummary entity is defined to track number of each event that the indexer has indexed.

The indexer has been built using v0.0.21 of Envio.

Steps to run the indexer

  1. Clone the repo
  2. Install any other pre-requisite packages for Envio listed here
  3. Install Envio via npm i -g envio@v0.0.21
  4. Generate indexing code via envio codegen
  5. Run the indexer via envio dev (make sure you have Docker running)
  6. Stop the indexer via envio start