-
-
Notifications
You must be signed in to change notification settings - Fork 2k
SDK section improvements #2064
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
SDK section improvements #2064
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a12367a
Update SDK connect guides
alexandratran 088d266
add get started button
alexandratran 558a954
Merge branch 'main' into sdk-connect
alexandratran c31ebea
updates to sdk intro + redirects
alexandratran 3fdde08
address feedback
alexandratran 0873bb4
move llm prompt and update copy
alexandratran d03d348
Merge branch 'main' into sdk-connect
alexandratran 43d93ab
Merge branch 'main' into sdk-connect
alexandratran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
sdk/quickstart/javascript-wagmi.md → sdk/connect/javascript-wagmi.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| --- | ||
| slug: / | ||
| description: Introduction page for MetaMask SDK documentation. | ||
| keywords: [connect, MetaMask, SDK, integrate, dapp] | ||
| --- | ||
|
|
||
| import Button from '@site/src/components/elements/buttons/button' | ||
| import CardList from '@site/src/components/CardList' | ||
|
|
||
| # Seamlessly connect to MetaMask using the SDK | ||
|
|
||
| MetaMask SDK enables a fast, reliable, and seamless connection from your dapp to the MetaMask extension and MetaMask Mobile. | ||
| With the SDK, you can easily onboard users and interact with their accounts on desktop or mobile, across all EVM networks. | ||
|
|
||
| <p align="center"> | ||
| <Button | ||
| as="a" | ||
| href="connect/javascript-wagmi" | ||
| label="Get started with the SDK" | ||
| icon="arrow-right" | ||
| style={{ | ||
| '--button-color-hover': 'var(--general-black)', | ||
| '--button-text-color-hover': 'var(--general-white)', | ||
| }} | ||
| /> | ||
| </p> | ||
|
|
||
| ## Why use the SDK? | ||
|
|
||
| MetaMask SDK gives your dapp a powerful upgrade: | ||
|
|
||
| - **Cross-platform, cross-browser support** - One integration covers both desktop and mobile, all major browsers, and the MetaMask Mobile app—streamlining your user onboarding and eliminating edge cases. | ||
| - **Mobile connection that just works** - Say goodbye to clunky "open in in-app browser" flows. | ||
| The SDK enables a native connection from any mobile browser (Safari, Chrome, etc.) directly to MetaMask Mobile, using secure deeplinking and session management. | ||
| - **Production-ready, battle-tested** - MetaMask SDK is used in high-volume dapps across DeFi, NFTs, gaming, and more—ensuring stability, speed, and a smooth developer experience. | ||
| - **Multichain-ready by design** - Today, the SDK supports all EVM networks. | ||
| Coming soon: Seamless connection to non-EVM chains like Solana and Bitcoin. | ||
| Futureproof your dapp with a single integration. | ||
|
|
||
| ## Supported platforms and libraries | ||
|
|
||
| MetaMask SDK is available in a variety of ways to make integration as easy as possible. | ||
| You can access it directly via npm, through popular developer libraries like Wagmi, or as part of popular convenience libraries. | ||
|
|
||
| <CardList | ||
| items={[ | ||
| { | ||
| href: 'connect/javascript-wagmi', | ||
| title: 'JavaScript + Wagmi (recommended)', | ||
| description: 'Use the CLI or template to set up the SDK in a Next.js and Wagmi dapp.', | ||
| }, | ||
| { | ||
| href: 'connect/javascript', | ||
| title: 'JavaScript', | ||
| description: 'Set up the SDK in a JavaScript dapp.', | ||
| }, | ||
| { | ||
| href: 'connect/javascript-dynamic', | ||
| title: 'Dynamic SDK', | ||
| description: 'Use the CLI or template to set up Dynamic SDK in a Next.js dapp. Use MetaMask SDK features with Dynamic.', | ||
| }, | ||
| { | ||
| href: 'connect/javascript-web3auth', | ||
| title: 'Web3Auth SDK', | ||
| description: 'Use the CLI or template to set up Web3Auth SDK in a Next.js dapp. Use MetaMask SDK features with Web3Auth.', | ||
| }, | ||
| { | ||
| href: 'connect/react-native', | ||
| title: 'React Native', | ||
| description: 'Set up the SDK in a React Native or Expo dapp.', | ||
| }, | ||
| { | ||
| href: 'https://onboard.blocknative.com', | ||
| title: 'Web3-Onboard', | ||
| description: 'Use SDK features with Web3-Onboard.', | ||
| buttonIcon: 'external-arrow', | ||
| } | ||
| ]} | ||
| /> | ||
|
|
||
| :::tip Build embedded wallet experiences that work seamlessly with MetaMask | ||
| Introducing our latest [Embedded Wallets SDK](connect/javascript-web3auth.md) (Web3Auth), you can now onboard users | ||
| instantly and design seamless onchain experiences with social logins, passkeys and more. | ||
| ::: |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.