-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (27 loc) · 1.59 KB
/
Copy path.env.example
File metadata and controls
36 lines (27 loc) · 1.59 KB
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
# [REQUIRED] Port for the http server to listen on
HTTP_PORT=3001
# [REQUIRED] Environment to run on (the corresponding `./configs/chains.${ENVIRONMENT}.json` file will be chosen)
ENVIRONMENT=mainnets.dev
# [REQUIRED] The ecdsa private key for signing messages
ECDSA_PRIVATE_KEY=0x
# [REQUIRED for mainnets.prod / mainnets.stag] RPC endpoint for the Relay hub chain.
# The hub RPC is no longer baked into the bundled config; supply it here.
# The public hub RPC works out of the box, or point it at your own provider.
RELAY_RPC_URL=https://rpc.chain.relay.link/rpc
# [OPTIONAL] Monitor live RelayAllocator events and prepare attestations.
ALLOCATOR_EVENT_ATTESTATION=false
RELAY_WS_URL=wss://rpc.chain.relay.link/ws
# [REQUIRED for withdraw gas-payment authorization] WithdrawGasPayer deployed on the Relay hub chain.
WITHDRAW_GAS_PAYER_ADDRESS=0x
# [OPTIONAL] List of API keys per integrator to be passed to all API calls
API_KEYS="apiKey1:integrator1;apiKey2:integrator2"
# [OPTIONAL] Unauthenticated request rate limit
UNAUTHENTICATED_RATE_LIMIT_MAX=2
UNAUTHENTICATED_RATE_LIMIT_WINDOW_MS=1000
# [OPTIONAL] Peer oracles used to collect multisignature attestations.
PEERS="https://peer-one.example.com|peer-api-key;https://peer-two.example.com|peer-api-key"
PEER_REQUEST_TIMEOUT_MS=10000
# [OPTIONAL] Unique oracle signer allowlist and total signature threshold.
# ORACLE_SIGNERS_THRESHOLD defaults to 1 and must not exceed the allowlist size.
ORACLE_SIGNERS="0x1111111111111111111111111111111111111111;0x2222222222222222222222222222222222222222;0x3333333333333333333333333333333333333333"
ORACLE_SIGNERS_THRESHOLD=2