forked from Forest-Protocols/provider-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
70 lines (55 loc) · 2.25 KB
/
Copy path.env.example
File metadata and controls
70 lines (55 loc) · 2.25 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
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
# Provider configuration for "main" tag. Define as many tags as you need in the same format.
# > Required
PROVIDER_PRIVATE_KEY_main=
BILLING_PRIVATE_KEY_main=
OPERATOR_PRIVATE_KEY_main=
OPERATOR_PIPE_PORT_main=29167
# Enables Gateway Provider functionality for the given tag. Only enable it if you are intended to use it as a Gateway Provider.
# > Optional, "true" or "false"
# GATEWAY_main=false
# Protocol address that will be listened for the Provider tag
# If it is not set, daemon will use the first registered Protocol for the Provider.
# > Optional (Recommended)
# PROTOCOL_ADDRESS_main=
# The RPC host used to communicate with the blockchain.
# > Required
RPC_HOST=127.0.0.1:8545
# Blockchain to operate on. "anvil" | "optimism" | "optimism-sepolia" | "base" | "base-sepolia"
# > Required
CHAIN=anvil
# The database connection string to the daemon's database
# > Required
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
# The environment mode. "dev" | "production"
# > Optional
NODE_ENV=dev
# Port number of healthcheck server
# > Optional
PORT=3000
# Rate limit for the RPC calls. If you are using a free RPC node,
# try to decrease it in order to avoid "request per second exceeded" errors
# > Optional
RATE_LIMIT=20
# Time window for RPC calls
# > Optional, Default is 1 second, other possible units are: h (hours), m (minutes)
# RATE_LIMIT_WINDOW=
# Log level of the daemon
# > Optional
LOG_LEVEL=info
# If you are running the daemon inside a container, enables colored output
# > Optional
FORCE_COLOR=true
# The time range between each cycle of active Agreement balance check.
# > Optional, Default 5 minutes, other possible units are: h (hours), s (seconds)
# AGREEMENT_BALANCE_CHECK_INTERVAL=5m
# The time range between each cycle of new and closed Agreement check
# > Optional, Default 5 seconds, other possible units are: h (hours), m (minutes)
# AGREEMENT_CHECK_INTERVAL=5s
# The Indexer service endpoint to fetch data about the Network (e.g Agreements, Offers)
# > Optional, Default https://indexer.forestai.io
# INDEXER_ENDPOINT=https://indexer.forestai.io
# Uses the given smart contract address as Forest Registry address
# > Optional
# REGISTRY_ADDRESS=0x
# The block range for fetching events from the Indexer service
# BLOCK_PROCESS_RANGE=1000