Injected
Prompt users to connect to your app with an "injected" wallet, i.e. one that uses
window.ethereum
to connect to the blockchain; including
MetaMask and Coinbase Wallet.
Usage
import { InjectedWallet } from "@thirdweb-dev/wallets";
const wallet = new InjectedWallet();
wallet.connect();
Configuration
Optionally, provide a configuration object when instantiating the InjectedWallet
class.
clientId (recommended)
chains
dappMetadata
walletStorage
walletId
Methods
Inherits all the public methods from the AbstractClientWallet
class.