Paper Wallet
Prompt users to connect to your app using their email with Paper Wallet
Usage
import { PaperWallet } from "@thirdweb-dev/wallets";
import { Ethereum } from "@thirdweb-dev/chains";
const wallet = new PaperWallet({
chain: Ethereum, // chain to connect to
paperClientId: "your_paper_client_id", // Paper SDK client ID
});
wallet.connect();
Pricing & Billing
Pricing
- Free to use email wallet with a self recovery code.
- Free up to 10,000 Monthly Active Wallet +$0.02 per incremental Monthly Active Wallet after with a managed recovery code.
Find more information on the different billing tiers by visiting thirdweb's pricing page.
Configuration
Provide a configuration object when instantiating the PaperWallet
class.
paperClientId (required)
chain (required)
clientId (recommended)
chains (optional)
advancedOptions (optional)
styles (optional)
walletStorage (optional)
Methods
Inherits all the public methods from the AbstractClientWallet
class.
connect
open the Paper Wallet's Modal and prompt the user to log in with their email address. Once connected, it returns the public wallet address assigned to the user.
await wallet.connect();
Configuration
getEmail
Get the email associated with the currently connected wallet.
const email = await wallet.getEmail();