Skip to main content
Dfns secures private keys by generating them as MPC key shares in our decentralized key management network. This happens by default when you create a wallet. Our goal is to eliminate all single points of failure (SPOFs) associated with blockchain private keys by never exposing those private keys to anyone. In some circumstances, however, you may need to import or export an existing wallet and its private key into the Dfns infrastructure, instead of creating a brand new wallet with Dfns and transfer funds to it. As an example, you might want to keep an existing wallet if its address is tied to a smart contract which you don’t want to re-deploy. In such a case, Dfns exposes import and export endpoints.

Import a wallet

Use POST/wallets/import: Import a Wallet in conjunction with our import SDK. Note this is intended to be used only to migrate wallets when first onboarding onto the Dfns platform.
This endpoint is not enabled by default. Contact support to have it activated.
Dfns can not guarantee the security of imported walletsWe have no way to control who had access to the private key prior to import. For this reason, this feature is restricted to Enterprise customers who have signed a contractual addendum limiting our liability for imported wallets.Please contact support for more information.

Import a key

Use POST/keys/import: Import a Key in conjunction with our import SDK. Note this is intended to be used only to migrate wallets when first onboarding onto the Dfns platform.
This endpoint is not enabled by default. Contact support to have it activated.
Dfns can not guarantee the security of imported keysWe have no way to control who had access to the private key prior to import. For this reason, this feature is restricted to Enterprise customers who have signed a contractual addendum limiting our liability for imported keys.Please contact support for more information.

Export a key

Use POST/keys/{keyId}/export: Export a Key in conjunction with our export SDK.
Dfns can not guarantee the security of exported keysWe have no way to control blockchain transactions once the single point of failure has been reconstituted. For this reason, this feature is restricted to customers who have signed a contractual addendum limiting our liability for exported keys. Additionally, exported keys can no longer be used to sign within the Dfns platform.Please contact support for more information.
I