Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 639 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 639 Bytes

SubQuery Example - Entity relations

This subquery indexes balance transfers between accounts, it is designed to demonstrate the many-to-many relationship within these entities.

This subquery also indexes the utility batchAll calls which are formated in tree structure, and we established an one-to-many relationship within those entities, allow us to understand the actual actions of this extrinsic and know its position in the tree.

Get Started

1. install dependencies

yarn

2. generate types

yarn codegen

3. build

yarn build

4. run locally

yarn start:docker