Skip to content

mgamer/indexer-v3

Folders and files

NameName
Last commit message
Last commit date
Feb 1, 2022
Jan 19, 2022
Jan 24, 2022
Jan 11, 2022
Jan 30, 2022
Jan 29, 2022
Jan 30, 2022
Nov 10, 2021
Feb 1, 2022
Nov 24, 2021
Jan 23, 2022

Repository files navigation

Reservoir Protocol Indexer

Core services for the Reservoir Protocol (eg. blockchain indexing/monitoring, orderbook maintenance, order validation).

Build and run

To run, the service needs to have available a Postgres and Redis instance. For running locally, these are conveniently provided via docker-compose. Boot them up by running docker-compose up in the root directory.

Install dependencies via yarn. Build and start the service via yarn build and yarn start. Make sure to have a .env file in the root directory containing the environment variables needed to run the service (which are exemplified in .env.example).

Setup

When starting from a fresh state, the indexer will start monitoring on-chain data from the current block. This means that past data is not available directly but must be backfilled. For now, the backfills are to be triggered via the indexer's admin APIs.

About

Reservoir Protocol indexer v3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages