You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: metamask-connect/evm/quickstart/wagmi.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,11 +97,11 @@ TOD0: Update with new screenshot and link
97
97
Install MetaMask Connect EVM along with its peer dependencies to an existing React project:
98
98
99
99
:::note Version requirements
100
-
This quickstart requires `wagmi@^3.6.0`. The `metaMask` connector is imported from the `wagmi/connectors` path (part of the `wagmi` package) and requires `@metamask/connect-evm@^2.1.0`.
100
+
This quickstart requires `wagmi@^3.6.0`. The `metaMask` connector is imported from the `wagmi/connectors` path (part of the `wagmi` package) and requires `@metamask/connect-evm@^2.1.1`.
|`dapp.url`|`string`| No | URL of your dapp. In browsers this is often set automatically; required in Node.js and React Native. |
43
-
|`dapp.iconUrl`|`string`| No | URL of your dapp icon. |
44
-
|`dapp.base64Icon`|`string`| No | Base64-encoded icon when a hosted URL is unavailable (for example, some React Native setups). Use instead of `iconUrl` when needed. |
45
-
|`api.supportedNetworks`|`Record<string, string>`| No | Map of hex chain IDs to RPC URLs for read-only requests and transport. Use [`getInfuraRpcUrls`](#getinfurarpcurls) to generate Infura URLs, then merge custom endpoints. |
46
-
|`ui.headless`|`boolean`| No | Enables or disables [headless mode](../guides/headless-mode.md). The default is `false`. |
47
-
|`ui.preferExtension`|`boolean`| No | Directly connects through the MetaMask extension when it's installed. The default is `true`. |
48
-
|`mobile.preferredOpenLink`|`(deeplink: string) => void`| No | A function that's called to open a deeplink to the MetaMask Mobile App. Required in React Native. |
49
-
|`mobile.useDeeplink`|`boolean`| No | Controls use of deeplinks for mobile connection flows. |
50
-
|`ui.showInstallModal`|`boolean`| No | Shows the MetaMask install modal when the extension isn't detected. |
51
-
|`eventHandlers`|`object`| No | Optional callbacks for connection lifecycle and [provider events](provider-api.md#events). |
52
-
|`debug`|`boolean`| No | Enables verbose SDK logging. The default is `false`. |
53
-
|`skipAutoAnnounce`|`boolean`| No | Opts out of automatic EIP-6963 provider announcement (default since `@metamask/connect-evm` 2.0.0). Call `client.announceProvider()` to announce manually. |
54
-
|`analytics.enabled`|`boolean`| No | Set to `false` to opt out of analytics. |
|`dapp.url`|`string`| No | URL of your dapp. In browsers this is often set automatically; required in Node.js and React Native. |
43
+
|`dapp.iconUrl`|`string`| No | URL of your dapp icon. |
44
+
|`dapp.base64Icon`|`string`| No | Base64-encoded icon when a hosted URL is unavailable (for example, some React Native setups). Use instead of `iconUrl` when needed. |
45
+
|`api.supportedNetworks`|`Record<string, string>`| No | Map of hex chain IDs to RPC URLs for read-only requests and transport. Use [`getInfuraRpcUrls`](#getinfurarpcurls) to generate Infura URLs, then merge custom endpoints. |
46
+
|`ui.headless`|`boolean`| No | Enables or disables [headless mode](../guides/headless-mode.md). The default is `false`. |
47
+
|`ui.preferExtension`|`boolean`| No | Directly connects through the MetaMask extension when it's installed. The default is `true`. |
48
+
|`mobile.preferredOpenLink`|`(deeplink: string) => void`| No | A function that's called to open a deeplink to the MetaMask Mobile App. Required in React Native. |
49
+
|`mobile.useDeeplink`|`boolean`| No | Controls use of deeplinks for mobile connection flows. |
50
+
|`ui.showInstallModal`|`boolean`| No | Shows the MetaMask install modal when the extension isn't detected. On mobile web, setting this to `true` also forces the QR/install modal and suppresses the MetaMask app deeplink. Leave at the default `false` for mobile deeplinking.|
51
+
|`eventHandlers`|`object`| No | Optional callbacks for connection lifecycle and [provider events](provider-api.md#events). |
52
+
|`debug`|`boolean`| No | Enables verbose SDK logging. The default is `false`. |
53
+
|`skipAutoAnnounce`|`boolean`| No | Opts out of automatic EIP-6963 provider announcement (default since `@metamask/connect-evm` 2.0.0). Call `client.announceProvider()` to announce manually. |
54
+
|`analytics.enabled`|`boolean`| No | Set to `false` to opt out of analytics. |
0 commit comments