Wallet-as-a-Service: Build vs Buy for Multi-Asset Wallets
By Formance Staff
E-Money
Flows
Loading article content
Loading table of contents
Loading author
_FORMANCE LEDGER/
Test a multi-asset wallet
Formance Ledger is the open-source core ledger to start with. Clone the Formance Ledger from GitHub, model one wallet holding USDC/2 and USDC/6, and post the conversion to the wallet.
Multi-asset wallets now carry fiat and digital assets for the same end customer, and their engineering teams inherit both sets of failure modes. Stablecoin transaction volume rose 72% to a record $33 trillion in 2025. If your product plans include holding United States dollars (USD), euros (EUR), and USD Coin (USDC) side by side, you own those failure modes.
A Wallet-as-a-Service (WaaS) vendor has quoted you key management, custody, and an application programming interface (API). The quote says nothing about who owns each customer's balance inside your omnibus account, or who reconciles those balances against bank and custodian statements every day. If a custodian statement disagrees with your numbers, the contract doesn't say who fixes it.
Build or buy settles who owns those balances and breaks. You can buy some parts of a wallet outright and build others, and your engineers will operate the rest no matter which contract you sign. Decide which parts fall into each group before procurement, or you may buy a key vault and still own the hard part.
What Wallet-as-a-Service covers and what stays with your team
Wallet-as-a-Service offerings can provide key management and custody APIs while leaving balance tracking, omnibus attribution, and reconciliation with your team.
The provider secures private keys and signs transactions. It may not know that customer 8841 owns 500,000 of the USDC held in an omnibus address. That fact lives in your product logic and your omnibus account structure, a single account that holds funds on behalf of many underlying owners.
A multi-asset wallet splits into four layers, and WaaS covers some of them while responsibility for the others may fall to your team like this:
•Key management and custody: The WaaS provider may own key generation, signing, and custody of on-chain assets, while your team keeps the signing policies and incident response for the provider.
•Balances: Per-customer, per-asset balances and the postings that produce them may stay with you. Balance tracking is the work of a core ledger and is a build candidate. A WaaS provider rarely models these balances, so your team must prove who owns each unit within the omnibus account.
•Rail connectivity: On-chain transfers for the vendor's supported chains may come with the contract. Bank and PSP rails for the fiat side may need Connectivity or your own integrations, so buy what the vendor covers and build the rest.
•Reconciliation: Reconciling your balances against bank statements, custodian reports, and on-chain state may remain yours. Your team handles reconciliation either way, whether you build the tooling in-house or buy it.
Balances and reconciliation determine whether your books match the money you hold. Whoever owns the balance layer carries the regulatory and operational risks of inaccurate balances, so the balance layer deserves first scrutiny when building or buying a core ledger.
Formance Ledger is an open-source, programmable core ledger that unifies fiat and digital assets with regulatory-grade traceability for wallet balances. You would build the balance layer on Formance Ledger, so your team controls per-customer, per-asset balances without writing the posting engine yourself. Most Formance customers model wallets directly on ledger accounts.
Formance does not hold or move funds, so custody and payouts still run through your connected providers.
Pros and cons of building a multi-asset wallet
Building a multi-asset wallet gives you full control over the data model, account structures, and release schedule, but it also makes your engineering team permanently responsible for maintenance, duplicate postings, and every break between your ledger and the bank.
Pros of building a multi-asset wallet
Building a WaaS for a multi-asset wallet is effective when the balance layer is part of your product because you control how it behaves.
The main benefit of building is control over the data model, your product plans, and the posting history auditors inspect. You decide how accounts are structured, which states a deposit passes through, and what metadata each posting carries.
Control also pays off in account structures no vendor ships. A lending wallet that splits each repayment across principal, fees, and a partner share needs a chart of accounts shaped around that product. A program that holds promotional credit separately from customer deposits needs balances a generic wallet API will not model.
You also avoid waiting on a vendor's release schedule. If a new market requires a new ownership category or a new payment rail state, your team ships the change when the product needs it.
Building matters most when the balance layer differentiates your product. If customers choose you because of how money moves inside your wallet, owning that logic makes sense.
Cons of building a multi-asset wallet
Most of the cost comes after launch. Maintenance compounds with every new asset, debt takes up the budget, an in-house build takes engineering time, and your on-call engineers absorb every posting that goes wrong.
The first version of a wallet ledger posts transactions. Later versions absorb every new asset, rail, market, and regulatory report. Each addition compounds the code your team must keep correct. Organizations spend an average of 30% of their IT budgets on managing technical debt.
Maintenance also has to catch duplicate postings. A customer requests a USD 10,000.00 withdrawal, the bank's response times out, and your system retries the request. Without idempotency enforcement, the retry posts a second withdrawal, and the customer's balance drops by USD 20,000.00 while the bank statement shows only one payout.
When a duplicate posting appears, your on-call engineer owns the investigation, customer communication, and corrective postings.
Pros and cons of buying a multi-asset wallet
Buying a multi-asset wallet moves key management, custody, and on-chain connectivity off your team and gets you to market faster. Buying leaves per-customer balances, daily reconciliation, and regulatory recordkeeping with you, and it can lock you in unless you test for those discrepancies.
Pros of buying a multi-asset wallet
Vendor infrastructure gets you to market faster. Secure key generation, signing policies, and custody of on-chain assets are specialist work, and a WaaS vendor has already staffed for it. You also inherit the vendor's chain integrations and on-chain rail connectivity, which removes a long list of node, fee, and confirmation details from your backlog.
Ongoing upkeep also moves to the vendor. When a supported chain changes its fee model or confirmation rules, the vendor ships the update, and your team does not have to track it.
A contract also makes cost easier to predict. A vendor price replaces an open-ended engineering budget for the custody layer, and the vendor carries incident response for signing and custody.
Cons of buying a multi-asset wallet
A WaaS purchase does not transfer responsibility for per-customer balances. The vendor holds the keys to the omnibus address, and your regulator still expects you to say who owns every unit inside that address. Insured state nonmember banks, state-licensed foreign bank branches, and state savings associations fall under custody regulation.
Custody providers may hold stablecoin reserves in an omnibus account if the reserves remain identifiable. Identifiability depends on per-owner records, which a key-signing service may not keep.
Daily reconciliation also stays with you. The vendor's balance report is one input to a three-way reconciliation against your ledger and your bank statements, and the vendor may leave your team to investigate breaks on your side.
Lock-in costs more slowly. If per-customer balances and posting history live only inside the vendor's API, leaving means extracting years of history and recalculating balances. You must also prove to auditors that the vendor's posting history is immutable.
Keeping a system of record you control turns a vendor switch into a custody migration, with your balances untouched.
On February 21, 2025, Bybit lost about $1.5 billion in Ether after attackers compromised a developer at Safe{Wallet}, the third-party multisig platform its signers used, and altered the transaction those signers approved. Bybit's systems were not breached, yet Bybit had to account for the loss. A vendor's signing layer can fail without any fault in your code, and your per-owner records show which customers were affected.
How to test a wallet candidate with a multi-asset conversion
Run one multi-asset conversion as postings and check precision, atomicity, and balances to test a candidate wallet.
The test is written in Numscript, Formance's purpose-built language for describing financial transactions. The test example converts USD 500,000.00 into USDC through three postings in a single atomic transaction.
The wallet starts with USD 500,000.00 (50,000,000 cents at USD/2), and treasury holds 500,000 USDC (500,000,000,000 base units at USDC/6). The USD moves to the treasury through a conversion account, then the USDC moves into the wallet.
The output should establish that the wallet holds USDC and no longer holds USD, and that both balances are exact to their respective precision.
@exchanges:conv:cnv001 nets to zero, and @platform:treasury:float holds the customer's USD until settlement against @platform:banks:bankA:main. If you force the third posting to fail, neither earlier posting appears.
Build or buy matrix for Wallet-as-a-Service capabilities
Buying or building a WaaS for multi-asset wallets means comparing operational resources and capabilities on a matrix, with an acceptance test for each capability, before running the vendor evaluation and procurement.
Capability
Buy
Build
Your team operates
Acceptance test
Key management and custody
Yes.
No
Signing policies, vendor incident response.
Vendor exercises key recovery and policy enforcement in your sandbox.
Typed balances
Rarely.
Core ledger with per-asset precision.
Asset definitions as tokens and exponents change.
One account holds USD/2 and USDC/6. Each balance retains its own precision.
Idempotent postings
API-level only, if offered.
Atomic multi-posting writes in the ledger.
Retry policy, idempotency enforcement, and downstream checks.
Replay the same posting request exactly once.
Rail states
On-chain, for supported chains.
Pending, settled, and returned states for fiat rails.
Late returns and stuck deposits.
A deposit is not spendable until the rail confirms it.
Omnibus attribution with daily reconciliation
No.
Per-customer accounts that sum to each omnibus balance.
Daily break investigation.
Customer balances sum to the USD balance reconciled against @platform:banks:bankA:main and match the close-of-business statement.
Provenance
No.
Tag units by funding source.
Restricted-fund policies.
Restricted USDC cannot be spent as unrestricted USDC.
How to choose between building and buying a multi-asset wallet
Buy the layers a vendor can demonstrably own, and build the balance layer when it is central to your product or your regulatory exposure. Score your wallet against these four criteria:
1Product differentiation: If customers choose you because of how money moves inside your wallet, build the balance layer. If the wallet is a supporting feature, a vendor's generic model may be enough.
2Team capacity: Building means permanent maintenance and on-call ownership of balances and breaks. Buy if you cannot staff that work.
3Regulatory exposure: If regulators expect per-owner records and daily reconciliation, you need balances you control, whatever you buy for custody.
4Idempotency coverage: Downstream PSPs and custodians may not have been tested for duplicate postings when a request is retried. If a vendor cannot show duplicate-safe behavior, enforce idempotency in your own retry layer.
Many teams split the stack this way: a vendor for key management, custody, and on-chain connectivity, and a ledger they control for balances and reconciliation. Test your top candidate with the conversion above before you sign.
Why a core ledger is the starting point after deciding to build or buy
Start with a core ledger, because custody, rails, and reconciliation all report against per-customer, per-asset balances, and those balances exist only in your ledger. If the ledger is wrong, the signing service is still correct, and your books are still wrong.
Open source lowers the risk of starting there. Your engineers can read the code, run it in their own environment, and test it against your own cases before anyone signs a contract. You control where you deploy the ledger, and you are not locked into a vendor's API or posting history.