|
1 | 1 | --- |
2 | 2 | slug: / |
3 | 3 | description: Introduction page for MetaMask SDK documentation. |
| 4 | +keywords: [connect, MetaMask, SDK, integrate, dapp] |
4 | 5 | --- |
5 | 6 |
|
6 | | -# Build onchain dapps with MetaMask SDK |
| 7 | +import Button from '@site/src/components/elements/buttons/button' |
| 8 | +import CardList from '@site/src/components/CardList' |
7 | 9 |
|
8 | | -MetaMask SDK is a toolkit that allows you to build onchain dapps. |
9 | | -With the SDK, you can: |
| 10 | +# Seamlessly connect to MetaMask using the SDK |
10 | 11 |
|
11 | | -- Authenticate users. |
12 | | -- Manage wallet states. |
13 | | -- Handle transactions. |
14 | | -- Interact with contracts. |
| 12 | +MetaMask SDK is a toolkit that enables a fast, reliable, and seamless connection from your dapp to the MetaMask extension and MetaMask Mobile. |
| 13 | +With the SDK, you can easily onboard users and interact with their accounts on desktop or mobile, across all EVM L1/L2 networks. |
15 | 14 |
|
16 | | -[Get started by connecting to MetaMask.](connect/javascript-wagmi.md) |
| 15 | +<p align="center"> |
| 16 | + <Button |
| 17 | + as="a" |
| 18 | + href="connect/javascript-wagmi" |
| 19 | + label="Get started with the SDK" |
| 20 | + icon="arrow-right" |
| 21 | + style={{ |
| 22 | + '--button-color-hover': 'var(--general-black)', |
| 23 | + '--button-text-color-hover': 'var(--general-white)', |
| 24 | + }} |
| 25 | + /> |
| 26 | +</p> |
17 | 27 |
|
18 | | -:::tip Build embedded wallet experiences that work seamlessly with MetaMask |
19 | | -Introducing our latest [Embedded Wallets SDK](https://web3auth.io/docs) (previously Web3Auth), you can now onboard users |
20 | | -instantly and design seamless onchain experiences with social logins, passkeys and more. |
21 | | -::: |
22 | | - |
23 | | -## Why use the SDK? |
24 | | - |
25 | | -The benefits of using MetaMask SDK include the following: |
| 28 | +## Supported platforms and libraries |
26 | 29 |
|
27 | | -- It works on multiple dapp platforms: |
28 | | - - Web dapps - Connect to the MetaMask browser extension or use QR codes to connect to MetaMask Mobile. |
29 | | - - Mobile dapps - Use deeplinks to connect to MetaMask Mobile. |
30 | | -- It works with all EVM-compatible L1/L2 networks. |
31 | | -- It handles onboarding of users. |
32 | | -- It is battle tested with millions of users on MetaMask. |
| 30 | +You can get started with the SDK on the following dapp platforms or third-party libraries: |
33 | 31 |
|
34 | | -## Where do I start? |
| 32 | +<CardList |
| 33 | + items={[ |
| 34 | + { |
| 35 | + href: 'connect/javascript-wagmi', |
| 36 | + title: 'JavaScript + Wagmi (recommended)', |
| 37 | + description: 'Use the CLI or template to set up the SDK in a Next.js and Wagmi dapp.', |
| 38 | + }, |
| 39 | + { |
| 40 | + href: 'connect/javascript', |
| 41 | + title: 'JavaScript', |
| 42 | + description: 'Set up the SDK in a JavaScript dapp.', |
| 43 | + }, |
| 44 | + { |
| 45 | + href: 'connect/javascript-dynamic', |
| 46 | + title: 'Dynamic SDK', |
| 47 | + description: 'Use the CLI or template to set up Dynamic SDK in a Next.js dapp. Use MetaMask SDK features with Dynamic.', |
| 48 | + }, |
| 49 | + { |
| 50 | + href: 'connect/javascript-web3auth', |
| 51 | + title: 'Web3Auth SDK', |
| 52 | + description: 'Use the CLI or template to set up Web3Auth SDK in a Next.js dapp. Use MetaMask SDK features with Web3Auth.', |
| 53 | + }, |
| 54 | + { |
| 55 | + href: 'connect/react-native', |
| 56 | + title: 'React Native', |
| 57 | + description: 'Set up the SDK in a React Native or Expo dapp.', |
| 58 | + }, |
| 59 | + { |
| 60 | + href: 'https://docs.reown.com/appkit/overview', |
| 61 | + title: 'Reown AppKit', |
| 62 | + description: 'Use SDK features with Reown AppKit.', |
| 63 | + buttonIcon: 'external-arrow', |
| 64 | + }, |
| 65 | + { |
| 66 | + href: 'https://www.rainbowkit.com', |
| 67 | + title: 'RainbowKit', |
| 68 | + description: 'Use SDK features with RainbowKit.', |
| 69 | + buttonIcon: 'external-arrow', |
| 70 | + }, |
| 71 | + { |
| 72 | + href: 'https://onboard.blocknative.com', |
| 73 | + title: 'Web3-Onboard', |
| 74 | + description: 'Use SDK features with Web3-Onboard.', |
| 75 | + buttonIcon: 'external-arrow', |
| 76 | + }, |
| 77 | + { |
| 78 | + href: 'https://docs.family.co/connectkit', |
| 79 | + title: 'ConnectKit', |
| 80 | + description: 'Use SDK features with ConnectKit.', |
| 81 | + buttonIcon: 'external-arrow', |
| 82 | + }, |
| 83 | + ]} |
| 84 | +/> |
35 | 85 |
|
36 | | -You can get started by connecting to MetaMask with the following dapp platforms: |
37 | | - |
38 | | -- [JavaScript + Wagmi (recommended)](connect/javascript-wagmi.md) |
39 | | -- [JavaScript](connect/javascript.md) |
40 | | -- [Dynamic SDK](connect/javascript-dynamic.md) |
41 | | -- [Web3Auth SDK](connect/javascript-web3auth.md) |
42 | | -- [React Native](connect/react-native.md) |
| 86 | +:::tip Build embedded wallet experiences that work seamlessly with MetaMask |
| 87 | +Introducing our latest [Embedded Wallets SDK](connect/javascript-web3auth.md) (Web3Auth), you can now onboard users |
| 88 | +instantly and design seamless onchain experiences with social logins, passkeys and more. |
| 89 | +::: |
0 commit comments