Skip to main content

What is a delegated wallet?

A delegated wallet is a wallet where your end user has full control, not your company. Think of it like giving someone the only key to a safe deposit box - you provide the box, but only they can open it. When you delegate a wallet:
  • Only your user can move funds or sign transactions
  • Your company cannot access the wallet’s assets
  • Your user proves ownership using biometrics (Face ID, fingerprint) or a security key

Why delegate wallets?

Regulatory clarity

With delegated wallets, your company does not have custody of user funds. This can simplify regulatory requirements since you’re providing infrastructure, not holding assets on behalf of users.

User trust

Users have cryptographic proof that only they control their wallet. Your company physically cannot move their assets without their explicit approval.

Reduced liability

Since you cannot access user funds, you’re not responsible for securing them against internal threats or being a target for attacks seeking to compromise user assets.

How it works

Architecture

Dfns uses distributed key generation and threshold signatures to secure wallets. Private key shares are encrypted and stored across a decentralized signer network spread across multiple data centers and geographic regions. The wallet private keys never leave Dfns infrastructure - they are not stored on the user’s device. The key insight is that control of the API becomes proof of custody. This control requires both an access token and a signing credential (passkey). In a delegated configuration, the signing credential lives on your user’s device - meaning only they can authorize transactions. This is different from traditional self-custody solutions like MetaMask or Ledger, where users must secure a seed phrase. With Dfns delegated wallets:
  • Users authenticate with familiar biometrics instead of seed phrases
  • If a credential is compromised, it can be revoked
  • If a credential is lost, it can be recovered

Transaction flow

  1. User signs up - They register with your app and set up a passkey (biometric or security key)
  2. Wallet is created - Your system creates a wallet and delegates it to the user
  3. User transacts - When they want to send funds, they approve with their biometric
  4. You can’t intervene - Your company has no ability to approve or block their transactions

User experience

From your user’s perspective, delegated wallets feel like any modern app:
  • Sign up with email or social login
  • Approve transactions with Face ID or fingerprint
  • No seed phrases to write down or remember
  • Can recover access if they lose their device

Recovery

Unlike seed-phrase-based wallets where loss means permanent loss of funds, delegated wallets support recovery:
Seed phrase (traditional)API credential (Dfns)
If lostFunds lost foreverCan be re-established
If stolenFunds stolenCan be revoked
Backup methodWrite down 24 wordsRegister multiple devices

Recovery strategies

Your application should implement ways for end users to register additional credentials:
  • Same device - Users can add another passkey (e.g., a hardware security key) using their existing credential to sign the request. See how this works in the dashboard: Registering a new passkey credential.
  • New device - Users can register a passkey on a different device using a time-limited registration code. See how this works in the dashboard: Onboarding a new device.
  • Recovery credentials - Users store a recovery password securely offline, which can be used to register a new passkey if all other credentials are lost.
For implementation details and code examples, see Implementing end-user recovery.

Trade-offs

Delegated walletsOrganization-managed wallets
User has full controlYour team controls wallets
No spending limits or approval workflowsPolicies can restrict transactions
User responsible for recoveryYou can help users recover access
Regulatory clarity on custodyYou may be considered a custodian

When to use delegated wallets

Good fit:
  • Consumer apps where users expect to own their assets
  • Regulatory environments where custody is a concern
  • Products where user trust and transparency matter
Consider org-managed instead:
  • Treasury or operational wallets
  • Scenarios requiring spending limits or multi-approval
  • When users expect you to help if something goes wrong

White-labeling

Delegation allows you to provide Dfns wallet infrastructure without exposing Dfns to your users. Your backend registers and logs in users to Dfns on their behalf. Users only interact with your app and your brand - no Dfns emails, no Dfns branding. When users need to sign transactions, your app prompts them for their passkey directly.
End users are first-class citizens in Dfns. Once registered, they could use the Dfns APIs directly if they access their auth token. Carefully review your policies and controls.

Learn more