forked from noble-assets/noble-cctp-relayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-config.yaml
117 lines (85 loc) · 3.51 KB
/
sample-config.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
chains:
noble:
rpc: #noble RPC; for stability, use a reliable private node
chain-id: "grand-1"
start-block: 0 # set to 0 to default to latest block
lookback-period: 5 # historical blocks to look back on launch
workers: 8
tx-memo: "Relayed by Strangelove"
gas-limit: 200000
broadcast-retries: 5 # number of times to attempt the broadcast
broadcast-retry-interval: 5 # time between retries in seconds
block-queue-channel-size: 1000000 # 1000000 is a safe default, increase number if starting from a very early block
min-mint-amount: 0 # minimum transaction amount needed for relayer to broadcast the MsgReceive/burn for this chain. IE. if this chain is the destination chain
minter-private-key: # hex encoded privateKey
ethereum:
chain-id: 5
domain: 0
rpc: # Ethereum RPC
ws: # Ethereum Websocket
message-transmitter: "0x26413e8157CD32011E726065a5462e97dD4d03D9"
start-block: 0 # set to 0 to default to latest block
lookback-period: 5 # historical blocks to look back on launch
broadcast-retries: 5 # number of times to attempt the broadcast
broadcast-retry-interval: 10 # time between retries in seconds
min-mint-amount: 10000000 # (10000000 = $10) minimum transaction amount needed for relayer to broadcast the MsgReceive/burn for this chain. IE. if this chain is the destination chain
# Both metrics values are OPTIONAL and used solely for Prometheus metrics.
metrics-denom: "ETH"
# metrics-exponent is used to determine the correct denomination. Wallet balances are originally queried in Wei. To convert Wei to Eth use 18.
# Example `walletBalance*10^-18`
metrics-exponent: 18
minter-private-key: # private key
optimism:
chain-id: 10
domain: 2
rpc: ""
ws: ""
message-transmitter: "0x4d41f22c5a0e5c74090899e5a8fb597a8842b3e8"
start-block: 0
lookback-period: 0 # (2 second block time)
broadcast-retries: 5 # number of times to attempt the broadcast
broadcast-retry-interval: 10 # time between retries in seconds
min-mint-amount: 10000000
metrics-denom: "ETH"
metrics-exponent: 18
minter-private-key: ""
arbitrum:
chain-id: 42161
domain: 3
rpc: ""
ws: ""
message-transmitter: "0xC30362313FBBA5cf9163F0bb16a0e01f01A896ca"
start-block: 0
lookback-period: 0 # .26 second block time
broadcast-retries: 5 # number of times to attempt the broadcast
broadcast-retry-interval: 10 # time between retries in seconds
min-mint-amount: 10000000
metrics-denom: "ETH"
metrics-exponent: 18
minter-private-key: ""
avalanche:
chain-id: 43114
domain: 1
rpc: ""
ws: ""
message-transmitter: "0x8186359af5f57fbb40c6b14a588d2a59c0c29880"
start-block: 0
lookback-period: 600 # 30 min (3 second block time)
broadcast-retries: 5 # number of times to attempt the broadcast
broadcast-retry-interval: 10 # time between retries in seconds
min-mint-amount: 10000000
metrics-denom: "AVAX"
metrics-exponent: 18
minter-private-key: ""
# source domain id -> []destination domain id
enabled-routes:
0: [4] # ethereum -> noble
1: [4] # avalanche -> noble
2: [4] # optimism -> noble
3: [4] # arbitrum -> noble
4: [0,1,2,3] # noble -> ethereum, avalanche, optimism, arbitrum
circle:
attestation-base-url: "https://iris-api-sandbox.circle.com/attestations/"
fetch-retries: 30 # additional times to fetch an attestation
fetch-retry-interval: 3 # time between retries in seconds
processor-worker-count: 16