7Block Labs
Blockchain Technology

ByAUJay

Introduction to Web3 Wallets: Custodial vs. Non‑Custodial

The specific headache you’re probably feeling

Your exec sponsor's given the green light for a 2026 pilot, but we've got some important boxes to check: we need to create a wallet UX that your customers will actually want to use, make sure we pass the SOC2 Type II review, and avoid any hiccups with MiCA/Travel Rule as we look to expand into the EU. Right now, Engineering is caught in a bit of a bind:

  • When picking a custody model (custodial, MPC co‑custody, smart-contract/non‑custodial), make sure you’re steering clear of vendor lock-in or any compliance gaps.
  • Keep in mind how to handle signatures from smart wallets (EIP‑1271) since they don’t act like regular EOAs, particularly during those tricky “counterfactual” pre‑deployments or upgrades. (eips.ethereum.org)
  • You’ll want to factor in Ethereum’s post‑Dencun economics (EIP‑4844 blobs) because they’re shifting L2 cost models and messing with your unit economics. (thedefiant.io)
  • Don’t forget about meeting procurement requirements: you’ll need SOC2 Type II from vendors, FIPS 140‑3 HSMs, solid SLAs, and DORA‑aligned third‑party risk controls. (trust.fireblocks.com)
  • And let’s make sure we steer clear of another “Ledger Connect Kit” fiasco--those supply chain nightmares can really drain wallets and sink trust. (ledger.com)

Legal has highlighted some new MiCA obligations that are coming up. Specifically, there are the December 30, 2024 CASP rules and the €1,000 Travel Rule verification for self-hosted wallets. These changes will have a direct impact on how you structure wallet flows and KYC processes. Check out more details here.

What’s at risk if you choose wrong

  • Missed timelines: You might run into issues with smart-wallet logins where the dApp only checks for ECDSA (ecrecover) and totally skips EIP‑1271. Plus, pre-deploy signatures can break if they don’t have ERC‑6492 wrappers, and stale signatures can get invalidated when wallets upgrade without an ERC‑5719 replacement hook. This is the classic “it worked on testnet” scenario--until you hit Prod Week 1. (eips.ethereum.org)
  • Budget blow-ups: After Dencun, L2 fees took a nosedive, but watch out--your calculations might still be stuck on calldata pricing instead of accounting for blob fees. Paymasters can shift gas costs onto you, and if you don’t set limits or quotas, you might end up covering way more than you intended. (thedefiant.io)
  • Compliance escalations: The EU Travel Rule is in full swing, meaning you need to verify ownership for any transfers over €1,000 to self-hosted wallets. The CASP obligations under MiCA are also live, with different transitional windows for member states. Missing the mark on this could lead to blocked withdrawals, which is more than just a “paper risk.” (eba.europa.eu)
  • Security exposure: Watch out for those indiscriminate Permit2/time-unbounded approvals--they can lead to “silent drains.” Plus, supply-chain libraries in wallet connectors could be replaced at build or through the CDN, and if users are still relying on seed phrases, account takeovers are way more likely than if they used passkeys. (blog.uniswap.org)

Bottom line: choosing the wrong custody and signature options can lead to a chain reaction of issues like failed SOC2 audits, MiCA remediation, and delays in getting your product to market--long before you even think about ROI.


7Block Labs methodology that de‑risks wallet decisions in 90 days

We customize the custody spectrum to match your controls, not just our beliefs. For Enterprise, this usually involves a mix:

  • We offer custodial or co-managed MPC/TSS solutions for treasury and high-value transactions. These options come with processes that are auditable and reference SOC2 standards.
  • For retail users looking for an easy experience and scalability, we provide non-custodial smart accounts, complete with safety measures like paymasters, session keys, and policy engines.
  • Our keys are anchored with HSM, ensuring they work seamlessly with verifiable signatures across EIP‑1271, ERC‑6492, and the new EIP‑7702 paths after Pectra. You can check out more about it here.

We operate through four main tracks, and each one is aligned with procurement artifacts, SLAs, and business KPIs.

1) Custody architecture and controls (SOC2, HSM/FIPS, DORA)

  • MPC/TSS: We set up quorum policies using the latest threshold schemes like FROST and MuSig2 when it makes sense. This keeps the private key from living in one spot and helps us refresh shares to cut down on insider risks. Plus, we make sure vendor RFPs line up with SOC2 Type II and DORA disclosures. (ietf.org)
  • HSM posture: When needed, we bring in AWS CloudHSM or Azure Managed HSM to meet FIPS 140‑3 Level 3 standards. We also link key ceremonies and dual-control processes to your audit evidence. (aws.amazon.com)
  • Vendor short-list: We’re all about MPC custodians who have public SOC reports and trust centers. For instance, the Fireblocks Trust Center shows off their SOC2/ISO coverage. We require access to these reports under NDA during the procurement process. (trust.fireblocks.com)

Deliverables:

  • A control matrix that links SOC2/ISO/DORA to wallet operations.
  • A RACI chart outlining responsibilities for key ceremonies, incident response, and recovery.
  • An evidence pack including key lifecycle documents, access reviews, and disaster recovery tests, all set for auditors.

2) Smart account compatibility and gas economics (EIP‑4337, EIP‑7702, EIP‑4844)

  • Account Abstraction: We're diving into ERC‑4337 EntryPoint flows, which involve bundlers and paymasters. Plus, we're gearing up for EIP‑7702 where it's live (think Pectra, which goes active on May 7, 2025). This upgrade lets externally owned accounts (EOAs) temporarily function like smart contracts, opening the door for batching, sponsored gas, and better recovery--all without having to change addresses. Check out more on Cointelegraph.
  • Cost Model: After the Dencun update, Layer 2 fees took a nosedive, dropping between 50% and 98% since blob space is now taking over for calldata. We’re breaking down the savings for each action and setting limits and quotas for sponsors through paymaster policies. You can read more about it on The Defiant.
  • Session Keys: We're rolling out some new features like constrained delegation (which includes time, target, and function scopes) with ERC‑4337 wallet modules and session keys. We're also planning for some standardization drift and the ability to swap plugins in the future. More details are available in the ERC 4337 documentation.
  • Compatibility Guardrails: We’re bringing in EIP‑1271 verification for the backend, supporting counterfactual signatures through ERC‑6492, and--this is key--making sure we account for signature replacement via ERC‑5719 when wallets get an upgrade. Learn more on the EIP site.

Deliverables:

  • An L2 fee and gas-sponsorship model that includes budget alerts.
  • Reference code along with tests for validating 1271/6492 and replacing 5719.
  • A rollout plan for supporting 7702 in wallets or chains that can handle it.

3) Identity, KYC, and MiCA/Travel Rule design that doesn’t wreck UX

  • Passkeys for Sign-In: We're all about making your life easier by using platform passkeys/WebAuthn for sign-ins. This slick move has been shown to speed things up by around 70% and boost success rates to about 93%, which is great news for conversion rates! Check out more details here.
  • Travel Rule: We’re also on top of things with the EU Travel Fund Regulation (TFR) for transfers over €1,000. We’ve got your back with ownership verification flows--think proof-of-control, micro-tx “Satoshi test,” or signed proofs--just like the EBA suggests. Read more about it here.
  • zk-KYC: Privacy is key, and that’s why we’re rolling out verifiable credentials (thanks to Privado/Polygon ID) for those who want a privacy-first approach. You can verify things like age, residency, or accreditation--either on-chain or off-chain--without revealing any personal info. This move keeps us compliant with MiCA while making sure the user experience stays smooth. Dive into the details here.

Deliverables:

  • A customer journey map that includes KYC proofs and fallback options.
  • Design for the Travel Rule API and queue (think collecting, verifying, and transmitting info).
  • Artifacts for a data-minimization and retention policy prepared for audits.

4) Secure build and operations (Solidity + supply‑chain hygiene)

  • Solidity Patterns: We're diving into ERC‑2612/Permit2 for approvals that are not just gas-efficient but come with strict expiries and handy revocation runbooks. Plus, we've added simulation tools and on-chain monitors to keep an eye out for any strange allowance changes. Check it out here: (eips.ethereum.org).
  • Supply-Chain Defenses: To boost our security game, we’re pinning package SHAs, turning off runtime CDN loading for wallet connectors, implementing content-integrity checks, and rolling out a “Clear-Sign” UX copy for hardware wallets. All these steps are influenced by the recent 2023 Ledger Connect Kit incident--gotta learn from the past! More info here: (ledger.com).
  • Observability: We’re excited about OpenZeppelin’s open-source Relayer/Monitor, which will give us self-hosted telemetry and transaction control. We're also gearing up to migrate from Defender as it heads towards its 2026 sunset. You can read more about it here: (blog.openzeppelin.com).

Deliverables:

  • A solid threat model along with some smart mitigations (think approvals drainers and connector swaps).
  • CI policies that ensure dependency integrity and promote those reliable, deterministic builds.
  • Comprehensive runbooks covering incident response, how to revoke or rotate keys, and guidelines for customer communications.

A) Custodial vs. non‑custodial reference blueprint (hybrid)

  • Treasury and Institutional Flows

    • Custody: We're using MPC/TSS with a quorum m‑of‑n setup, and it's co-managed alongside our HSM root of trust.
    • Controls: Got our SOC2 Type II attestation in place, plus HSM FIPS 140‑3 Level 3 compliance and DORA reporting. You can check it out here: (trust.fireblocks.com)
  • Consumer/Partner UX

    • Smart Accounts: We've got smart accounts (ERC‑4337/7702) that allow for passkey login and paymaster-sponsored onboarding. Plus, we’re using session keys for those batched or background actions. For more details, visit: (docs.erc4337.io)

Where we lend a hand:

B) Signature‑compatibility shim for smart wallets (Node/ethers)

Your login/backend needs to check both EOAs and contract wallets:

// Pseudocode: universal signature verify
async function verifySignature(address, digest, sig) {
  const code = await provider.getCode(address);
  if (code === '0x') {
    // EOA path
    const recovered = ethers.utils.verifyMessage(ethers.utils.arrayify(digest), sig);
    return recovered.toLowerCase() === address.toLowerCase();
  }
  // SCW path: EIP-1271
  const wallet = new ethers.Contract(address, ['function isValidSignature(bytes32,bytes) view returns (bytes4)'], provider);
  try {
    const res = await wallet.isValidSignature(digest, sig);
    return res === '0x1626ba7e'; // magic value per EIP-1271
  } catch {
    // Optional: detect and unwrap ERC-6492 predeploy wrapper before retry
    return false;
  }
}

Why This Matters

So, here's the deal: a ton of “Sign in with Ethereum” processes still rely solely on ecrecover. But smart accounts are different; they respond with magic bytes through isValidSignature and can even handle pre-deployed signatures thanks to ERC-6492. If you build this once, your login will stop crashing on AA wallets. Check out more about it here.

C) Permit2 with expiry and revocation runbook

  • Go with Permit2 for shared allowances, but make sure to enforce:
    • Maximum allowance caps, short expiry times (like 30 days), and scopes for each spender.
    • A “Revoke approvals” link that customers can see, leading to explorers’ approval checkers.
    • Set up monitoring to alert you about any unusual allowance spikes or new spenders. (blog.uniswap.org)

D) Gas sponsorship you can budget

  • Post-Dencun Fee Reality:

    • So, here’s the scoop: Layer 2 fees have taken a nosedive, dropping anywhere between 50% to 98%. For Uniswap, median swap fees fell by around a whopping 96% right off the bat! One interesting tidbit? Blob fees are now in their own marketplace, and they often cost way less than calldata. This could be a solid reason to push for sponsored onboarding and batch flows. Check it out here: (thedefiant.io)
  • Controls:

    • We’re also rolling out paymasters that come with specific quotas based on user, method, and time frames. You’ll see a monthly cap that’s visible to Finance, plus alerts when you hit 80%, 90%, and 100%. For more details, have a look at the docs: (docs.openzeppelin.com)

E) Passkeys improve conversion while reducing support load

  • Data points to frame your business case:

    • You’ll see sign-ins that are about 70% faster and success rates hitting around 93% across big passkey deployments. That’s a quick boost for your funnel throughput! (businesswire.com)
  • Implementation tip:

    • A smart move is to combine passkeys with smart accounts or “base account” models. This way, your users won’t have to worry about managing seeds. Plus, make sure your wallet supports those platform passkeys--like Coinbase’s Base Account/Smart Wallet, which totally does! (help.coinbase.com)

F) MiCA and EU Travel Rule concrete flow

  • For any outbound transactions of €1,000 or more to self-hosted wallets:

    • Make sure to prompt for “ownership verification” using message signing or a micro-transfer. Keep the proof safe and send the necessary originator and beneficiary info to the receiving CASP as per Regulation (EU) 2023/1113 and EBA guidelines. (europarl.europa.eu)
  • For those focused on privacy:

    • Lock features behind Privado/Polygon ID zk-credentials to verify things like residency, age, and accredited status--no need to put any raw personal identifiable information (PII) on-chain. (docs.privado.id)

What to build (and buy) next -- A pragmatic sequence

Decision Memo (Custody Spectrum)

  • Treasury: We're looking at MPC/HSM backed by SOC2 evidence and FIPS 140-3 HSM.
  • Consumer UX: Think smart accounts using passkeys, plus some budget guardrails with a paymaster.

2) Integrations Sprint

  • We're rolling out EIP‑1271/6492 verification in your auth backend, plus adding ERC‑5719 support for those clients that need long-lived signatures. Check out the details here!
  • Don't forget about session keys for constrained delegation--perfect for things like games, loyalty programs, and repeated actions. More info can be found here.

3) Compliance Hardening

  • We've got the Travel Rule proof-of-ownership workflow covered, plus audit trail storage and DORA vendor artifacts sourced from custodians. Check it out here.
  • For KYC attributes where privacy is key, ZK credentials are the way to go (think Privado/Polygon ID). Get all the details here.

4) Supply-Chain and Approvals Safety

  • Let's avoid runtime CDN loads for wallet connectors; instead, we should pin and verify package SHAs.
  • Implement Permit2 with expiries, monitoring, and a user-friendly “revoke” feature. (ledger.com)

Where 7Block Fits In


Prove -- KPIs and GTM metrics we target in a 90‑day pilot

  • Authentication conversion

    • We’re seeing a boost of around 20-30% in login success rates when comparing passkeys to the old-school passwords and seed phrases. That’s based on industry benchmarks showing a 93% success rate and 70% faster sign-ins. Check out more on this here.
  • Cost to serve

    • There’s been a major drop in network costs, between 50-90%, per action on L2 since Dencun came into play. This change allows us to roll out sponsored transactions for onboarding and recovery processes, all while keeping things in check with strict paymaster policy caps. More details can be found here.
  • Compliance readiness

    • We’ve put together a solid evidence pack for SOC2/ISO controls, and a Travel Rule ownership-verification flow is now live. Plus, we’ve got a MiCA CASP-integration map that highlights transitional timelines for various member states. Dive deeper into this topic here.
  • Reliability/security

    • There haven’t been any critical auth regressions for both EOA and AA accounts in our canary tests, covering EIP-1271 and EIP-6492. We’re passing all supply-chain integrity checks, and Permit2 approval expiries are now enforced with a user-friendly revocation experience. You can read more about this here.

We'll start tracking these metrics right from day one and connect them to a straightforward ROI calculation: successful sign-ins multiplied by the conversion rate to funded actions, all while factoring in the reduced gas costs per action.


When to choose custodial vs. non‑custodial (with Enterprise‑grade nuance)

  • Go with “custodial/MPC” if:

    • You’re looking for centralized controls, splitting up responsibilities, and quick audit proofs (think SOC2, SLAs, insurance) for managing hefty balances.
    • You need to enforce withdrawal rules, maintain whitelists, or apply AML blocks in a centralized way across different products.
  • Opt for “non-custodial smart accounts” if:

    • You want a user-friendly experience that scales well (like using passkeys or signing up with social/email) and need programmable guardrails; you can still implement policies through paymasters and session-key scopes.
    • You’d rather not deal with storing PII/seeds while ensuring users stay in control.

Most companies today are going for a hybrid approach and directing their flows that way. We’re all about creating that router and shared policy engine to ensure that Legal, Security, and Growth each get exactly what they need.

If you're done with the strategizing and are ready to dive into building, we've got you covered for the whole journey. We handle everything from custody integrations and compliance paperwork to crafting an awesome front-end wallet experience. Check out our custom web3 development services and asset tokenization solutions to see how we can help!


Technical appendix -- Emerging practices we recommend

  • Go for FROST/MuSig2 in TSS stacks when you can; it cuts down on latency and makes life easier for operators. (ietf.org)
  • Keep an eye on EIP‑7702 (which has been live since May 7, 2025) when you’re setting up your compatibility matrix; don’t just assume it’ll always be 4337-only. (cointelegraph.com)
  • Make sure to build replay-safe approval and signature flows; use chain-bound domains (EIP‑712) and set expirations; also, keep tabs on Permit2 signatures. (eips.ethereum.org)
  • Avoid loading wallet connector libraries from a CDN at runtime; the Ledger Connect Kit incident really showed how big a problem supply-chain compromises can be. (ledger.com)
  • Stick with self-hosted relayers/monitors (like OpenZeppelin OSS) to dodge the risks of single-vendor control planes and get ready for Defender’s sunset on July 1, 2026. (openzeppelin.com)

We’ve worked with teams to create wallets that not only pass audits with flying colors but also thrive with L2 economics. Plus, they have the kind of conversion rates you’d expect from a slick modern app--not just another crypto experiment. If you're looking for a practical blend that ticks all the boxes for Security, Legal, and Growth, we can help you achieve that in just three months.

Ready to Book Your 90-Day Pilot Strategy Call?

Let's get started on your journey! If you're looking to dive deep and strategize for the next 90 days, just grab a slot for our call. It’s a great way to connect and get personalized insights that can really help.

Click the link below to book your call:

Book Your Strategy Call

References

Check out some of the awesome services we provide at 7Block:

Like what you're reading? Let's build together.

Get a free 30-minute consultation with our engineering team.

7BlockLabs

Full-stack blockchain product studio: DeFi, dApps, audits, integrations.

7Block Labs is a trading name of JAYANTH TECHNOLOGIES LIMITED.

Registered in England and Wales (Company No. 16589283).

Registered Office address: Office 13536, 182-184 High Street North, East Ham, London, E6 2JA.

© 2026 7BlockLabs. All rights reserved.