Book a free call

How to Develop a Bitcoin Wallet App That People Trust

A Bitcoin wallet app holds keys, builds transactions and talks to the Bitcoin network. Build it around key safety, clear fees and a testnet first.

Hertiv engineering teamReviewed by a senior engineer
10 min read
How to Develop a Bitcoin Wallet App That People Trust
On this page

Short answer

A Bitcoin wallet app is software that creates and guards private keys, builds and signs Bitcoin transactions, and talks to the Bitcoin network so a user can check a balance and send or receive funds. It does not hold the coins themselves, which live on the blockchain; it holds the keys that prove ownership of them, and that is why trust is the whole product.

What is a Bitcoin wallet app?

A Bitcoin wallet app is software that creates and guards private keys, builds and signs Bitcoin transactions, and talks to the Bitcoin network so a user can check a balance and send or receive funds. The coins themselves never sit in the app; they live on the blockchain as unspent outputs, and the app holds the keys that prove ownership of them.

When a user receives bitcoin, the app watches the network for outputs paid to its addresses and adds them to the balance. When a user sends bitcoin, the app picks unspent outputs, builds a transaction, signs it with the private key and broadcasts it. The signature is what proves the sender owns the funds, and the network checks it before the transaction is confirmed.

The app also has to explain itself. A wallet that shows a balance but hides the fee, the address type or the backup status will lose users the first time something goes wrong. The best wallets show the fee before the user confirms, label the address type in plain words, and remind the user to back up the recovery phrase before the first deposit arrives.

A Bitcoin wallet is different from a wallet for other chains because Bitcoin has its own transaction model. Bitcoin uses unspent transaction outputs, known as UTXOs, instead of account balances, and it uses its own address formats and script types. A team that copies a design from an account-based chain will build the wrong thing, so the first design decision is to learn the Bitcoin model properly.

Which type of Bitcoin wallet should you build?

The type of wallet decides who holds the keys, who can recover the funds and who is responsible when something goes wrong. Most teams build one of four types, and the choice should be made before any code is written, because it changes the architecture.

Wallet typeWho holds the keysBest for
Non-custodialThe user, as a recovery phraseUsers who want full control
CustodialThe company, on the user's behalfSimple onboarding, fast support
Multi-signatureSeveral keys, a set number must signShared funds, business treasuries
Hardware-pairedA hardware device, app is the screenLarge balances, long-term holding

A non-custodial wallet gives the user a 12 or 24 word recovery phrase, known as a BIP39 mnemonic, from which all keys and addresses are derived. The company never sees the phrase, which is good for privacy, but it also means the company cannot recover the funds if the user loses the phrase. The app must make that trade-off clear before the first deposit.

A custodial wallet holds the keys on the user's behalf, which makes onboarding easy and lets support reset access, but it also makes the company a target and a regulated custodian in many markets.

A multi-signature wallet splits control across several keys, so a thief needs more than one key and a lost key does not mean lost funds. A hardware-paired wallet keeps the keys on a device and uses the app only as a screen, which is the safest option for large balances.

Most successful consumer wallets are non-custodial with an optional multi-signature upgrade for larger balances. That combination keeps the first version simple while giving serious users a path to stronger security. For the trade-offs in more detail, see custodial vs non-custodial wallets.

How do you build a Bitcoin wallet app, step by step?

Building a Bitcoin wallet app is a sequence of seven steps, and the order matters: the key and backup design comes first, because everything else depends on it.

  1. Choose the key model. Decide the wallet type, the recovery phrase length and whether the app supports multi-signature. Write down who can recover the funds and what happens when a device is lost.
  2. Generate keys the right way. Use a vetted library to create the BIP39 mnemonic and derive keys with BIP32 and BIP44, and use SegWit addresses, which cost less in fees than older address types. Never write your own random number generator or key derivation code.
  3. Connect to the network. Decide whether the app runs its own node, uses a trusted node provider, or uses a light client. A node provider is faster to build with, but the app then trusts that provider for the balance and the transaction history.
  4. Build transactions. Implement UTXO selection, fee estimation and transaction signing, and use Partially Signed Bitcoin Transactions, known as PSBTs, for multi-signature and hardware signing. Test the fee estimator against real network conditions, because a fee that is too low leaves a transaction stuck.
  5. Build the interface. Design the screens for creating a wallet, backing up the phrase, receiving funds, sending funds and checking history. Show the fee, the destination and the amount on one screen before the user confirms a send.
  6. Test on testnet. Run the whole flow on Bitcoin testnet, where the coins have no value, and test the failure cases: a lost device, a wrong address, a fee spike, a network outage and a restore from the recovery phrase.
  7. Audit and launch. Get an independent security audit of the key handling and the signing code, publish the audit summary, and launch with a small group of users before opening the app to everyone.

The audit is not optional for a wallet. A bug in a normal app loses data; a bug in a wallet loses money that cannot be recovered. The audit should cover the key generation, the signing path, the backup flow and the way the app stores secrets on the device. A wallet that stores keys in plain text or sends them to a server has already failed.

See how to secure a crypto wallet for the checks a user should run on any wallet.

How do you keep keys and funds safe?

Keeping keys safe starts with never letting a private key leave the device in plain text. Keys should be generated on the device, encrypted with a key derived from the user's passcode or biometrics, and stored in the operating system's secure storage, such as the iOS Keychain or the Android Keystore. The server should never see a private key or a recovery phrase.

The recovery phrase is the second line of defence. The app should show it once, ask the user to write it down on paper, and then ask the user to confirm a few words from it before the wallet is activated. A screenshot warning helps, because a phrase stored in a photo gallery or a cloud backup is a phrase that can be stolen.

The app should also offer a passphrase, known as a BIP39 passphrase, which creates a separate hidden wallet for users who want one.

For larger balances, multi-signature and multi-party computation are the standard answers. A 2-of-3 multi-signature wallet needs two of three keys to sign, so a single lost or stolen key does not lose the funds. Multi-party computation splits a single key across parties so no one party ever holds the whole key. For the setup in detail, see how to set up an MPC wallet.

Transaction safety matters as much as key safety. The app should check that the destination address is valid, warn the user when an address has never been used before, show the fee in both bitcoin and the local currency, and require a confirmation step for large amounts. A small delay and a clear summary screen prevent more losses than any amount of cryptography.

Finally, the team needs a plan for the day something goes wrong. If a vulnerability is found, the team must be able to warn users, push a fix and help affected users move their funds. A wallet without an incident plan is a wallet that will panic on its worst day.

What does a Bitcoin wallet app cost to build?

A Bitcoin wallet app costs more than a simple app because the security work is most of the budget. As an indicative range, a first version with one wallet type, send and receive, a recovery phrase and a basic history screen costs $70,000 to $200,000.

A full app with multi-signature, hardware pairing, exchange integration and a polished interface costs $200,000 to $500,000. These are planning ranges, not quotes, and the audit is a large part of the cost.

The team is the biggest line. A wallet needs a mobile developer, a backend developer who understands Bitcoin, a designer and a security reviewer, and the security reviewer should be independent of the team that wrote the code. A team that tries to build a wallet with one generalist developer will cut the corners that matter most.

The audit is the second biggest line. A competent audit of a wallet's key handling and signing code costs $10,000 to $50,000 depending on the scope, and it should be repeated after any major change to the signing path. A team that treats the audit as a one-off expense has misunderstood what it is for.

Running costs are modest at first: a node provider or a small server, crash reporting and support. The costs grow with the user base, because support for a wallet is harder than support for a normal app. A user who cannot see a deposit will contact support within minutes, so the team needs people who can read a transaction on a block explorer and explain what they see.

One cost that teams forget is compliance. A non-custodial wallet is usually not a regulated custodian, but a custodial wallet is, and the rules differ by market. The team should get legal advice on its own model before launch, not after a regulator asks. For the development side, crypto wallet development covers what a build team needs to plan.

Example (hypothetical): a team ships a first version

Example (hypothetical): a team of two developers, one designer and one part-time security reviewer plans a non-custodial Bitcoin wallet. The build takes 12 weeks, and each developer costs $3,000 a week, so the development cost is 2 developers times 12 weeks times $3,000, which is $72,000.

The designer costs $8,000 for the full interface, and the security audit of the key handling and signing code costs $10,000. The total build cost is $72,000 plus $8,000 plus $10,000, which is $90,000. The team also budgets $5,000 for the node provider, crash reporting and the launch, which brings the first-year spend to $95,000.

In the first three months after launch, 5,000 people download the app and 1,000 of them deposit funds. Support handles about 200 messages a month, mostly about the recovery phrase and about deposits that have not confirmed yet. The team spends the first month fixing the fee estimator, because users on a busy day were paying more than they needed to.

The lesson the team takes away is that the build was the easy part. The hard part was the support load and the fee work, and both were underestimated in the plan. A wallet team that budgets for support from day one will have a calmer launch than a team that treats support as an afterthought.

What are the common mistakes?

The most common mistakes are writing custom cryptography, storing keys badly, and shipping without an audit.

  • Custom cryptography. Never write your own random number generator, key derivation or signing code. Use vetted libraries and let the audit check how you use them.
  • Plain-text key storage. Keys stored in plain text on the device or sent to a server are already compromised. Use the operating system's secure storage and encrypt with a key from the user's passcode.
  • Skipping the audit. A wallet that has never been audited is a wallet that is asking users to trust an untested promise. Audit the signing path and publish the summary.
  • Hiding the fee. A wallet that does not show the fee before the user confirms will generate angry support tickets the first time the network is busy.
  • Weak backup flow. A wallet that lets a user deposit funds before confirming the recovery phrase will lose users' money when a phone is lost. Confirm the backup first.
  • Testing only the happy path. Test the lost device, the wrong address, the stuck transaction and the restore from the phrase. The failure cases are where wallets lose money.

Key takeaways

  • A Bitcoin wallet app holds keys, not coins; the keys are the product
  • Non-custodial, custodial, multi-signature and hardware-paired wallets solve different problems
  • Keys must be generated on the device, encrypted, and never sent to a server
  • Test the whole flow on testnet, including the lost device and the stuck transaction
  • Budget for the audit and for support, not just for the build

Frequently asked questions

What is a Bitcoin wallet app?

A Bitcoin wallet app is software that creates and guards private keys, builds and signs Bitcoin transactions, and talks to the Bitcoin network so a user can check a balance and send or receive funds. The coins themselves live on the blockchain as unspent outputs, and the app holds the keys that prove ownership of them.

Is a Bitcoin wallet custodial or non-custodial?

It can be either. A non-custodial wallet gives the user a recovery phrase and the company never sees the keys, while a custodial wallet holds the keys on the user's behalf and can reset access. Non-custodial gives the user control, custodial gives the user support, and each suits a different audience.

What is a recovery phrase?

A recovery phrase is a list of 12 or 24 words, known as a BIP39 mnemonic, from which all of the wallet's keys and addresses are derived. Anyone with the phrase can recreate the wallet, so it must be written down on paper and kept offline, never stored in a photo, a cloud note or a chat message.

What is a UTXO?

A UTXO is an unspent transaction output, which is how Bitcoin tracks ownership. A wallet's balance is the sum of the unspent outputs paid to its addresses, and sending bitcoin means spending some of those outputs as inputs to a new transaction. This is different from the account balances used by most other chains.

How long does it take to build a Bitcoin wallet app?

A first version with one wallet type, send and receive, a recovery phrase and a history screen takes about 12 weeks for a small team, plus the time for an independent security audit. A full app with multi-signature, hardware pairing and exchange integration takes several months longer.

Do I need a licence to build a Bitcoin wallet app?

It depends on the model and the market. A non-custodial wallet is usually not a regulated custodian, but a custodial wallet is, and the rules differ by country. Get legal advice on the chosen model before launch, because the wallet type decides the legal position.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: blockchain systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Building a Bitcoin wallet? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Crypto Wallet service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call