Private key
Connect to your app with a private key.
Usage
import { PrivateKeyWallet } from "@thirdweb-dev/wallets";
// can be any ethers.js signer
const privateKey = process.env.PRIVATE_KEY;
const wallet = new PrivateKeyWallet(privateKey);
Configuration
privateKey
chain (optional)
secretKey (recommended)
Methods
Inherits all the public methods from the AbstractWallet
class.