This service is responsible for aggregating data from multiple Blockscout instances and providing a unified search API.
- Install just cli. Just is like make but better.
- Execute
just
to see avaliable dev commands
just
- Start dev postgres service by just typing
just start-postgres
- Now you ready to start API server! Just run it:
just run
Service-specific environment variables. Common environment variables are listed here.
Variable | Required | Description | Default value |
---|---|---|---|
MULTICHAIN_AGGREGATOR__DATABASE__CONNECT__URL |
true | Postgres connect URL to service DB | |
MULTICHAIN_AGGREGATOR__DATABASE__CREATE_DATABASE |
Create database if doesn't exist | false |
|
MULTICHAIN_AGGREGATOR__DATABASE__RUN_MIGRATIONS |
Run database migrations | false |
|
MULTICHAIN_AGGREGATOR__SERVICE__DAPP_CLIENT__URL |
true | e.g. http://localhost:8080/api/v1 |
|
MULTICHAIN_AGGREGATOR__SERVICE__API__DEFAULT_PAGE_SIZE |
50 |
||
MULTICHAIN_AGGREGATOR__SERVICE__API__MAX_PAGE_SIZE |
100 |