Docs

Wallets

Client Side Wallets

Metamask

import { metamaskWallet } from "thirdweb/wallets";
const wallet = await metamaskWallet().connect();

Coinbase Wallet

import { coinbaseWallet } from "thirdweb/wallets";
const wallet = await coinbaseWallet().connect();

Rainbow Wallet

import { rainbowWallet } from "thirdweb/wallets";
const wallet = await rainbowWallet().connect();

Server Side Wallets

Private Key

For usage in backend environments.

import { privateKeyWallet } from "thirdweb/wallets";
const wallet = privateKeyWallet({ client, privateKey: "<your_private_key>" });