exportWallet
method:exportWallet
will open a modal where your user can copy the full private key for their embedded wallet. The modal will also link your user to a guide for how to load their embedded wallet into another wallet client, such as MetaMask or Phantom.If your user is not authenticated
or has not yet created an embedded wallet in your app, this method will fail.As an example, you might attach exportWallet
to an export wallet button in your app:address
parameter to the exportWallet
method: