Export Private Key
Learn how to export the private key for a thirdweb wallet using the Connect modal.
Headless private key export
Note that we don't allow exporting private key headlessly today. This is to ensure the security of the users assets.
Login to your wallet on the application.
Select "Manage Wallet".
Choose "Export Private Key" and confirm the action to reveal the private key.
Confirm you want to reveal your private key.
Secure Private Keys
Revealing private keys can compromise your assets and security. Keep them safe and confidential at all times.
Copy the exported private key directly from the modal.
Advanced Configuration
As an advanced option, to hide the export private key option from the modal, set the hidePrivateKeyOption
to true
when initializing the typescript or react SDK.