mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-01-10 15:14:08 +00:00
Fork of watcher-ts repo that will act as a mirror.
|
|
||
|---|---|---|
| .github/workflows | ||
| .husky | ||
| packages | ||
| .dockerignore | ||
| .gitignore | ||
| .npmrc | ||
| Dockerfile | ||
| lerna.json | ||
| LICENSE | ||
| Makefile | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
watcher-ts
Setup
This project uses yarn workspaces.
Install packages (Node.JS v16.13.1):
yarn
Build packages:
yarn build
Tests
Services
The default config files used by the watchers assume the following services are setup and running on localhost:
vulcanize/go-ethereumon port 8545vulcanize/ipld-eth-serverwith native GQL API enabled, on port 8082
Note
-
In
vulcanize/ipld-eth-server, add the following statement to[ethereum]section inenvironments/config.toml:chainConfig = "./chain.json" # ETH_CHAIN_CONFIG
Watchers
Development
-
To update versions in all packages run the following:
yarn version:set <VERSION> yarn version:set-codegen <VERSION>Example
yarn version:set 0.2.20 yarn version:set-codegen 0.2.20