Prerequisites
- Existing organization with key import enabled (contact your account team)
- Service account with
Signers:ListSigners,Keys:Import, andWallets:Createpermissions - Private keys exported from your current provider
Planning your migration
Before importing keys, plan your approach:Supported key formats
| Format | Description | Use case |
|---|---|---|
| Raw hex | 32-byte hex-encoded private key | Individual wallet keys |
| BIP-39 seed phrase | 12 or 24 word mnemonic | Master seeds |
| BIP-32 xprv | Extended private key | HD wallet roots |
Import process
See how import works for details on how the SDK secures your keys during import.Get your existing private key
Extract the private key from your current custody provider in one of the supported formats. See below for examples.
Split, encrypt and transmit
Use the SDK import example to split your key into encrypted shares client-side and send the encrypted shares to Dfns. The complete private key never leaves your machine.
Create wallets
Create wallets on specific networks using the imported key. You can create wallets on all compatible networks using the same key so that they share the same address. Note that creating the first wallet with a new key can only be done via API, using the Create Wallet endpoint. For the next wallets you can use the API or the dashboard.
Provider-specific instructions
Migrating from Fireblocks
Migrating from Fireblocks
Fireblocks uses HD (hierarchical deterministic) wallets with a master key from which individual wallet keys are derived. You can import the master key into Dfns and then create derived wallets using the same derivation paths.Fireblocks key structureFireblocks follows BIP-44 derivation paths:Where
coinType is the asset identifier (0 for Bitcoin, 60 for Ethereum) and account is the vault account ID.Export and import processObtain your Recovery Kit
Request your Recovery Kit from Fireblocks. This encrypted backup contains your workspace keys.
Run the Recovery Utility
On an airgapped machine, use the Fireblocks Recovery Utility to decrypt the kit. This produces your extended keys:
- ECDSA keys (secp256k1): standard
xprvformat - EdDSA keys (ed25519): Fireblocks-specific format
Import master key to Dfns
Use the HD wallet import example to import your master key and create derived wallets with the appropriate paths.
Import operations should be performed on a secure, isolated machine. Handle private keys with extreme care and securely delete any temporary files after import.
