Wallet Module
The Wallet module provides functionality for creating and managing Unlockd abstract wallets.

Types
ClientOptions
export type ClientOptions = {
network?: Chain
}
export type Chain = 'mainnet' | 'sepolia' | 'localhost'Functions
Creating a Wallet
To create an Unlockd abstract wallet, use the createWallet function from the wallet module:
export const createWallet = async (
options?: ClientOptions
):Promise<void>const result = await createWallet(options?);Refer to the Wallet Module documentation for more details on the createWallet function.
Retrieving the User's Wallet Address
To retrieve the wallet address of the user, use the getWallet function from the wallet module:
export const getWallet = async (
options?: ClientOptions
): Promise<any>const result = await getWallet(options?);Refer to the Wallet Module documentation for more details on the getWallet function.
Last updated