useWallet

Manage the user's wallet, including secure access to their mnemonic

Export mnemonic

A mnemonic is a sequence of words that securely represents the user's wallet private key, allowing them to back up and restore access to their wallet.

Use the getPrivateKey() function to display a widget where the user can retrieve the mnemonic for their wallet.

getPrivateKey ()
import { useWallet } from "@paytweed/core-react";

const { getPrivateKey } = useWallet()

Last updated