Exporting Private Key
Overview
The exportPrivateKey
function allows users to export their private key securely.
How to Use
Destructure the function from the hook:
const { exportPrivateKey } = useJustAuth();
Call the function:
const handleExportPrivateKey = () => { exportPrivateKey(); };
Parameters
No parameters are required for this function.
Example
const handleExportPrivateKey = () => {
exportPrivateKey();
};
Note: This function opens a modal for the user to confirm and securely export their private key.
Last updated