Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,116 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MetaMask SDK (Deprecated)

⚠️ DEPRECATED

This repository is deprecated and no longer actively maintained. MetaMask SDK has been superseded by MetaMask Connect, a ground-up rewrite with a streamlined API, direct wallet communication (no relay server), and multichain support out of the box.

Migrate to:

Migration guide & docs: https://docs.metamask.io/metamask-connect

New repo: https://github.com/MetaMask/connect-monorepo


codecov

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:

See the MetaMask SDK documentation for more information.

Features

  • 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)

Get started

Install the SDK:

yarn add @metamask/sdk

or

npm i @metamask/sdk

SDK options

See the full list of JavaScript SDK options.

Contributing

To contribute to MetaMask SDK, see the contribution guidelines.

Contacts

Fill out this form for a complimentary design optimization workshop.

About

The simplest yet most secure way to connect your blockchain-based applications to millions of MetaMask Wallet users.

Resources

Code of conduct

Contributing

Security policy

Stars

331 stars

Watchers

66 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages