Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

AngelProtocolFinance/ap-terra-indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terra-chain-indexer

General Indexer groups for on-chain data

How to Start Indexing

It is (fully) recommended that this is ran on a stable cloud service provider with a full node localhost lcd endpoint enabled. If this cannot be done, it's ok but it is necessary to use a private lcd endpoint.

Open terminal, do yarn then yarn start. You should see a table of indexes coming up on the console every block.

The Indexer queries the latest block and all it's txs, then based on the filters you set, indexes it to the correct collection of your choosing. If you look at saveInColl.ts, you should see the object literal (switch) as well as the functions that utilizes different mongoose models.

About

All purpose indexer for Angel DApps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published