mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
194d079d5e
* Script to init pool. * Watch pool initialize event.
17 lines
289 B
Markdown
17 lines
289 B
Markdown
# Uniswap Watcher
|
|
|
|
Run the server:
|
|
|
|
```bash
|
|
$ yarn server
|
|
```
|
|
|
|
Start watching the factory contract:
|
|
|
|
Example:
|
|
|
|
```bash
|
|
$ npx ts-node src/cli/watch-contract.ts --configFile environments/local.toml --address 0xfE0034a874c2707c23F91D7409E9036F5e08ac34 --kind factory --startingBlock 100
|
|
```
|
|
|