forked from MetaMask/metamask-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.metamaskrc.dist
More file actions
128 lines (104 loc) 路 5.4 KB
/
Copy path.metamaskrc.dist
File metadata and controls
128 lines (104 loc) 路 5.4 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
; Extra environment variables
; Defaults are set in builds.yml
; This variable is required
INFURA_PROJECT_ID=00000000000
; [BNES] BNESOracle for BRNKC native fiat display (CurrencyRateController).
; Default also set in builds.yml; override here only if using a different deployment.
;BNES_ORACLE_ADDRESS=0xA3e9Dc4Fd7032Db1F4e8C8e776B3a7f23a65a85E
; Keeper price history HTTP (spot percent + chart). Local: http://127.0.0.1:8787
;BNES_PRICE_API_URL=http://127.0.0.1:8787
; Optional BNS registry seed (fail-closed when empty)
;BNS_REGISTRY_ADDRESS=
; Set this to `true` to enable Seedless onboarding (Social login flow)
SEEDLESS_ONBOARDING_ENABLED='false'
; Set this to `true` to enable Metamask Shield
METAMASK_SHIELD_ENABLED='false'
; Set to `true` to include PerpsController and perps features.
; main and experimental builds have this enabled by default; beta and flask do not.
PERPS_ENABLED='true'
; Set to `true` to enable AssetsController unified state population.
; When false, AssetsController is still instantiated but state remains empty.
ASSETS_UNIFIED_STATE_ENABLED='true'
; Set this to `true` to enable Passkey/Biometrics unlock for SRP wallets
PASSKEY_ENABLED='false'
; Backend WebSocket URL
; Uses production API endpoint by default (same as builds.yml)
;MM_BACKEND_WEBSOCKET_URL='wss://gateway.api.cx.metamask.io/v1'
; This variable is not required but it's necessary for the storybook
; to render stories that use onchain data.
INFURA_STORYBOOK_PROJECT_ID=
;PASSWORD=METAMASK PASSWORD
;SEGMENT_WRITE_KEY=
; Override the Bridge API base URL (e.g. to point at a local server or a
; one-off environment). Takes precedence over the environment-based mapping.
;BRIDGE_USE_CUSTOM_BASE_URL=
;ANALYTICS_DATA_DELETION_SOURCE_ID=
;ANALYTICS_DATA_DELETION_ENDPOINT=
;SWAPS_USE_DEV_APIS=
;PORTFOLIO_URL=
;TRANSACTION_SECURITY_PROVIDER=
; Set this to test changes to the phishing warning page.
;PHISHING_WARNING_PAGE_URL=
BLOCKAID_FILE_CDN=
BLOCKAID_PUBLIC_KEY=
; Change this to override built-in intercepting https proxy for e2e tests
; SELENIUM_HTTPS_PROXY='http://127.0.0.1:8000'
; Set this to 1 to make e2e tests run browser in headless mode
; SELENIUM_HEADLESS=
; Set this to 1 to make chrome e2e tests disable DoH/DoT and use system DNS
; SELENIUM_USE_SYSTEM_DNS=
; Set this to true to enable the snap path for the Firefox WebDriver (Linux)
; FIREFOX_SNAP=
; URL of security alerts API used to validate dApp requests
; SECURITY_ALERTS_API_URL='http://localhost:3000'
; Temporary mechanism to enable security alerts API prior to release
; SECURITY_ALERTS_API_ENABLED='true'
; Enables the Settings Page - Developer Options
; ENABLE_SETTINGS_PAGE_DEV_OPTIONS=true
; SENTRY CONFIGURATION
; SENTRY_DSN - For production builds only (do NOT use in development)
; SENTRY_DSN_DEV - For local dev and one-off QA testing (sends to 'test-metamask' project)
; SENTRY_DSN_DEV=https://f59f3dd640d2429d9d0e2445a87ea8e1@sentry.io/273496
; SENTRY_DSN_PERFORMANCE - For CI/CD and automated performance testing (keeps CI traffic separate)
; SENTRY_DISTRIBUTED_TRACING_DISABLED - Emergency kill switch for the distributed tracing wrappers.
; When true, skips installing wrapMessengerWithTracing and stops appending _traceContext
; to background RPC calls. Other Sentry tracing (tracesSampleRate, auto-instrumentation,
; existing trace() callers) is unaffected.
; Hotfix release required to flip this in production.
;SENTRY_DISTRIBUTED_TRACING_DISABLED=true
; Sample rates: tracesSampleRate and WRAPPER_SAMPLE_RATE are compile-time
; constants, but the remote feature flag `sentry: { tracesSampleRate,
; wrapperSampleRate }` overrides them at Sentry init (no build required).
; See shared/lib/sentry-remote-rates.ts.
; Enable/disable why did you render debug tool: https://github.com/welldone-software/why-did-you-render
; This should NEVER be enabled in production since it slows down react
; ENABLE_WHY_DID_YOU_RENDER=false
; A JSON config file that can be used to override the default manifest values.
; e.g., `.manifest-overrides.json` where the contents might be something like:
; {
; "_flags": {
; "remoteFeatureFlags": { }
; }
; }
; Note: Properties are shallow merged into the manifest.json file at build time.
;MANIFEST_OVERRIDES=.manifest-overrides.json
; Set this to `true` to enable Metamask Shield
; METAMASK_SHIELD_ENABLED='false'
; Set this to `true` to enable `AuthenticationController` environment config to match the extension's build type. If set to `true`, `beta` and `uat` builds will result in using `Env.UAT`. Leaving it to `false` or unset will use `Env.PRD`.
; FORCE_AUTH_MATCH_BUILD='false'
; This variable is required to run performance tests
TEST_SRP_2=
; Set to `true` to enable the QR Sync Sync tab in Settings
; (device pairing, QR code scan and verification flow)
; QR_SYNC_ENABLED='false'
; Set to `true` to enable the new hardware wallet onboarding flow
; (device discovery, error handling, account selection).
; Entry points to connecting remain unchanged regardless of this flag.
NEW_HARDWARE_WALLET_ONBOARDING='false'
; Set this to `true` to force enforced simulations to apply whenever a
; transaction has balance changes, bypassing the trust signal check.
; Intended for local development and QA only.
;FORCE_ENFORCED_SIMULATIONS='true'
; Set to `true` to enable pure-black (OLED) dark mode locally and rebuild (`yarn start`).
; To enable for all users, change the corresponding entry in builds.yml to `true`.
MM_PURE_BLACK_PREVIEW=true