forked from safe-global/safe-client-gateway
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.sample
More file actions
258 lines (220 loc) · 8.5 KB
/
.env.sample
File metadata and controls
258 lines (220 loc) · 8.5 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
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# Token prices Provider API
# The base Prices Provider API to be used.
# NOTE: For production usage, a paid subscription is recommended.
# (default is https://api.coingecko.com/api/v3 if none is set)
# (Pro account base url is https://pro-api.coingecko.com/api/v3)
# PRICES_PROVIDER_API_BASE_URI=
# The API Key to be used. If none is set, rate limits on the provider side would apply.
# PRICES_PROVIDER_API_KEY=
# The cache TTL for each token price datapoint.
# PRICES_TTL_SECONDS=
# The cache TTL for a missing token price.
# (default is 259200 [72 hours])
# NOT_FOUND_PRICE_TTL_SECONDS=
# Token addresses whose prices should be refresed more often (with HIGH_REFRESH_RATE_TOKENS_TTL_SECONDS TTL).
# (default is [])
# HIGH_REFRESH_RATE_TOKENS=
# The cache TTL for high-refresh-rate token addresses.
# (default is 30)
# HIGH_REFRESH_RATE_TOKENS_TTL_SECONDS=
# The cache TTL for native coins.
# (default is 100)
# NATIVE_COINS_PRICES_TTL_SECONDS=
# RPC Provider
# The RPC provider to be used.
# INFURA_API_KEY=
# Blocklist Encryption
# The encrypted blocklist data
# This contains the list of blocked addresses in encrypted format
# BLOCKLIST_ENCRYPTED_DATA=
# The secret key for decrypting the blocked addresses list
# BLOCKLIST_SECRET_KEY=
# The salt used for key derivation during encryption/decryption
# Use a unique salt per environment
# BLOCKLIST_SECRET_SALT=
# Balances Provider - Zerion API
# Enable Zerion balances provider for all chains
# Set to any value to enable (e.g., 'true'), unset or empty to disable
# For backwards compatibility, FF_ZERION_BALANCES_CHAIN_IDS is also supported
# (default: disabled)
# FF_ZERION_ENABLED=
# The base Zerion API URL to be used.
# (default is https://api.zerion.io if none is set)
# ZERION_BASE_URI=
# The API Key to be used. If none is set, balances cannot be retrieved using this provider.
# The key should be base64 encoded with a `:` appended. Detailed instructions are provided at https://developers.zerion.io/reference/authentication
# ZERION_API_KEY=
# Disables Zerion Positions feature
# FF_ZERION_POSITIONS_DISABLED=
# Push Notifications Provider - Firebase Cloud Messaging
# Firebase API URL
# (default=https://fcm.googleapis.com/v1/projects)
# PUSH_NOTIFICATIONS_API_BASE_URI=
# Firebase project
# PUSH_NOTIFICATIONS_API_PROJECT=
# Firebase service account details for authenticating with Google
# PUSH_NOTIFICATIONS_API_SERVICE_ACCOUNT_CLIENT_EMAIL=
# PUSH_NOTIFICATIONS_API_SERVICE_ACCOUNT_PRIVATE_KEY=
# Relay Provider
# The relay provider to be used.
# (default='https://api.gelato.digital')
# RELAY_PROVIDER_API_BASE_URI=
# (default=5)
# RELAY_THROTTLE_LIMIT=
# The API key to be used per chain.
# RELAY_PROVIDER_API_KEY_OPTIMISM=
# RELAY_PROVIDER_API_KEY_BSC=
# RELAY_PROVIDER_API_KEY_GNOSIS_CHAIN=
# RELAY_PROVIDER_API_KEY_POLYGON=
# RELAY_PROVIDER_API_KEY_POLYGON_ZKEVM=
# RELAY_PROVIDER_API_KEY_BASE=
# RELAY_PROVIDER_API_KEY_ARBITRUM_ONE=
# RELAY_PROVIDER_API_KEY_AVALANCHE=
# RELAY_PROVIDER_API_KEY_LINEA=
# RELAY_PROVIDER_API_KEY_BLAST=
# RELAY_PROVIDER_API_KEY_UNICHAIN=
# RELAY_PROVIDER_API_KEY_SEPOLIA=
# The chain ids to apply daily limit relayer feature (comma-separated chainIds).
# RELAY_DAILY_LIMIT_CHAIN_IDS=11155111
# No-fee duration based on token balance configuration
# If value is zero address, it means native token.
# RELAY_NO_FEE_CAMPAIGN_SEPOLIA_SAFE_TOKEN_ADDRESS=
# RELAY_NO_FEE_CAMPAIGN_SEPOLIA_START_TIMESTAMP=
# RELAY_NO_FEE_CAMPAIGN_SEPOLIA_END_TIMESTAMP=
# RELAY_NO_FEE_CAMPAIGN_SEPOLIA_MAX_GAS_LIMIT=
# RELAY_NO_FEE_CAMPAIGN_SEPOLIA_RELAY_RULES=[{"balanceMin":"0", "balanceMax": "0","limit":0}]
# If value is zero address, it means native token.
# RELAY_NO_FEE_CAMPAIGN_MAINNET_SAFE_TOKEN_ADDRESS=
# RELAY_NO_FEE_CAMPAIGN_MAINNET_START_TIMESTAMP=
# RELAY_NO_FEE_CAMPAIGN_MAINNET_END_TIMESTAMP=
# RELAY_NO_FEE_CAMPAIGN_MAINNET_MAX_GAS_LIMIT=
# RELAY_NO_FEE_CAMPAIGN_MAINNET_RELAY_RULES=[{"balanceMin":"0", "balanceMax": "0","limit":0}]
# Email-sending API
# The application code associated with this service, provided by the email-sending service.
# EMAIL_API_APPLICATION_CODE=
# The API Key to be used.
# EMAIL_API_KEY=
# The email address to be included in the 'from' section of the emails sent.
# EMAIL_API_FROM_EMAIL=
# The email template reference for an unknown recovery transaction notification.
# EMAIL_TEMPLATE_UNKNOWN_RECOVERY_TX=
# The email template reference for a recovery transaction notification.
# EMAIL_TEMPLATE_RECOVERY_TX=
# The email template reference for a verification code sent.
# EMAIL_TEMPLATE_VERIFICATION_CODE=
# The sender name to be included in the 'from' section of the emails sent.
# (default is 'Safe' if none is set)
# EMAIL_API_FROM_NAME=
# The Email Provider API base URL to be used.
# (default is https://api.pushwoosh.com if none is set)
# EMAIL_API_BASE_URI=
# The base url for the Safe Config Service
# Default if none is set: https://safe-config.safe.global
# SAFE_CONFIG_BASE_URI=https://safe-config.safe.global
# The base url for the Safe Locking Service
# Default if none is set: https://safe-locking.safe.global
# LOCKING_PROVIDER_API_BASE_URI=https://safe-locking.safe.global
# Transaction Service API Key (optional, but recommended for local development)
# Set this to avoid rate limiting when running CGW locally with public Tx Service
# Generate keys at: https://developer.5afe.dev/api-keys (staging) or https://developer.safe.global/api-keys (prod)
# TX_SERVICE_API_KEY=dummy
# Redis
# The host name of where the Redis instance is running
# (default=localhost)
# REDIS_HOST=
# The default port of where the Redis instance is running
# (default=6379)
# REDIS_PORT=
# The username of the redis server
# REDIS_USER=
# The password of the redis server
# REDIS_PASS=
# Cache Expiration Times
# The default cache expiration time in seconds if none is set
# (default=60)
# EXPIRATION_TIME_DEFAULT_SECONDS
# The default cache expiration time in seconds for not found errors (default=30)
# DEFAULT_NOT_FOUND_EXPIRE_TIME_SECONDS
# The cache expiration time in seconds for not found contracts errors (default=60)
# CONTRACT_NOT_FOUND_EXPIRE_TIME_SECONDS
# The cache expiration time in seconds for not found tokens errors (default=60)
# TOKEN_NOT_FOUND_EXPIRE_TIME_SECONDS
# The cache expiration time in seconds for defi positions
# EXPIRATION_TIME_POSITIONS_SECONDS
# RabbitMQ / AMQP Queue
# The AMQP server URL
# AMQP_URL=
# The AMQP Exchange name
# AMQP_EXCHANGE_NAME=
# The AMQP queue name
# AMQP_QUEUE=
# The AMQP Exchange mode
# (default=fanout)
# AMQP_EXCHANGE_MODE=
# The message prefetch amount (max non-acknowledged messages being processed)
# (default=100)
# AMQP_PREFETCH=
# The AMQP heartbeat interval in seconds
# (default=60)
# AMQP_HEARBEAT_INTERVAL_SECONDS=
# The AMQP reconnect time in seconds
# (default=5)
# AMQP_RECONNECT_TIME_SECONDS=
# Authorization token to use privileged endpoints.
# The AUTH_TOKEN should always be set
# AUTH_TOKEN=
# The issuer and secret used to sign and verify JWTs.
# The JWT_ISSUER and JWT_SECRET should always be set
# JWT_ISSUER=
# JWT_SECRET=
# Log level for the service.
# LOG_LEVEL=
# Make logs prrety and colorize
# LOG_PRETTY_COLORIZE=
# Targeted Messaging
# TARGETED_MESSAGING_FILE_STORAGE_TYPE=
# Community
# FINGERPRINT_ENCRYPTION_KEY=
# Staking
# STAKING_TESTNET_API_BASE_URI=
# STAKING_TESTNET_API_KEY=
# STAKING_API_BASE_URI=
# STAKING_API_KEY=
# Targeted Messaging
# TARGETED_MESSAGING_FILE_STORAGE_TYPE=
# CSV Export
# CSV_EXPORT_FILE_STORAGE_TYPE=
# The TTL for a signed S3 URL upload.
# (default is 36000 [1 hour])
# CSV_EXPORT_SIGNED_URL_TTL_SECONDS=
# CSV_AWS_ACCESS_KEY_ID=dummy
# CSV_AWS_SECRET_ACCESS_KEY=dummy
# Database
# The ORM query cache status
# (value: true/false)
# (default=false)
# ORM_CACHE_ENABLED=
#BRIDGE_API_KEY=
# CORS
# Enable CORS headers from the API by setting to true (default disabled)
# ALLOW_CORS=false
# Safe Shield
# Blockaid
# BLOCKAID_CLIENT_API_KEY=dummy
# Circuit Breaker Configuration
# Number of failures before the circuit opens
# CIRCUIT_BREAKER_FAILURE_THRESHOLD=
# Number of consecutive successes required to close the circuit from half-open state
# CIRCUIT_BREAKER_SUCCESS_THRESHOLD=
# Time in milliseconds to wait before attempting to close the circuit (timeout period)
# CIRCUIT_BREAKER_TIMEOUT=
# Time window in milliseconds for tracking failures
# CIRCUIT_BREAKER_ROLLING_WINDOW=
# Maximum number of requests allowed in half-open state
# CIRCUIT_BREAKER_HALF_OPEN_MAX_REQUESTS=
# Etherscan API
# ETHERSCAN_BASE_URI=https://api.etherscan.io/v2/api
# Etherscan API key (optional - works without but rate-limited)
# ETHERSCAN_API_KEY=
# Gas price cache TTL in seconds (default=10)
# ETHERSCAN_GAS_PRICE_CACHE_TTL_SECONDS=10