Skip to content

Commit

Permalink
Add MULTICHAIN flag code
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Mar 16, 2023
1 parent 2da08d7 commit 86c7200
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .metamaskrc.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ PUBNUB_PUB_KEY=
PUBNUB_SUB_KEY=
PORTFOLIO_URL=
TRANSACTION_SECURITY_PROVIDER=
MULTICHAIN=

; Set this to test changes to the phishing warning page.
PHISHING_WARNING_PAGE_URL=
1 change: 1 addition & 0 deletions development/build/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const commonConfigurationPropertyNames = ['PUBNUB_PUB_KEY', 'PUBNUB_SUB_KEY'];

const configurationPropertyNames = [
...commonConfigurationPropertyNames,
'MULTICHAIN',
'INFURA_PROJECT_ID',
'PHISHING_WARNING_PAGE_URL',
'PORTFOLIO_URL',
Expand Down
1 change: 1 addition & 0 deletions development/build/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,7 @@ async function getEnvironmentVariables({ buildTarget, buildType, version }) {
const iconNames = await generateIconNames();
return {
ICON_NAMES: iconNames,
MULTICHAIN: config.MULTICHAIN === '1',
CONF: devMode ? config : {},
IN_TEST: testing,
INFURA_PROJECT_ID: getInfuraProjectId({
Expand Down
1 change: 1 addition & 0 deletions ui/components/multichain/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { AddressCopyButton } from './address-copy-button';

0 comments on commit 86c7200

Please sign in to comment.