forked from mgamer/indexer-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
61 lines (42 loc) · 1.58 KB
/
.env.example
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
# For logging purposes
VERSION=v5
# Port to listen on
PORT=3000
# Chain id the indexer is running on
CHAIN_ID=1
# Required by all admin APIs (via the `X-Admin-Api-Key` header)
ADMIN_API_KEY=MY_KEY
# Http and WebSocket provider URLs
BASE_NETWORK_HTTP_URL=https://eth-mainnet.alchemyapi.io/v2/ALCHEMY_KEY
BASE_NETWORK_WS_URL=wss://eth-mainnet.alchemyapi.io/v2/ALCHEMY_KEY
# Postgres and Redis connection URLs
DATABASE_URL=postgresql://postgres:[email protected]:5432/postgres?schema=public
REDIS_URL=redis://redis:[email protected]:6379
# If enabled, the indexer will try to catch-up with the tip of the blockchain
CATCHUP=1
# Only one indexer instance should be the master
MASTER=1
# If enabled, the indexer will run any background jobs/processes together with serving API requests
DO_BACKGROUND_WORK=1
# If enabled, the workers will process backfill requests
DO_EVENTS_SYNC_BACKFILL=1
# When in the process of backfilling, order handling should be disabled
DISABLE_ORDERS=1
# All of the below envs are optional
# Base URL where all metadata requests should go to (if missing, the indexer will be running in liquidity-only mode)
METADATA_API_BASE_URL=
# Needed for publishing any incoming orders to Arweave
ARWEAVE_RELAYER_KEY=
# For signing TrustUs-style price messages
ORACLE_PRIVATE_KEY=
# For DataDog integration
DATADOG_AGENT_URL=
DATADOG_API_KEY=
# For posting orders to OpenSea
OPENSEA_API_KEY=
# For posting orders to LooksRare
LOOKSRARE_API_KEY=
# For filling/cancelling orders from X2Y2
X2Y2_API_KEY=
# For getting Infinity order nonce and posting orders to Infinity
INFINITY_API_KEY=