2021-06-25 11:05:47 +00:00
# Address Watcher
## Setup
2023-01-09 18:57:40 +00:00
First try the [stack orchestrator ](https://github.com/cerc-io/stack-orchestrator ) to quickly get started. Advanced users can see [here ](/docs/README.md ) for instructions on setting up a local environment by hand.
2021-06-28 11:42:53 +00:00
## Run
Run the following scripts in different terminals.
2021-09-02 04:57:56 +00:00
Build files:
```
yarn build
```
2021-06-28 11:42:53 +00:00
GQL server:
```
yarn server
2021-09-02 04:57:56 +00:00
# For development.
yarn server:dev
# For specifying config file.
yarn server -f environments/local.toml
2021-06-28 11:42:53 +00:00
```
Job runner for processing the tracing requests queue:
```
yarn job-runner
2021-09-02 04:57:56 +00:00
# For development.
yarn job-runner:dev
# For specifying config file.
yarn job-runner -f environments/local.toml
2021-06-28 11:42:53 +00:00
```
To fill a block range:
```
2021-09-02 04:57:56 +00:00
yarn fill --start-block 1 --end-block 1000
# For specifying config file.
yarn fill -f environments/local.toml --start-block 1 --end-block 1000
2021-06-28 11:42:53 +00:00
```