https://github.com/daostack/daos-balances
A service to get a sorted registered DAOs total holdings (ETH + erc20) array in USD via APIs
https://github.com/daostack/daos-balances
Last synced: 3 months ago
JSON representation
A service to get a sorted registered DAOs total holdings (ETH + erc20) array in USD via APIs
- Host: GitHub
- URL: https://github.com/daostack/daos-balances
- Owner: daostack
- Created: 2020-08-10T13:08:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-11T08:37:45.000Z (over 4 years ago)
- Last Synced: 2025-01-24T14:18:37.158Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 192 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DAOs Balances Service
A service to get a sorted **registered** DAOs total holdings (ETH + erc20) array in USD via APIs
The service returns total balance and formatted total balance for each DAO
## Usage
The endpoint accepts 4 parameters:
- version: Alchemy version (`v1` or `v2`)
- network: `http_main` for example.
- from (optional): start selection index
- to (optional): end selection index (excluding)*exmaple: https://daos-balances-service.herokuapp.com/daosBalance/getDaosBalances/?version=v1&network=http_main&from=0&to=20*
By default, the DAOs are sorted in descending balance order.
## Development
1. `git clone https://github.com/daostack/daos-balances.git && cd daos-balances`
2. `npm install`
3. `npm start`The service runs on port 3001