metamask-connect
Installation
SKILL.md
MetaMask Connect SDK
When to use
- You want to set up a dApp's MetaMask integration — EVM, Solana, or both (multichain) — in vanilla browser JS/TS, React, or React Native
- You want a headless integration — a Node.js CLI, server, or bot that connects to MetaMask Mobile via a terminal QR code
- You want to connect/disconnect, manage the provider and session state, or switch chains
- You want to sign messages (
personal_sign,eth_signTypedData_v4, SolanasignMessage) — e.g. Sign-In With Ethereum or nonce auth - You want to send transactions (
eth_sendTransaction, SolanasendTransaction/signAndSendTransaction) - You want to operate across chains through the multichain client's
invokeMethod - You want to use or migrate to the wagmi
metaMask()connector - You want to migrate an existing
@metamask/sdkintegration to the Connect SDK - You need to diagnose connection failures, React Native polyfill errors, or QR/deeplink issues
Installation
Pick the client for your integration: