MetaMask SDK enables developers to seamlessly connect their dapps to the MetaMask extension and mobile app.
You can use the SDK via the following platforms and libraries:
- Wagmi (recommended)
- JavaScript
- Dynamic SDK
- Web3Auth SDK
- React Native
- Web3-Onboard
See the MetaMask SDK documentation for more information.
- Session persistence
- Multi MetaMask provider (let user choose between browser extension and mobile wallet)
- Batch RPC calls (send multiple requests to your wallet at once)
- Read-only RPC calls and Infura integration
- Wagmi hook integration (alpha)
- i18n
- Full modal UI customization
- Smart contract library (coming soon)
Install the SDK:
yarn add @metamask/sdk
or
npm i @metamask/sdk
See the full list of JavaScript SDK options.
To contribute to MetaMask SDK, see the contribution guidelines.
Fill out this form for a complimentary design optimization workshop.