Skip to main content
Dfns uses Multi-Party Computation (MPC) to split wallet private keys into multiple shares, distributed across independent signers. No single signer ever holds the complete private key. Signing requires a threshold of signers to collaborate in a cryptographic ceremony, producing a valid signature without reconstructing the key. MPC is the default key management approach for all Dfns deployment models. The API, SDKs, policies, and features work identically regardless of where the signers run.

Deployment options

You choose where the signers run. Dfns supports three configurations:
Dfns manages all signers in our geographically distributed cloud infrastructure. This is the default and most popular option.
  • All key shares are secured and stored by Dfns.
  • Zero operational overhead for your team.
Fully-managed MPC architecture
You can choose your preferred MPC threshold scheme. We recommend 3-out-of-5, but any configuration can be implemented (e.g. 2-of-3, 4-of-7).

Architecture

The signer network consists of the following components:
ComponentDescription
SignersDfns signer software instances that hold key shares and participate in MPC ceremonies (key generation and signing). Each signer runs as a container or standalone process.
Delivery serverHandles inter-signer communication during MPC ceremonies. In hybrid deployments, Dfns operates the delivery server. In full on-premise deployments, you host it.
DatabaseStores encrypted key shares. Each signer has its own database instance, ensuring no signer can access another’s key shares and avoiding a single point of failure.
Encryption keysKeys used to encrypt and decrypt key shares at rest. When hosting signers on-premise, you manage these encryption keys. In the Dfns Cloud model, Dfns manages them.

Key generation

Distributed Key Generation (DKG) is the ceremony where signers collaboratively generate key shares without any single party ever holding the complete private key. All signers in the scheme must participate.
  1. Your application requests a new wallet through the Dfns API.
  2. The API initiates a DKG ceremony by contacting each participating signer.
  3. Each signer generates its key share locally and communicates with other signers through the delivery server using mTLS.
  4. Once the ceremony completes, each signer persists its encrypted key share in its database.
  5. The public key is returned to your application.

Transaction signing

Only the threshold number of signers need to participate in a signing ceremony.
  1. Your application submits a transaction through the Dfns API.
  2. The API initiates a signing ceremony with the required threshold of signers.
  3. Each participating signer retrieves its encrypted key share, decrypts it, and participates in the MPC signing protocol via the delivery server.
  4. The threshold signature is produced without any single signer holding the complete private key.
  5. The signature is returned to your application.

Threshold schemes

The threshold scheme (t-out-of-n) determines:
PropertyEffect
Signing availabilityOnly t out of n signers need to be online to sign.
Fault toleranceUp to n - t signers can be offline without affecting operations.
SecurityAn attacker must compromise t signers to reconstruct a key.
In a hybrid deployment, you decide how many signers are operated by Dfns versus your organization. For example, in a 3-of-5 scheme, you could host 2 signers and Dfns hosts 3. Neither party alone can sign without the other’s participation.

Add-on features

When running signers on your own infrastructure, additional features are available:
  • Validation gate: Add a pre-signing authorization step where your HTTP handler approves or rejects every transaction before the signer proceeds.
  • Layer 4 disaster recovery: Automatically encrypt key share backups with your own public key and store them in your S3 bucket for independent recovery.

Deploying signers on your infrastructure

If you choose the hybrid or on-premise model, you will deploy and operate Dfns signers in your environment. For the complete implementation guide, including prerequisites, mTLS certificate setup, signer configuration, and operational procedures, contact the Dfns support team at https://support.dfns.co.
Last modified on April 9, 2026