Skip to content

Commit

Permalink
Merge pull request #238 from multiversx/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
CiprianDraghici authored Aug 8, 2024
2 parents 9b8e0ac + 8494181 commit c220f92
Show file tree
Hide file tree
Showing 6 changed files with 186 additions and 179 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@fortawesome/free-solid-svg-icons": "6.5.1",
"@fortawesome/react-fontawesome": "0.2.0",
"@multiversx/sdk-core": "13.2.1",
"@multiversx/sdk-dapp": "2.38.0",
"@multiversx/sdk-dapp": "2.38.1",
"@multiversx/sdk-network-providers": "2.4.3",
"axios": "1.6.5",
"classnames": "2.3.2",
Expand Down
6 changes: 4 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import {
apiTimeout,
walletConnectV2ProjectId,
environment,
sampleAuthenticatedDomains
sampleAuthenticatedDomains,
metamaskSnapWalletAddress
} from 'config';
import { RouteNamesEnum } from 'localConstants';
import { PageNotFound, Unlock } from 'pages';
Expand All @@ -29,7 +30,8 @@ const AppContent = () => {
customNetworkConfig={{
name: 'customConfig',
apiTimeout,
walletConnectV2ProjectId
walletConnectV2ProjectId,
metamaskSnapWalletAddress
}}
dappConfig={{
shouldUseWebViewProvider: true,
Expand Down
2 changes: 2 additions & 0 deletions src/config/config.devnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export const contractAddress =
export const API_URL = 'https://devnet-template-api.multiversx.com';
export const sampleAuthenticatedDomains = [API_URL];
export const environment = EnvironmentsEnum.devnet;
export const metamaskSnapWalletAddress =
'https://devnet-snap-wallet.multiversx.com';
1 change: 1 addition & 0 deletions src/config/config.mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export const contractAddress =
export const API_URL = 'https://template-api.multiversx.com';
export const sampleAuthenticatedDomains = [API_URL];
export const environment = EnvironmentsEnum.mainnet;
export const metamaskSnapWalletAddress = 'https://snap-wallet.multiversx.com';
2 changes: 2 additions & 0 deletions src/config/config.testnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export const contractAddress =
export const API_URL = 'https://testnet-template-api.multiversx.com';
export const sampleAuthenticatedDomains = [API_URL];
export const environment = EnvironmentsEnum.testnet;
export const metamaskSnapWalletAddress =
'https://testnet-snap-wallet.multiversx.com';
Loading

0 comments on commit c220f92

Please sign in to comment.