-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.env.exampleV1AndV2.holesky
176 lines (117 loc) · 6.41 KB
/
.env.exampleV1AndV2.holesky
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Combined EigenDA V1 and V2 Configuration for Holesky Testnet
# === V1 Configuration ===
# Hex-encoded signer private key for V1
EIGENDA_PROXY_EIGENDA_SIGNER_PRIVATE_KEY_HEX="0000000000000000000100000000000000000000000000000000000000000000"
# JSON RPC node endpoint for the Ethereum network
EIGENDA_PROXY_EIGENDA_ETH_RPC=https://ethereum-holesky-rpc.publicnode.com
# RPC URL of the EigenDA disperser service for V1
EIGENDA_PROXY_EIGENDA_DISPERSER_RPC=disperser-testnet-holesky.eigenda.xyz:443
# The deployed EigenDA service manager address for V1
EIGENDA_PROXY_EIGENDA_SERVICE_MANAGER_ADDR=0xD4A7E1Bd8015057293f0D0A557088c286942e84b
# Custom quorum IDs for writing blobs. Should not include default quorums 0 or 1.
EIGENDA_PROXY_EIGENDA_CUSTOM_QUORUM_IDS=
# The number of Ethereum blocks of confirmation
EIGENDA_PROXY_EIGENDA_CONFIRMATION_DEPTH=6
# Disable point verification mode for V1
EIGENDA_PROXY_EIGENDA_DISABLE_POINT_VERIFICATION_MODE=false
# Disable TLS for gRPC communication with the EigenDA disperser (V1)
EIGENDA_PROXY_EIGENDA_GRPC_DISABLE_TLS=false
# Maximum blob length for V1. This value is permitted to be up to 16MiB
# This value is configured to be lower than the permitted maximum, since this configuration determines the amount of
# SRS data that will be read into memory. Reading in a large amount of SRS data can cause long startup times, and since
# you only actually need to read the amount of SRS data that corresponds to the size of the largest blob that will be
# sent, decreasing this value is a crude sort of optimization.
EIGENDA_PROXY_EIGENDA_MAX_BLOB_LENGTH=1MiB
# Blob encoding version to use when writing blobs from the high-level interface
EIGENDA_PROXY_EIGENDA_PUT_BLOB_ENCODING_VERSION=0
# Interval between retries when awaiting network blob finalization
EIGENDA_PROXY_EIGENDA_STATUS_QUERY_INTERVAL=5s
# Total time to wait for a response from the EigenDA disperser
EIGENDA_PROXY_EIGENDA_RESPONSE_TIMEOUT=10s
# Duration to wait for a blob to finalize after being sent for dispersal
EIGENDA_PROXY_EIGENDA_STATUS_QUERY_TIMEOUT=30m0s
# Number of times to retry blob dispersals for V1
EIGENDA_PROXY_EIGENDA_PUT_RETRIES=3
# === V2 Configuration ===
# Hex-encoded signer private key for payments with EigenDA disperser (V2)
EIGENDA_PROXY_EIGENDA_V2_SIGNER_PRIVATE_KEY_HEX="0000000000000000000100000000000000000000000000000000000000000000"
# JSON RPC node endpoint for the Ethereum network (V2)
EIGENDA_PROXY_EIGENDA_V2_ETH_RPC=https://ethereum-holesky-rpc.publicnode.com
# RPC endpoint of the EigenDA disperser (V2)
EIGENDA_PROXY_EIGENDA_V2_DISPERSER_RPC=disperser-testnet-holesky.eigenda.xyz:443
# Address of the EigenDACertVerifier contract for V2
EIGENDA_PROXY_EIGENDA_V2_CERT_VERIFIER_ADDR=0xFe52fE1940858DCb6e12153E2104aD0fDFbE1162
# Disable TLS for gRPC communication with the EigenDA disperser and retrieval subnet (V2)
EIGENDA_PROXY_EIGENDA_V2_GRPC_DISABLE_TLS=false
# Disable IFFT transformation during payload encoding (V2)
EIGENDA_PROXY_EIGENDA_V2_DISABLE_POINT_EVALUATION=false
# Number of times to retry blob dispersals for V2
EIGENDA_PROXY_EIGENDA_V2_PUT_RETRIES=3
# Maximum amount of time to wait for a blob to disperse against v2 protocol
EIGENDA_PROXY_EIGENDA_V2_DISPERSE_BLOB_TIMEOUT=2m
# Maximum amount of time to wait for blob certification against the on-chain EigenDACertVerifier
EIGENDA_PROXY_EIGENDA_V2_CERTIFY_BLOB_TIMEOUT=2m
# Duration to query for blob status updates during dispersal
EIGENDA_PROXY_EIGENDA_V2_BLOB_STATUS_POLL_INTERVAL=1s
# Timeout used when performing smart contract call operation (i.e, eth_call)
EIGENDA_PROXY_EIGENDA_V2_CONTRACT_CALL_TIMEOUT=5s
# Timeout used when querying an individual relay for blob contents
EIGENDA_PROXY_EIGENDA_V2_RELAY_TIMEOUT=5s
# Blob params version used when dispersing
EIGENDA_PROXY_EIGENDA_V2_BLOB_PARAMS_VERSION=0
# Maximum blob length for V2. This value is permitted to be up to 16MiB
# This value is configured to be lower than the permitted maximum, since this configuration determines the amount of
# SRS data that will be read into memory. Reading in a large amount of SRS data can cause long startup times, and since
# you only actually need to read the amount of SRS data that corresponds to the size of the largest blob that will be
# sent, decreasing this value is a crude sort of optimization.
EIGENDA_PROXY_EIGENDA_V2_MAX_BLOB_LENGTH=1MiB
# === Storage Configuration ===
EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE=V1,V2
# Target EigenDA backend version for blob dispersal (e.g. V1 or V2)
# For migration: Start with 'V1' and toggle at runtime using admin endpoints
EIGENDA_PROXY_STORAGE_DISPERSAL_BACKEND=V2
# === Server Configuration ===
# Enable administrative HTTP endpoints for runtime configuration (needed for on-the-fly migration)
# Set to "admin" to enable admin endpoints, or leave empty to disable
EIGENDA_PROXY_API_ENABLED=
# === Shared KZG Configuration ===
# Directory path to SRS tables
EIGENDA_PROXY_EIGENDA_TARGET_CACHE_PATH=resources/SRSTables
# Directory path to g1.point file
EIGENDA_PROXY_EIGENDA_TARGET_KZG_G1_PATH=resources/g1.point
# Path to g2.point file
EIGENDA_PROXY_EIGENDA_TARGET_KZG_G2_PATH=resources/g2.point
# Path to g2.trailing.point file
EIGENDA_PROXY_EIGENDA_TARGET_KZG_G2_TRAILING_PATH=resources/g2.trailing.point
# Whether to verify certificates received from EigenDA disperser
EIGENDA_PROXY_EIGENDA_CERT_VERIFICATION_DISABLED=false
# === Common Proxy Configuration ===
# Format the log output. Supported formats: 'text', 'terminal', 'logfmt', 'json', 'json-pretty'
EIGENDA_PROXY_LOG_FORMAT=text
# The lowest log level that will be output
EIGENDA_PROXY_LOG_LEVEL=INFO
# === Memstore Configuration ===
# Whether to use mem-store for DA logic
EIGENDA_PROXY_MEMSTORE_ENABLED=false
# Duration that a blob/commitment pair are allowed to live
EIGENDA_PROXY_MEMSTORE_EXPIRATION=25m0s
# === Metrics Configuration ===
# Metrics listening address
EIGENDA_PROXY_METRICS_ADDR=0.0.0.0
# Enable the metrics server
EIGENDA_PROXY_METRICS_ENABLED=false
# Metrics listening port
EIGENDA_PROXY_METRICS_PORT=7300
# === S3 Configuration (Optional) ===
# Access key id for S3 storage
EIGENDA_PROXY_S3_ACCESS_KEY_ID=
# Access key secret for S3 storage
EIGENDA_PROXY_S3_ACCESS_KEY_SECRET=
# Bucket name for S3 storage
EIGENDA_PROXY_S3_BUCKET=
# Endpoint for S3 storage
EIGENDA_PROXY_S3_ENDPOINT=
# Enable TLS connection to S3 endpoint
EIGENDA_PROXY_S3_ENABLE_TLS=false
# The way to authenticate to S3, options are [iam, static, public]
EIGENDA_PROXY_S3_CREDENTIAL_TYPE=static