watcher-ts/README.md

1.2 KiB

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