-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample_env
More file actions
153 lines (121 loc) · 4.48 KB
/
example_env
File metadata and controls
153 lines (121 loc) · 4.48 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
# RPC Keys
INFURA_API_KEY=
# Database
MONGO_URI=
# Blockchain Keys
SEED_INTERNAL_SALT=
SIGNING_KEY=
# Security PIN Configuration
SECURITY_PIN_HMAC_KEY=
SECURITY_PIN_LENGTH=6
SECURITY_PIN_MAX_FAILED_ATTEMPTS=5
SECURITY_PIN_BLOCK_MINUTES=30
SECURITY_PIN_ENABLED=false
# IPFS
PINATA_JWT=
# BOT
BOT_NOTIFICATIONS_ENABLED= true | false
BOT_API_URL=
BOT_DATA_TOKEN=
# Upload NFT image
NFT_UPLOAD_IMAGE_IPFS=
# GCP Bucket
GCP_BUCKET_BASE_URL=
# Tokens
FRONTEND_TOKEN=
CHATIZALO_TOKEN=
# Logging
MINOR_LOG_LEVEL= 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal'
# Ramp (Manteca)
MANTECA_BASE_URL='https://sandbox.manteca.dev/crypto/v1'
MANTECA_API_KEY= ''
# The Graph API
THE_GRAPH_EXTERNAL_DEPOSITS_URL='https://gateway.thegraph.com/api/subgraphs/id/....some_id....'
THE_GRAPH_API_KEY=''
# Dev Stuffs
GCP_CLOUD_TRACE_ENABLED=true | false
# Security
CORS_ORIGINS='*'
CORS_ORIGINS_CHECK_POSTMAN=true | false
BLACKLIST_IPS=''
MAX_REQUESTS_PER_MINUTE=50
# Network
DEFAULT_CHAIN_ID=534351
# Swap
SWAP_SLIPPAGE_CONFIG_STABLE=300
SWAP_SLIPPAGE_CONFIG_DEFAULT=500
SWAP_SLIPPAGE_CONFIG_EXTRA=300
SWAP_ZERO_FEE_MODE=false | true
SWAP_EXECUTE_SIMPLE=false | true
SWAP_USE_QUOTER=false | true
# Contracts
ABIS_VERSION=v1.0.0 | v1.0.1 | v2.0.0
ABIS_READ_FROM='local' | 'gcp'
# Chatizalo
CHATIZALO_PHONE_NUMBER=
# Queue Configuration
QUEUE_BUNDLER_INTERVAL=5000
QUEUE_GAS_INTERVAL=5000
QUEUE_CREATE_PROXY_INTERVAL=5000
# Issuer Tokens in Sandbox Env
ISSUER_TOKENS_ENABLED=true | false
# Chatterpoints
CHATTERPOINTS_WORDS_SEED=''
CHATTERPOINTS_WORDS_READ_FROM='local' | 'gcp'
# custom data
CDS1=
CDS2=
CDS3=
CDO1=
CDO2=
CDO3=
CDO4=
CDP1=
CDP2=
# telegram bot
TELEGRAM_BOT_API_KEY=''
# Selects which provider is used to fetch and process external deposits.
# - 'alchemy': uses local collection `external_deposits` populated by Alchemy webhooks.
# - 'thegraph': uses The Graph subgraph API for historical analytics.
EXTERNAL_DEPOSITS_PROVIDER='alchemy' | 'thegraph'
# Authentication token for the Alchemy Admin API (used to manage webhook variables).
# Generated from the Alchemy Dashboard → Account Settings → API Keys.
# Used only for outgoing API calls (not for webhook validation).
ALCHEMY_AUTH_TOKEN=''
# Signing key used to verify the HMAC signature (header `x-alchemy-signature`)
# included in every webhook sent by Alchemy. Ensures payload integrity and prevents spoofed events.
ALCHEMY_SIGNING_KEY=''
# Static header key (`x-api-key`) sent by Alchemy in webhook requests.
# IMPORTANT:
# - This value is not derived from AUTH_TOKEN or SIGNING_KEY.
# - It is a random identifier generated by Alchemy when the webhook is created.
# - The only way to obtain it is by inspecting an actual webhook request.
# - It may change if the webhook is deleted or recreated.
# Validation of this header is optional; most setups rely only on HMAC validation.
ALCHEMY_WEBHOOK_HEADER_API_KEY=''
# These three variables correspond to *Alchemy Dashboard Variable IDs* used by your webhook.
# They are created automatically when a webhook is configured in Alchemy.
# Each variable stores dynamic values (wallets, tokens, topics) that can be updated
# programmatically from your backend through the Alchemy Admin API.
# The IDs themselves are static (they do not change unless the webhook is recreated).
# → ALCHEMY_VAR_WALLETS_ID: variable holding the list of wallet addresses to monitor.
ALCHEMY_VAR_WALLETS_ID=''
# → ALCHEMY_VAR_WALLETS_TOPIC_ID: variable that references the wallet-topic binding used by the webhook.
ALCHEMY_VAR_WALLETS_TOPIC_ID=''
# → ALCHEMY_VAR_TOKENS_ID: variable holding the list of token contract addresses to monitor.
ALCHEMY_VAR_TOKENS_ID=''
# Enables or disables the validation of the x-api-key header (ALCHEMY_WEBHOOK_HEADER_API_KEY)
# when processing webhook requests.
# - Set to 'false' for free plan setups, since the value must be captured manually and may change if recreated.
# - Set to 'true' in production or paid plans for stricter validation.
ALCHEMY_VALIDATE_WEBHOOK_HEADER_API_KEY='false' | 'true'
# LIFI/Jumper API
# Set USE_LIFI='true' to use LIFI/Jumper API for cross-chain transfers and swaps and fallback to Uniswap fork.
# Set USE_LIFI='false' to disable cross-chain transfers and only use uniswap fork swap implementation.
# LIFI_INTEGRATOR_FEE and LIFI_DEFAULT_SLIPPAGE are fractional values (0-1), not percentages.
# - Example: 0.0025 = 0.25% fee, 0.005 = 0.5% slippage.
LIFI_API_BASE_URL='https://li.quest/v1'
LIFI_INTEGRATOR_KEY='IntegratorKey'
LIFI_INTEGRATOR_FEE='0.0025'
LIFI_DEFAULT_SLIPPAGE='0.005'
USE_LIFI='true'