mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
4f8f1d8cd7
* Remove fields no longer present in schema. * Refactor code to work with log_cids change in eth-server. * Refactor process event to save events from logs. * Use constants for erc20 event names. * Implement watch blocks in erc20-watcher similar to uni-watcher. * Moved common methods to util. * Implement eventsInRange query in erc20-watcher. * Filter unknown event in database query. * Change dependencies version to be same in all packages. Co-authored-by: nabarun <nabarun@deepstacksoft.com>
31 lines
694 B
TOML
31 lines
694 B
TOML
[server]
|
|
host = "127.0.0.1"
|
|
port = 3001
|
|
mode = "eth_call"
|
|
|
|
[database]
|
|
type = "postgres"
|
|
host = "localhost"
|
|
port = 5432
|
|
database = "erc20-watcher"
|
|
username = "postgres"
|
|
password = "postgres"
|
|
synchronize = true
|
|
logging = false
|
|
|
|
[upstream]
|
|
[upstream.ethServer]
|
|
gqlApiEndpoint = "http://127.0.0.1:8082/graphql"
|
|
gqlPostgraphileEndpoint = "http://127.0.0.1:5000/graphql"
|
|
rpcProviderEndpoint = "http://127.0.0.1:8081"
|
|
|
|
[upstream.cache]
|
|
name = "requests"
|
|
enabled = false
|
|
deleteOnStart = false
|
|
|
|
[jobQueue]
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/erc20-watcher-job-queue"
|
|
maxCompletionLagInSecs = 300
|
|
jobDelayInMilliSecs = 100
|