-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (30 loc) · 1.07 KB
/
.env.example
File metadata and controls
39 lines (30 loc) · 1.07 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
37
38
39
# Token with channels:read and chat:write permissions
SLACK_TOKEN=
# Slack Channel to send a message
SLACK_CHANNEL=
# self-contained slack webhook, doesn't required SLACK_TOKEN & SLACK_CHANNEL if SLACK_WEBHOOK_URL is created
SLACK_WEBHOOK_URL=
# Providers URLs
MAINNET_RPC_URL=https://rpc.ankr.com/eth
GNOSIS_RPC_URL=https://rpc.ankr.com/gnosis
# Envio Indexer URL
ENVIO_INDEXER_URL=
## Validator balance
# true= only track validator balance on Gnosis Chain
IS_VALIDATOR_BALANCE_ON_GC=true
MIN_XDAI_BALANCE_THRESHOLD=1 # 1xdai
MIN_ETH_BALANCE_THRESHOLD=0 # set to 0 because the validator doesn't require balance to claim on Ethereum
## Inactive validator
# max hrs to consider a validator inactive (not calling on chain function)
INACTIVITY_THRESHOLD_HOURS=12
## Stucked tx
# max hrs after first initiated a tx but still at 'COLLECTING' status
TRANSACTION_TIMEOUT_HOURS=1
# Scheduler Configuration
SCHEDULE_ENABLED=true
SCHEDULE_CRON=*/15 * * * *
RUN_ONCE_ON_START=true
# Alert State Management
ALERT_STATE_FILE=./data/stuck-tx-alerts.json
ALERT_CLEANUP_HOURS=48
NODE_ENV=PROD # or DEV