forked from vegaprotocol/ethereum-event-forwarder
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathexample-config.toml
38 lines (31 loc) · 1.34 KB
/
example-config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
log_level = 'info' # error, info, debug, trace, silent
[event_queue]
# Use '0.0.0.0' to bind to all IPv4, '::' to bind to all IPv6 and IPv4
healthcheck_iface = '127.0.0.1'
# Remember to expose this port from Docker also
healthcheck_port = 3001
# Path to keep persistent state
datadir = '/data'
# Path to read secret key from. If this doesn't exist, one will be
# written here on initial start and the public key written to the logs
secretkey_path = '/secret.key'
[ethereum]
# Example, replace before running
http_endpoint = "https://ropsten.infura.io/v3/API_TOKEN"
# Number of confirmations before forwarding an event
confirmations = 40
# Address and height at which to accept events from the ERC20Bridge contract
[ethereum.erc20_bridge]
# Use either the contract deployment height or `-1` for the current block
# height at initial start
start_height = 10817792
address = "0x898b9F9f9Cab971d9Ceb809F93799109Abbe2D10"
# Addresses and height at which to accept events from the Staking contract
[ethereum.staking]
# Use either the contract deployment height or `-1` for the current block
# height at initial start
start_height = 10824755
addresses = ["0xfc9Ad8fE9E0b168999Ee7547797BC39D55d607AA"]
[vega]
# Example, expose to the docker container and replace this
grpc_endpoint = "127.0.0.1:3002"