MetaMask
"io.metamask";
import { createThirdwebClient } from "thirdweb";import { createWallet, injectedProvider } from "thirdweb/wallets"; const client = createThirdwebClient({ clientId }); const wallet = createWallet("io.metamask"); // pass the wallet id // if user has wallet installed, connect to itif (injectedProvider("io.metamask")) { await wallet.connect({ client });} // open WalletConnect modal so user can scan the QR code and connectelse { await wallet.connect({ client, walletConnect: { showQrModal: true }, });}