Export Private Key

Allow your users to export the private key for their embedded wallet embedding this page in an iframe:

<iframe src='https://withpaper.com/sdk/2022-08-12/embedded-wallet/export?clientId=CLIENT_ID' />

The user will be presented with a form to sign in to reveal their private key:

Use cases

  • As your users gain familiarity with crypto, they want to manage their wallet in their favorite app.
  • Your users may lose access to their email (e.g. corporate account) and want to fully own their wallet.


This page must be embedded as an iframe on an allowlisted domain.

The page cannot be loaded directly. There are two major benefits:

  • You control whether to allow users to export their private key.
  • Your users cannot be phished from a malicious domain.