Fork of watcher-ts repo that will act as a mirror.
Go to file
prathamesh0 38daa31029
Add a method to send messages on the network using pubsub (#293)
* Add a method to send messages using pubsub on a topic

* Update version to 0.2.22
2023-01-11 17:19:21 +05:30
.github/workflows Use graph-ts and graph-cli packages from gitea (#283) 2022-12-29 16:59:42 +05:30
.husky Add husky for setting lint in commit hook. (#248) 2021-09-20 16:25:54 +05:30
packages Add a method to send messages on the network using pubsub (#293) 2023-01-11 17:19:21 +05:30
.dockerignore docker image and Github Actions to build image 2021-07-23 15:42:50 +03:00
.gitignore Npm gitea publish (#200) 2022-10-13 15:12:24 -04:00
.npmrc Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
Dockerfile Use graph-ts and graph-cli packages from gitea (#283) 2022-12-29 16:59:42 +05:30
lerna.json Add a method to send messages on the network using pubsub (#293) 2023-01-11 17:19:21 +05:30
LICENSE Add APGL license and copyright notices (#212) 2021-08-12 15:28:13 +05:30
Makefile Change package name prefixes to cerc-io (#177) 2022-09-09 17:13:01 +05:30
package.json Add script to set package versions in codegen (#270) 2022-11-29 14:52:39 +05:30
README.md Update version to 0.2.20 (#291) 2023-01-10 20:32:05 +05:30
yarn.lock Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30

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 8545
  • vulcanize/ipld-eth-server with native GQL API enabled, on port 8082

Note

  • In vulcanize/ipld-eth-server, add the following statement to [ethereum] section in environments/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