mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-11-21 21:24:09 +00:00
|
|
||
|---|---|---|
| .. | ||
| environments | ||
| src | ||
| .eslintignore | ||
| .eslintrc.json | ||
| .gitignore | ||
| index.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Uniswap Watcher
Run the server:
$ yarn server
Start watching the factory contract:
Example:
$ yarn watch:contract --address 0xfE0034a874c2707c23F91D7409E9036F5e08ac34 --kind factory --startingBlock 100
Scripts
-
yarn serverStart the GraphQL server.
-
yarn watch:contractAdd contract to watch.
-
yarn lintLint files.
# Lint fix. $ yarn lint --fix