watcher-ts/packages/watcher/environments/local.toml
Ashwin Phatak 7213a1dc6d
Lazy ERC20 watcher (#11)
* Storage mapping utils.

* Resolver factories.

* Get ERC20 balance from upstream ipld-eth-server slot.

* Get ERC20 allowance from storage slot.

* Parse ERC20 events from block events.

* Cache GQL requests in leveldb.

* Refactor fetch/cache from upstream into eth-loader class.

* Refactoring.

* Refactor eth-client, extract cache class.

* Cache config settings.

* Debug logs.

* Rename server to watcher.

* Start local server by default.

* Split into multiple packages.

* eth-client API methods.

* Update docs.
2021-05-28 16:56:40 +05:30

13 lines
192 B
TOML

[server]
host = "127.0.0.1"
port = 3001
[upstream]
gqlEndpoint = "http://127.0.0.1:8083/graphql"
[upstream.cache]
name = "requests"
enabled = true
deleteOnStart = false