Skip to content

Giveth/giveconomy-balance-aggregator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

da9fe06 · Jun 10, 2024

History

64 Commits
Aug 9, 2023
Aug 31, 2023
Aug 31, 2023
Jun 10, 2024
Aug 23, 2023
Jun 10, 2024
May 15, 2023
Aug 7, 2023
Jun 10, 2024
Aug 9, 2023
Jun 5, 2024
Aug 10, 2023
Jun 5, 2024
Apr 16, 2023
May 15, 2023
Aug 10, 2023
Aug 15, 2023
Apr 16, 2023
May 16, 2023

Repository files navigation

Balance Aggregator

This service retrieves balances and their history from various sources and provides a persistent representation of the balances. It is specifically designed to serve as a backend for the Giveth impact-graph service, catering to the requirements of GIVpower-related functionalities.

The Balance Aggregator can furnish the aggregated balance of an address at a given block number or a specific date (GIVpower balance snapshot). Additionally, it can provide balances that have been updated after a particular date (GIVpower Instant Boosting).

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# start test database
$ docker-compose -f docker/docker-compose-test-postgres.yml up -d

# unit tests
$ npm run test

API

See swagger