infra/op-ufm/example.config.toml

84 lines
2.5 KiB
TOML
Raw Normal View History

# Log level.
# Possible values: trace | debug | info | warn | error | crit
# Default: debug
log_level = "debug"
[signer_service]
# URL to the signer service
url = "http://localhost:1234"
2023-07-12 19:49:37 +03:00
tls_ca_cert = "tls/ca.crt"
tls_cert = "tls/tls.crt"
tls_key = "tls/tls.key"
[healthz]
# Whether or not to enable healthz endpoint
enabled = true
# Host for the healthz endpoint to listen on
host = "0.0.0.0"
# Port for the above.
2023-07-18 20:51:22 +03:00
port = "8080"
[metrics]
# Whether or not to enable Prometheus metrics
enabled = true
# Host for the Prometheus metrics endpoint to listen on.
host = "0.0.0.0"
# Port for the above.
2023-07-18 20:51:22 +03:00
port = "9761"
[wallets.default]
# OP Stack Chain ID
# see https://community.optimism.io/docs/useful-tools/networks/
chain_id = 420
# Signer method to use
# Possible values: signer | static
2023-07-12 22:23:41 +03:00
signer_method = "static"
# Address used to send transactions
2023-07-18 20:52:03 +03:00
address = "0x0000000000000000000000000000000000000000"
# For static signer method, the private key to use
2023-07-18 20:52:03 +03:00
private_key = "0000000000000000000000000000000000000000000000000000000000000000"
2023-07-12 19:49:37 +03:00
# Transaction value in wei
2023-07-18 20:52:03 +03:00
tx_value = 100000000000000
[providers.p1]
# URL to the RPC provider
url = "http://localhost:8551"
# Read only providers are only used to check for transactions
read_only = true
# Interval to poll the provider for expected transactions
2023-09-07 01:16:01 +03:00
read_interval = "10s"
# Interval to submit new transactions to the provider
2023-09-07 01:16:01 +03:00
send_interval = "30s"
# Interval between send transaction when we get "already known" txpool err
send_transaction_retry_interval = "100ms"
# Max time to retry
send_transaction_retry_timeout = "5s"
# Interval between each send transaction to the same network
send_transaction_cool_down = "30s"
2023-07-12 22:23:41 +03:00
# Interval between receipt retrieval
receipt_retrieval_interval = "500ms"
# Max time to check for receipt
receipt_retrieval_timeout = "2m"
[providers.p2]
2023-07-12 19:49:37 +03:00
# Uncomment to disable this provider
# disabled=true
# URL to the RPC provider
url = "http://localhost:8552"
# Read only providers are only used to check for transactions
read_only = false
# Interval to poll the provider for expected transactions
2023-09-07 01:16:01 +03:00
read_interval = "10s"
# Interval to submit new transactions to the provider
2023-09-07 01:16:01 +03:00
send_interval = "30s"
# Interval between send transaction when we get "already known" txpool err
send_transaction_retry_interval = "100ms"
# Max time to retry
send_transaction_retry_timeout = "5s"
# Interval between each send transaction to the same network
send_transaction_cool_down = "30s"
2023-07-12 22:23:41 +03:00
# Interval between receipt retrieval
receipt_retrieval_interval = "500ms"
# Max time to check for receipt
receipt_retrieval_timeout = "2m"