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
| Connect from a web dapp to the MetaMask extension | ✓ | ✓ | ✓ |
19
+
| Connect from a web dapp, desktop, mobile, and gaming dapps to MetaMask Mobile | ✓ | ✓ ||
20
+
|Use [EIP-6963](../concepts/wallet-interoperability.md)to connect to MetaMask without conflict| ✓ | ✓ | ✓ |
21
+
| Compatible with other [EIP-6963](../concepts/wallet-interoperability.md) wallets || ✓ | ✓ |
22
22
| Custom RPC methods such as [`connectAndSign`](../how-to/sign-data/connect-and-sign.md), [custom modals](../how-to/display/custom-modals.md), [read-only requests](../how-to/make-read-only-requests.md) using Infura API, and [RPC request batching](../how-to/batch-json-rpc-requests.md)| ✓ | ✓ ||
23
23
24
24
## MetaMask SDK
25
25
26
-
MetaMask SDK enables a reliable, secure, and seamless connection between your dapp and the MetaMask browser extension or MetaMask Mobile. You can call any Wallet API method from a dapp with the SDK installed, and you can integrate the SDK into existing projects without modifying existing Wallet API calls.
26
+
MetaMask SDK enables a reliable, secure, and seamless connection between your dapp and the MetaMask
27
+
browser extension or MetaMask Mobile.
28
+
You can call any Wallet API method from a dapp with the SDK installed, and you can integrate the SDK
29
+
into existing projects without modifying existing Wallet API calls.
27
30
28
31
Key features include:
29
32
30
33
-**Multi-platform support** – Connect from web, desktop, mobile, and gaming platforms.
31
-
-**Seamless mobile integration** – Use QR codes or deeplinks to establish persistent connections with MetaMask Mobile.
32
-
-**EIP-6963 detection** – Automatically detect MetaMask, with or without third-party libraries.
34
+
-**Seamless mobile integration** – Use QR codes or deeplinks to establish persistent connections
35
+
with MetaMask Mobile.
36
+
-**EIP-6963 detection** – Automatically detect MetaMask without conflicting with other installed wallets.
33
37
-**RPC request batching** – Improve efficiency by batching multiple requests into a single call.
34
38
35
39
Get started using [MetaMask SDK](metamask-sdk/index.md).
36
40
37
41
## Third-party libraries
38
42
39
-
MetaMask SDK integrates seamlessly with libraries like Wagmi and Web3-Onboard, simplifying wallet connections and supporting multiple wallets. These libraries streamline connection logic and offer additional features for managing wallets.
43
+
MetaMask SDK integrates seamlessly with libraries like Wagmi and Web3-Onboard, simplifying wallet
44
+
connections and supporting multiple wallets.
45
+
These libraries streamline connection logic and offer additional features for managing wallets.
40
46
41
47
:::note Trade-offs when using third-party libraries:
42
-
43
48
- Reduced control over specific MetaMask features.
44
49
- Potential inconsistencies across different wallets due to multi-wallet support.
45
50
:::
46
51
47
-
Get started with [Wagmi](3rd-party-libraries/wagmi.md) or [Web3-Onboard](3rd-party-libraries/web3-onboard.md).
52
+
Get started with [Wagmi](3rd-party-libraries/wagmi.md) or
Copy file name to clipboardexpand all lines: wallet/connect/metamask-sdk/index.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,14 @@ tags:
10
10
11
11
# Connect using MetaMask SDK
12
12
13
-
MetaMask SDK enables a reliable, secure, and seamless connection between your dapp and the MetaMask browser extension or MetaMask Mobile, providing cross-platform compatibility with a consistent user experience.
13
+
MetaMask SDK enables a reliable, secure, and seamless connection between your dapp and the MetaMask
14
+
browser extension or MetaMask Mobile, providing cross-platform compatibility with a consistent user experience.
14
15
Key features include:
15
16
16
17
-**Multi-platform support** – Connect from web, desktop, mobile, and gaming platforms.
17
-
-**Seamless mobile integration** – Use QR codes or deeplinks to establish persistent connections with MetaMask Mobile.
18
-
-**EIP-6963 detection** – Automatically detect MetaMask, with or without third-party libraries.
18
+
-**Seamless mobile integration** – Use QR codes or deeplinks to establish persistent connections
19
+
with MetaMask Mobile.
20
+
-**EIP-6963 detection** – Automatically detect MetaMask without conflicting with other installed wallets.
19
21
-**RPC request batching** – Improve efficiency by batching multiple requests into a single call.
20
22
21
23
Get started with the SDK on the following platforms:
Copy file name to clipboardexpand all lines: wallet/index.md
+12-6
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,28 @@ title: Introduction
5
5
# Integrate your dapp with the MetaMask wallet
6
6
7
7
Integrate your dapp with MetaMask using **MetaMask SDK** and the **Wallet API**.
8
-
Use MetaMask SDK to create a seamless connection between your dapp and MetaMask across desktop and mobile platforms.
9
-
Use the Wallet API to interact with users' Ethereum accounts in MetaMask.
8
+
Use MetaMask SDK to create a seamless connection between your dapp and MetaMask across desktop and
9
+
mobile platforms.
10
+
Use the Wallet API to interact with users' EVM accounts in MetaMask.
10
11
11
12
Get started by [connecting to MetaMask](connect/index.md).
12
13
13
14
## Why use MetaMask SDK?
14
15
15
-
**MetaMask SDK** enables a reliable, secure, and seamless connection between your dapp and the MetaMask browser extension or MetaMask Mobile, providing cross-platform compatibility with a consistent user experience. Key benefits include:
16
+
**MetaMask SDK** enables a reliable, secure, and seamless connection between your dapp and the
17
+
MetaMask browser extension or MetaMask Mobile, providing cross-platform compatibility with a
18
+
consistent user experience.
19
+
Key benefits include:
16
20
17
21
-**Multi-platform support** – Connect from web, desktop, mobile, and gaming platforms.
18
22
-**Seamless connections** – Minimize reconnections and improve user experience, especially on mobile.
19
23
-**Mobile-first optimization** – Enable faster wallet interactions with instant deeplinks and advanced features.
20
-
-**Enhanced functionality** – Use [RPC request batching](how-to/batch-json-rpc-requests.md), [EIP-6963](/wallet/concepts/wallet-interoperability.md) for wallet discovery, and wallet security enhancements.
24
+
-**Enhanced functionality** – Use [RPC request batching](how-to/batch-json-rpc-requests.md),
25
+
[EIP-6963](/wallet/concepts/wallet-interoperability.md) for wallet discovery, and wallet security enhancements.
21
26
22
-
The **Wallet API** allows you to interact with users' Ethereum accounts using standardized JSON-RPC calls.
23
-
While you can connect to the MetaMask extension directly using just the Wallet API, we recommend using the SDK with the Wallet API to take advantage of the SDK's benefits.
27
+
The **Wallet API** allows you to interact with users' EVM accounts using standardized JSON-RPC calls.
28
+
While you can connect to the MetaMask extension directly using just the Wallet API, we recommend
29
+
using the SDK with the Wallet API to take advantage of the SDK's benefits.
0 commit comments