Interact with MetaMask Wallet directly through our Wallet API
Integrate your dapp with MetaMask using the Wallet API. You can interact with your users' Ethereum accounts, performing tasks such as the following:
↔️ Connect to MetaMask
Connect to MetaMask and other wallets in your users' browsers.
🖊️ Sign data
Request signatures from users, and allow them to sign in with Ethereum.
📄 Make read-only requests
Bypass user wallet authentication to make read-only JSON-RPC requests.
📱 Display in MetaMask
Display tokens, contract methods, icons, and custom modals in MetaMask.
Connect to MetaMask Extension or Mobile using the MetaMask SDK
Integrate your dapp with MetaMask SDK to MetaMask Extension and MetaMask Mobile seamlessly through third party libraries like Web3Onboard or directly using Wagmi or with basic JS/TS.
↔️ Use MetaMask SDK
MetaMask SDK provides a reliable, secure, and seamless connection from your dapp to MetaMask Extension and MetaMask Mobile.
🖊️ Use MetaMask SDK with JavaScript
Import MetaMask SDK into your dapp to enable users to connect to MetaMask Extension and MetaMask Mobile.
📄 Use MetaMask SDK with React
Import MetaMask SDK into your React dapp to enable users to connect to MetaMask Extension and MetaMask Mobile.
📱 Use MetaMask SDK with mobile dapps
Import MetaMask SDK into your mobile dapp to enable users to connect with MetaMask Mobile.
New to developing on MetaMask?
If you're new to integrating dapps with MetaMask, check out the following topics:
📐 Architecture
Learn about the high-level MetaMask architecture.
🌐 About the Wallet API
Learn about MetaMask's Wallet API and its components.
🛠️ Create a React dapp tutorial
Follow the tutorial to create a React dapp and integrate it with MetaMask.
🛠️ Create a simple dapp tutorial
Follow the tutorial to create a simple dapp and integrate it with MetaMask.
Questions?
If you have questions about integrating your dapp with MetaMask, you can interact with the MetaMask team and community on the MetaMask channels on Consensys Discord.
If you need MetaMask user support, visit the MetaMask Help Center.