thirdweb

⌘K

Pricing

Docs

Support

Local Wallet

A local wallet is a low-level wallet that allows you to create wallets within your application or project. It is a non-custodial solution that simplifies the onboarding process and improves the user experience for web3 apps in two ways:

Learn more about Local Wallets

Integrate into your app

import { LocalWallet } from "@thirdweb-dev/wallets";
const wallet = new LocalWallet();
// generate a random wallet
await wallet.generate();
// connect the wallet to the application
await wallet.connect();
// at any point, you can save the wallet to persistent storage
await wallet.save(config);
// and load it back up
await wallet.load(config);
// you can also export the wallet out of the application
const exportedWallet = await wallet.export(config);
// and import it back in
await wallet.import(exportedWallet, config);

Docs

  • Full Docs

Feedback

Privacy Policy

Terms of Service

Gas Estimator

Chainlist

thirdweb © 2023