Docs

createWallet

Creates a wallet based on the provided ID and arguments.

Example

import { createWallet } from "thirdweb/wallets";
const metamaskWallet = createWallet("io.metamask");
const account = await metamaskWallet.connect({
client,
});

Parameters

Returns

  • The created wallet.