Skip to content

buidl-labs/polkadot-parachains-indexer

Repository files navigation

polkadot-chains-indexer

This project serves two goals for chains inside the Polkadot ecosystem:

  1. chain-indexer: extract, transform and load on-chain data for post analysis to a database.
  2. API: bi-directional API for reading data to power dashboards/frontends.

Current support status

Prerequisites

  • Node.js and npm
  • A running MongoDb Atlas cluster
    • Instructions for getting started with MongoDb Atlas and deploying a cluster link.

Installation Instructions

git https://github.com/buidl-labs/polka-analytics-api.git
cd polka-analytics-api



## Install all dependencies
npm install



## Set environment variables
export DB="your-atlas-connection-string"
export SENTRY_DNS="your-sentry-dsn-url"



## Fire up the engines:
npm start

FAQ

1. How to get MongoDB Atlas connection string?

Follow these instructions on how to get the connection string.

2. What is Sentry DNS URL and why do I need it?

We use Sentry for monitoring errors.

3. Where is the production API deployed?

Currently we use Render for production deployment.

4. The above tech stack feels quite centralized, how are you planning to remove these centralized single point of failures?

We are on the same page with the ethos of the crypto space and we plan to move our storage to IPFS as when we have been able to validate our core MVP thesis of the products we are building using this indexer.

⛏️ Built Using

Gratitude:

About

Data indexer and API for chains inside Polkadot Ecosystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •