mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 12:26:19 +00:00
Fork of watcher-ts repo that will act as a mirror.
38daa31029
* Add a method to send messages using pubsub on a topic * Update version to 0.2.22 |
||
---|---|---|
.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-ethereum
on port 8545vulcanize/ipld-eth-server
with 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