web3-proxy/config/example.toml

28 lines
642 B
TOML
Raw Normal View History

2022-05-12 21:49:57 +03:00
[shared]
chain_id = 1
2022-05-22 21:39:06 +03:00
# in prod, do `rate_limit_redis = "redis://redis:6379/"`
rate_limit_redis = "redis://dev-redis:6379/"
2022-05-12 21:49:57 +03:00
2022-05-13 23:50:11 +03:00
[balanced_rpcs]
2022-05-06 04:40:43 +03:00
2022-05-13 23:50:11 +03:00
[balanced_rpcs.erigon_archive]
url = "http://10.11.12.16:8549"
2022-05-18 19:35:06 +03:00
# TODO: double check soft_limit on erigon
soft_limit = 100_000
[balanced_rpcs.erigon_archive_ws]
url = "ws://10.11.12.16:8549"
2022-05-12 22:58:26 +03:00
# TODO: double check soft_limit on erigon
soft_limit = 100_000
2022-05-13 23:50:11 +03:00
[balanced_rpcs.geth]
url = "http://10.11.12.16:8545"
2022-05-06 04:40:43 +03:00
soft_limit = 200_000
2022-05-22 02:34:05 +03:00
hard_limit = 1_000
2022-05-06 04:40:43 +03:00
2022-05-18 19:35:06 +03:00
[balanced_rpcs.geth_ws]
url = "ws://10.11.12.16:8546"
2022-05-18 19:35:06 +03:00
soft_limit = 200_000
2022-05-12 04:38:27 +03:00
[private_rpcs]