mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-20 04:46:20 +00:00
c677e5942c
* Implement eth_call for ERC20 totalSupply. * Use eth_call for erc20-watcher. * Implement fallback for ERC20 symbol method call. * Implement fallback for ERC20 name and totalSupply. * implement fallback for erc20 decimals method. * Lint fixes. Co-authored-by: nabarun <nabarun@deepstacksoft.com>
35 lines
785 B
TOML
35 lines
785 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
|
|
|
|
entities = [ "src/entity/**/*.ts" ]
|
|
migrations = [ "src/migration/**/*.ts" ]
|
|
subscribers = [ "src/subscriber/**/*.ts" ]
|
|
|
|
[database.cli]
|
|
entitiesDir = "src/entity"
|
|
migrationsDir = "src/migration"
|
|
subscribersDir = "src/subscriber"
|
|
|
|
[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:8545"
|
|
|
|
[upstream.cache]
|
|
name = "requests"
|
|
enabled = false
|
|
deleteOnStart = false
|