Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giveth/giveconomy-balance-aggregator
https://github.com/giveth/giveconomy-balance-aggregator
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/giveth/giveconomy-balance-aggregator
- Owner: Giveth
- License: gpl-3.0
- Created: 2023-04-16T17:35:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-10T18:22:25.000Z (5 months ago)
- Last Synced: 2024-06-10T21:24:59.064Z (5 months ago)
- Language: TypeScript
- Size: 287 KB
- Stars: 23
- Watchers: 12
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```## Test
```bash
# start test database
$ docker-compose -f docker/docker-compose-test-postgres.yml up -d# unit tests
$ npm run test
```## API
See [swagger](http://localhost:3000/api)