forked from MetaMask/metamask-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.js.env.example
More file actions
236 lines (189 loc) · 8.92 KB
/
Copy path.js.env.example
File metadata and controls
236 lines (189 loc) · 8.92 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
# NOTE: External contributors only - create account at https://developer.metamask.io,
# generate API key, add API key to MM_INFURA_PROJECT_ID below, then rename this file to ".js.env" and rebuild the app.
# Internal contributors: get .js.env file from 1Password.
export MM_INFURA_PROJECT_ID="null"
# MetaMask Fox Code
# Used as cryptographic salt automatically by app for encryption and transaction identification
# Internal contributors: get real value from 1Password and add to .js.env if needed
# External contributors: leave as "EXAMPLE_FOX_CODE"
export MM_FOX_CODE="EXAMPLE_FOX_CODE"
export IGNORE_BOXLOGS_DEVELOPMENT="false"
# Sentry.init dsn value
export MM_SENTRY_DSN=""
# Sentry.init debug option is set to true in dev environments by default. Set this to "false" to turn it off
export SENTRY_DEBUG_DEV="false"
# Determines if Sentry will auto upload source maps and debug files. Disabled by default
export SENTRY_DISABLE_AUTO_UPLOAD="true"
# ENV vars for e2e tests
# Only enable it for e2e tests
export HAS_TEST_OVERRIDES="false"
# Seedless + OAuthLoginHandlers Metro mocks: on when HAS_TEST_OVERRIDES OR E2E_MOCK_OAUTH=true at bundle time.
# defined as secrets to run on CI
# but have to be defined here for local tests
export MM_TEST_ACCOUNT_SRP=""
export MM_TEST_ACCOUNT_PRIVATE_KEY=""
export MM_STAKE_TEST_ACCOUNT_PRIVATE_KEY=""
export BROWSERSTACK_LOCAL=""
export BROWSERSTACK_USERNAME=""
export BROWSERSTACK_ACCESS_KEY=""
# address is the address of the first account generated from the previous SRP
export MM_TEST_ACCOUNT_ADDRESS=""
# Wallet connect project id -- should be v2 compatible
export WALLET_CONNECT_PROJECT_ID=""
# Optional: SDK Remote Communication url (for testing with your local socket server)
# export SDK_COMMLAYER_URL="http://{YOUR_LOCAL_IP}
# Default PORT for metro
export WATCHER_PORT=8081
# Expo Project ID for OTA updates
export EXPO_PROJECT_ID=""
# Environment: "production", "pre-release" or "dev"
export METAMASK_ENVIRONMENT="dev"
# Build type: "main" or "flask" or "beta"
export METAMASK_BUILD_TYPE="main"
# Optional: automatically unlock an existing wallet after app/Metro refresh in dev.
# Only used when METAMASK_ENVIRONMENT="dev"; must match the wallet password.
# export DEV_AUTO_UNLOCK_PASSWORD=""
# Optional: enable Ramps debug dashboard bridge in __DEV__ (WebSocket + fetch instrumentation).
# See app/components/UI/Ramp/debug/README.md
# export RAMPS_DEBUG_DASHBOARD="true"
# Segment SDK proxy endpoint and write key
export SEGMENT_WRITE_KEY_DEV=""
export SEGMENT_PROXY_URL_DEV=""
export SEGMENT_DELETE_API_SOURCE_ID_QA=""
export SEGMENT_REGULATIONS_ENDPOINT_QA=""
# Optional for dev purpose: Segment flush interval in seconds
# example for 1 second flush interval
export SEGMENT_FLUSH_INTERVAL="1"
# example for flush when 1 event is queued
export SEGMENT_FLUSH_EVENT_LIMIT="1"
# URL of the decoding API used to provide additional data from signature requests
export DECODING_API_URL: 'https://signature-insights.api.cx.metamask.io/v1'
# URL of security alerts API used to validate dApp requests.
export SECURITY_ALERTS_API_URL="https://security-alerts.api.cx.metamask.io"
# Temporary mechanism to enable security alerts API prior to release.
export MM_SECURITY_ALERTS_API_ENABLED="true"
# Firebase
export GOOGLE_SERVICES_B64_ANDROID=""
export GOOGLE_SERVICES_B64_IOS=""
# Notifications Feature Announcements
# These are Contentful variables used to fetch feature announcements
export FEATURES_ANNOUNCEMENTS_ACCESS_TOKEN=
export FEATURES_ANNOUNCEMENTS_SPACE_ID=
# Enables the Settings Page - Developer Options
export MM_ENABLE_SETTINGS_PAGE_DEV_OPTIONS="true"
# Include sample feature in builds (development only)
# This feature uses code fencing and is completely removed from production builds
export INCLUDE_SAMPLE_FEATURE="false"
# Sample Feature Counter - Local override for testing
# Set to "true" to enable the counter pane in SampleFeature
export MM_SAMPLE_FEATURE_COUNTER_ENABLED="true"
# The endpoint used to submit errors and tracing data to Sentry for dev environment.
# export MM_SENTRY_DSN_DEV=
# Earn Variables
## Stablecoin Lending
export MM_STABLECOIN_LENDING_UI_ENABLED="true"
## Merkl Campaign Claiming (rewards claiming for eligible tokens)
export MM_EARN_MERKL_CAMPAIGN_CLAIMING="true"
export MM_STABLE_COIN_SERVICE_INTERRUPTION_BANNER_ENABLED="true"
## Pooled-Staking
export MM_POOLED_STAKING_ENABLED="true"
export MM_POOLED_STAKING_SERVICE_INTERRUPTION_BANNER_ENABLED="true"
# mUSD
export MM_MUSD_CONVERSION_FLOW_ENABLED="false"
# See app/components/UI/Earn/docs/wildcard-token-list.md for more information.
export MM_MUSD_CONVERTIBLE_TOKENS_BLOCKLIST=''
export MM_MUSD_CONVERTIBLE_TOKENS_ALLOWLIST=''
# Example: MM_MUSD_CTA_TOKENS='{"0x1":["USDC","USDT"],"0xa4b1":["USDC","DAI"]}'
export MM_MUSD_CTA_TOKENS=''
## mUSD Conversion CTAs
# CTA displayed at the top of the asset list (Buy/Get mUSD)
export MM_MUSD_CTA_ENABLED="false"
# CTA displayed in the asset overview screen
export MM_MUSD_CONVERSION_ASSET_OVERVIEW_CTA="false"
# CTA displayed in token list item ("Convert to mUSD")
export MM_MUSD_CONVERSION_TOKEN_LIST_ITEM_CTA="false"
export MM_MUSD_CONVERSION_REWARDS_UI_ENABLED="false"
# Geo-blocked countries for mUSD conversion (comma-separated ISO 3166-1 alpha-2 codes)
# LaunchDarkly takes precedence; this is a fallback. Default blocks UK.
export MM_MUSD_CONVERSION_GEO_BLOCKED_COUNTRIES="GB"
export MM_MUSD_CONVERSION_MIN_ASSET_BALANCE_REQUIRED="0.01"
# Money Hub
export MM_MONEY_HUB_ENABLED="false"
export MM_MONEY_PAYMENT_TOKENS_BLOCKLIST=""
export MM_MONEY_DEPOSIT_NO_FEE_TOKENS=""
export MM_MONEY_DEPOSIT_MIN_ASSET_BALANCE="0.01"
# Activates remote feature flag override mode.
# Remote feature flag values won't be updated,
# and selectors should return their fallback values
export OVERRIDE_REMOTE_FEATURE_FLAGS="false"
#Bridge flag to toggle between dev and prod API
export BRIDGE_USE_DEV_APIS="false"
# Point AuthenticationController + every JWT-consuming service at non-prod
# backends. One of: dev | prod (default: prod). Local dev only.
export MM_DEV_API_ENV="prod"
# Set ramps environment to staging.
# This is required when developing or checking existing ramps tests locally.
export RAMP_INTERNAL_BUILD="true"
# To enable seedless onboarding ( set to true for seedless onboarding )
export SEEDLESS_ONBOARDING_ENABLED='false'
# Mock OAuth for performance tests on BrowserStack
export E2E_MOCK_OAUTH='false'
export E2E_BYOA_AUTH_SECRET=''
export E2E_MOCK_OAUTH_EMAIL=''
# Enable send re-designs locally
export MM_SEND_REDESIGN_ENABLED="true"
# Preinstalled Snaps
export FORCE_PREINSTALLED_SNAPS="false"
# Enable multichain accounts (BIP-44 project)
export MM_ENABLE_MULTICHAIN_ACCOUNTS_STATE_2="true"
# Enable why-did-you-render tool for tracking re renders: https://github.com/welldone-software/why-did-you-render
export ENABLE_WHY_DID_YOU_RENDER="false"
# Rewards API URL
export REWARDS_API_URL=""
## Advanced Charts (TradingView charting library CDN)
# Production: CloudFront distribution URL (trailing slash required)
# Development: local http-server, e.g. http://localhost:8000/
# Leave empty to use the default S3 origin fallback
export MM_CHARTING_LIBRARY_URL=""
## Perps
export MM_PERPS_ENABLED="true"
## Predict Withdrawal
export MM_PERPS_SERVICE_INTERRUPTION_BANNER_ENABLED="false"
export MM_PERPS_BLOCKED_REGIONS="US,CA-ON,GB,BE"
export MM_PERPS_GTM_MODAL_ENABLED="true"
export MM_PERPS_ORDER_BOOK_ENABLED="true"
export MM_PERPS_FEEDBACK_ENABLED="true"
export MM_PERPS_MYX_PROVIDER_ENABLED="true"
export MM_PERPS_MYX_APP_ID_TESTNET=""
export MM_PERPS_MYX_API_SECRET_TESTNET=""
export MM_PERPS_MYX_BROKER_ADDRESS_TESTNET=""
export MM_PERPS_MYX_APP_ID_MAINNET=""
export MM_PERPS_MYX_API_SECRET_MAINNET=""
export MM_PERPS_MYX_BROKER_ADDRESS_MAINNET=""
# HyperLiquid builder fee wallet addresses (empty = uses hardcoded defaults)
export MM_PERPS_HL_BUILDER_ADDRESS_TESTNET=""
export MM_PERPS_HL_BUILDER_ADDRESS_MAINNET=""
# HIP-3 Feature Flags (remote override with local fallback)
export MM_PERPS_HIP3_ENABLED="true"
export MM_PERPS_HIP3_ALLOWLIST_MARKETS="" # Allowlist: Empty = enable all markets. Examples: "xyz:XYZ100,xyz:TSLA" or "xyz:*,abc:TSLA"
export MM_PERPS_HIP3_BLOCKLIST_MARKETS="" # Blocklist: Empty = no blocking. Examples: "BTC,ETH" or "xyz:*"
# Pay-with token allowlist: comma-separated "chainId.address". When set, only these assets appear in pay-with modal (env overrides remote flag).
export MM_PERPS_PAY_WITH_ANY_TOKEN_ALLOWLIST_ASSETS=""
## Predict
export MM_PREDICT_ENABLED="true"
## Card
export MM_CARD_BAANX_API_CLIENT_KEY_DEV=""
## PNA25 (Privacy Notice)
export MM_EXTENSION_UX_PNA25=""
## Metro
export METRO_RESET_CACHE="true"
## Braze
export MM_BRAZE_SDK_ENDPOINT=sdk.iad-07.braze.com
export MM_BRAZE_API_KEY_IOS=
export MM_BRAZE_API_KEY_ANDROID=
## Hardware Wallet Redesign
export MM_HARDWARE_WALLET_ONBOARDING_REDESIGN=
## Pure-black design-tokens preview
# Set to "true" to render dark mode against the DS pure-black preview tokens
# Audit tool for the pure-black migration — does not ship the preview package
export MM_PURE_BLACK_PREVIEW="false"