Once a user has created an embedded wallet, when they attempt to use the wallet on a new device, the key material for their wallet must be transferred to that new device. This process is known as provisioning a new device.
To prompt users to set or upgrade recovery on their wallet, call the setWalletRecovery method from the useSetWalletRecovery hook.
Copy
Ask AI
setWalletRecovery: async () => Promise<Wallet>
Users can reset their password using this method as well.