mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-07 16:34:06 +00:00
v0.2.22
* Add a method to send messages using pubsub on a topic * Update version to 0.2.22
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
Languages
TypeScript
88.8%
Handlebars
8.9%
JavaScript
2.2%