mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 20:36:19 +00:00
nikugogoi
cc66f44bab
* Use assemblyscript from gitea packages * Add back github registry for vulcanize/graph-ts * Use cerc-io scoped assemblyscript package
43 lines
985 B
Markdown
43 lines
985 B
Markdown
# watcher-ts
|
|
|
|
## Setup
|
|
|
|
This project uses [yarn workspaces](https://classic.yarnpkg.com/en/docs/workspaces/).
|
|
|
|
Install packages (Node.JS v16.13.1):
|
|
|
|
```bash
|
|
yarn
|
|
```
|
|
|
|
Build packages:
|
|
|
|
```bash
|
|
yarn build
|
|
```
|
|
|
|
## Tests
|
|
|
|
* [graph-node](./packages/graph-node/README.md)
|
|
|
|
## 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
|
|
|
|
* [eden-watcher](./packages/eden-watcher/README.md)
|
|
* [erc20-watcher](./packages/erc20-watcher/README.md)
|
|
* [erc721-watcher](./packages/erc721-watcher/README.md)
|
|
* [graph-test-watcher](./packages/graph-test-watcher/README.md)
|
|
* [mobymask-watcher](./packages/mobymask-watcher/README.md)
|