[Report] Stats.gallery development Jan 1 - 31

Project title: Stats.gallery

Project Summary: Provides usable stats/insights for NEAR ecosystem users in a gamified way

Period: Jan 1 - 31

The following are the results done:

  • Integrated leaderboard endpoints to the frontend namely weekly top nfts, weekly top dapps, and weekly top active

  • Continously monitored and scaled the cloud resources of stats.gallery based on the traffic/demand
  • Scaled the query that processed weekly top nft leaderboard from processing ~2M records to process ~15M records as the number of transactions in the near network grew:
  • Updated node.js version from 14 to 16 for better security and feature support
  • Updated dockerfile environments to eliminate errors and warnings for better developer experience and attract more developers to the project
  • Database schema updates in order to support the upcoming sponsored badges
  • Ideation and implementation of backfilling user badges into the database in order for us to speed up the queries that analyze user eligibility for badges and also help us expand to add more badges
  • Implemented the backfilling mechanism for “One-of-a-kind” badge that will serve as the basis for the upcoming backfilling of user badges.
  • Bug fix for solving ordering guarantees when saving on chain transactions to stats.gallery database
1 Like