GitHub - Auromony/connextscan-lambda

Connext Network Explorer - Lambda functions

This repository is a subproject of the Connext Network Explorer. The implemented services here are used for retrieving, normalizing, processing, aggregating, and managing the Connext Network Explorer Website. We design and implement them as serverless services to interact with Subgraph Endpoints, Covalent API, Coingecko API and Blockscout API.

The implementation is based on Amazon Web Services' services, including (AWS Lambda, AWS API Gateway, AWS EventBridge and Amazon OpenSearch Service.

Functions

  • requester - A function for requesting data from Subgraph, Covalent API, Coingecko API and Blockscout API. The AWS API Gateway is used as the trigger.
  • opensearcher - A function for interacting with our implemented indexers, which is resposible for indexing day metrics (from subgraph v0 & current version), etc. The functionalities of this part are implemented based on the Amazon OpenSearch Service.
  • crawler - A function for collecting data from Subgraph and indexing data to OpenSearch Service, which is implemented based on AWS EventBridge.

Architecture Design

explorer-architecture

Follow us