D
D
Documentation
Search…
Technical Overview

Litentry Graph

An Express GraphQL server using schema stitching to aggregate a collection of remote schemas and subschemas. Docker is used for deployment of both the node application and Nginx.

Substrate Indexer

A NodeJS application powered by Subsquid, the Substrate Indexer takes the data from the Substrate Archives (raw events and extrinsics from Substrate networks) and transforms it into a schema that is designed for the convenience of the clients querying it.
The data is aggregated so you can query your data across multiple Substrate networks using a Substrate address in its hex format.
Postgres is used to store the data, and a GraphQL query node is used to serve the data to the Litentry Graph as a remote schema.
Currently the Substrate Indexer is hosted by us, we plan to migrate it to the decentralised network in the near future.

Substrate Archive

A Postgres database with a realtime feed of raw events and extrinsics direct from the blockchain. A GraphQL query node is used to serve the data to the Substrate Indexer.
Each archive is responsible for a single Substrate network.
Currently the Substrate Archives are hosted by us, we plan to migrate them to the decentralised network in the near future.

Ethereum & BSC Indexers

Powered by The Graph, these indexers take events and extrinsics from the relevant EVM based networks and transform the data from them into a schema designed for the convenience of the clients querying it.
Postgres is used to store the data, and a GraphQL query node is used to serve the data to the Litentry Graph as a remote schema.
Currently these indexers are on the hosted service provided by The Graph, and we plan to migrate them to the decentralised network in the near future.

Substrate Chain

The Substrate Chain component queries data directly from blockchain nodes via web sockets using the Polkadot API. The data is then formatted into a shape convenient for consumption by clients.
This component is particularly useful for native mobile applications where the Polkadot API doesn't perform so well due to the lack of support for WASM.