Some newer finance apps try to be two things at once: a normal bank account and a crypto wallet. You can get your salary in, save, spend with a card and hold a bit of crypto, all in one place.
From the outside it looks simple. Behind the screen, your money takes a short journey every time it moves, and each step of that journey works a little differently.
I worked on the backend (the part of the app you never see) of one of these apps. This post walks through that journey slowly, one step at a time. You don't need to know anything about crypto to follow it.
In short: every dollar that enters the app becomes the same digital dollar. Moving it inside the app takes seconds; moving it to or from a bank takes days. A small safety check sits on every step, and a different partner company handles each part of the journey.
A few words first
Three terms come up again and again, so here they are in plain words.
A blockchain is a shared public record of who owns what. Moving money on it takes seconds, any day of the week.
A stablecoin is a digital dollar that lives on a blockchain. One stablecoin is meant to be worth one US dollar, so its value doesn't jump around like other crypto.
A wallet is your account on the blockchain. It holds your coins, and nothing can leave it unless the wallet approves. In this app, every user got a wallet automatically when they signed up, made by a company called Privy, so nobody had to install anything or write down a secret phrase.
That's all you need. Here is the whole journey in one picture, and then we'll go through it piece by piece.
Money comes in on the left, sits in one cash account in the middle, and goes out on the right. Dashed lines are slow (days), solid lines are fast (seconds).
Step 1: money comes in, and it all becomes the same thing
There are three ways to add money to the app.
You can send money from your bank. The app gives you bank account details in your name, you transfer to them like you would pay anyone, and a company called Bridge, which connects bank money and stablecoins, converts the dollars into stablecoins.
You can pay with a debit card. Here the app hands you over to Stripe's crypto on-ramp, a checkout screen where you buy stablecoins with a card.
Or you can send crypto from somewhere else. It arrives in your wallet, Privy lets the app know, and the app moves it into your cash account for you.
Notice what all three have in common. However the money arrives, it ends up as the same thing: digital dollars in one cash account.
That turned out to be one of the most useful choices in the design. With one kind of money in one place, there is only one balance to show you and one set of records to keep correct. Every feature added later, like savings or the card, starts from that same cash account.
A closer look: adding a coin that isn't a digital dollar
Here is where "one kind of money" gets tricky. The cash account only understood one coin: USDC, the most common dollar stablecoin. But we didn't want to tell users "send us USDC or nothing". People hold all sorts of coins, on all sorts of blockchains.
So the app accepted the coin you had and changed it for you on the way in. You add, say, some ETH. The app swaps it for USDC, on the same blockchain or across to another one, waits until the USDC has actually arrived, and then moves it into your cash account. You see digital dollars land. You never had to do the swap yourself.
That raises a question most users never think about: who pays for the swap?
Every move on a blockchain costs a small network fee, often called "gas". And gas has to be paid in that blockchain's own coin (ETH on Ethereum, for example), not in USDC. A user who only holds the coin they're depositing may not have any spare ETH for gas, and asking them to go and buy some first would kill the whole idea.
Here is how the app answered it:
- The swap service's own fee is built into the swap price. You simply get slightly less USDC out, and the quote shows that before you confirm.
- The gas is paid by the app, in the blockchain's own coin, through Privy (or through Alchemy, a blockchain infrastructure company, for wallets linked from elsewhere). You don't need any ETH.
- The app gets that cost back by working out what the gas was worth in USDC and taking that small amount from what lands in your cash account. So the cost is covered, but in the one currency you actually hold.
That's one feature. Almost every feature in the app had a question like this hiding inside it: which coin pays, who waits, what happens if a step fails halfway. Answering those questions, one at a time, was most of the work.
Step 2: some money is fast and some is slow
Here is something that surprises people. Inside the app, moving money takes seconds. Moving money to or from a bank takes much longer.
Banks in the US move money through a network called ACH. Even its fastest option, Same Day ACH, promises payments within hours on the same business day. Weekends and holidays are not business days, so money sent on a Friday evening can take until the next week.
The same Friday evening on two clocks.
So one app runs on two speeds, and that creates a very human problem: the word "pending".
We saw it with the card, which was issued through a card company called Rain. When you buy something with a card, the purchase stays officially "pending" until the shop finishes processing it, which can take a few days. (If you want the full story of what happens between the tap and the shop getting paid, I explained it in what happens when you tap your card.) Our users saw a purchase they had clearly made, still labelled pending, and thought something had gone wrong.
We changed what the app shows. For card purchases, a charge that hasn't finished processing now shows as completed. The app still checks the real status every time, so if a purchase is later cancelled or declined, it switches to failed. We kept "pending" for money moving onto or off the card, because there it really does mean "not finished yet".
What the card company says, and what the app chose to show.
The lesson for me was that a status on the screen is a small promise to the user. It's worth choosing each one on purpose.
Step 3: where the money can go next
From the cash account, money can go a few places.
Savings. You can move money into a savings pot that earns interest. The pot lends the dollars out through Aave, a large lending service on the blockchain, and the interest comes from that lending. The interest isn't typed into the app's own records. The app works it out fresh each time you look: what your savings are worth now, minus what you put in. Because of that, there is only one true number, and nobody can accidentally change it. (I've written before about why a number that only looks right is dangerous, and this is the same idea.)
A spending card. To use the debit card, you move money onto it. Behind the scenes, those digital dollars go to Rain, the card company, which holds them while you spend.
Other coins. You can also swap your digital dollars for other crypto coins, even ones that live on a different blockchain. Swap services quote different prices for the same trade, so the app asked several at once (deBridge, LI.FI and Uniswap, plus Jupiter on the Solana blockchain) and took the best price. For moves between blockchains, it used deBridge or LI.FI.
Back to your bank. You can also cash out. Bridge swaps the digital dollars back into regular dollars and sends them to your bank account. You can type in your bank details by hand, or link your bank with Plaid, the service many US finance apps use to connect bank accounts. This is the slow direction again, so it takes days, not seconds.
A note on fees. Each of these steps involves a different company, and each can charge a small fee. The network fee works the same way as in the closer look above: the app pays it in the blockchain's own coin and takes the cost back in digital dollars, so you never need a second coin just to send money.
Step 4: whose wallet is it?
Crypto apps come in two broad kinds. In a "custodial" app, the company holds the coins for you, the way a bank holds your deposit. In a "non-custodial" app, the wallet is yours: transfers need your wallet's approval, and the company's role is to ask for it.
This app was built the second way. You give the app permission once, through Privy, and after that the app asks your wallet to approve each transfer.
Neither kind is automatically safer. They put the responsibility in different places, and they come with different rules, which is where the next two steps go.
Step 5: safety checks along the way
Finance apps have to follow rules about who can use them and where money comes from. You might picture this as one check when you sign up. In practice there is a small check at almost every step:
- your identity is checked (with a service called Persona, which looks at your ID and a selfie) before a bank transfer can come in;
- limits are checked before money moves into your cash account;
- you agree to the risks before putting money into savings;
- your identity and country are checked before a card is issued;
- where the money came from is checked before it goes out to a bank. This is called KYT, short for "know your transaction": the app keeps track of where each dollar entered, so it can show that money leaving is clean, and it registers each payout with Chainalysis, a company that traces money on blockchains.
Those are the small red labels in the picture. Each one is there to protect you, the app, or both.
Step 6: the laws behind the checks, and who handles which
Those checks aren't there because anyone enjoys paperwork. Each one comes from a law, and each partner in the app carries part of the load. I'm an engineer, not a lawyer, so this is the plain-words version I worked with day to day.
Before the details, a short detour to where I first learned this side of finance.
Where I learned it: NayaPay. NayaPay is a digital wallet in Pakistan. It's an EMI, an electronic money institution: a company the State Bank of Pakistan has licensed to hold digital money for people, without being a full bank. I worked on its business side, building the onboarding for individuals, merchants and companies, and nobody's account went live until their checks passed.
For a person, that check is KYC, "know your customer": proving you are who you say you are. For a business, it's KYB, "know your business": proving the business is real and knowing who owns and runs it. In practice, it meant documents the app had to collect and check:
- A person: their CNIC (Pakistan's national identity card), plus their mother's and father's CNICs.
- A business: its registration with the FBR, the Federal Board of Revenue, which is the tax authority.
- A company: its filings with the SECP, the Securities and Exchange Commission of Pakistan, where companies are registered.
- A partnership-style business (an AOP, "association of persons"): its AOP registration.
Every one of those was a field, an upload and a rule in the onboarding I built.
At NayaPay, all of that lived inside one licensed company, answering to one regulator. The bank-plus-crypto app was different. The same duties were split across several partners, and part of my job was knowing which partner covered which duty, and which ones stayed with us.
In the US, the base rule is the Bank Secrecy Act. In simple terms it says: if you move money for people, you must know who they are, watch for suspicious activity and keep records for years. Next to it sit sanctions: the government keeps a list of countries, people and crypto addresses you may not deal with, run by the Treasury's OFAC. The app refused requests coming from sanctioned places before they reached anything else.
Here is how the rest was split.
Persona: proving who you are. Persona checks your ID and takes a selfie. That covers "know who they are". But a selfie is biometric data, and some US states, Illinois first among them, require your written agreement before it's taken. So the app asks you to accept a biometric notice as its own step, and won't start the check until you have.
Rain: the card. A card program has rules on top of the law, from the card network and from Rain itself. Before you get a card, you accept Rain's card terms and an E-Sign consent (the US law that makes clicking "I agree" count as a signature), and the app checks your country, because the card isn't offered everywhere. For the documents Rain needs, the app sends you to Rain's own hosted screen instead of collecting them itself. That was on purpose: whoever collects ID documents must store them safely for years and report any breach, so not collecting them means fewer rules land on the app.
Privy: the wallets. Privy provides the users' wallets, and transfers need the wallet's approval. Whether an app counts as custodial or non-custodial changes which rules apply to it, because many money rules are written for businesses that hold other people's funds.
Bridge: money in and out of banks. Bridge turns bank dollars into digital dollars and back, so it runs its own identity check on each customer before it opens their bank details. When money leaves for a bank, the Travel Rule applies: details about the sender and receiver travel with the payment, like a label on a parcel. The app sends those details to Bridge with each payout and keeps a record of every submission.
Stripe: buying with a card. When you buy stablecoins with a card, you leave the app and enter Stripe's screen. The app must tell you that first, so it shows a short notice and records which version of the notice you saw before it opens Stripe.
Plaid: linking your bank. Plaid can see details of your bank account, so before you connect it, the app shows a notice explaining what data is shared and asks you to accept the bank-linking terms.
Chainalysis: checking the money itself. People are checked by Persona; money is checked by Chainalysis. Before a payout goes to a bank, the app registers the transfer with Chainalysis and can hold or block it if the money looks risky.
The swap services: deBridge, LI.FI, Uniswap, Jupiter. These move coins between blockchains or swap one coin for another. They don't know who you are, and they aren't meant to. That's exactly why the checks about you have to live in the app.
What stays with the app. The pattern I took away from both jobs: a partner can do part of your compliance, but never all of it. Whoever owns the customer relationship still owns the question "who is this, and where did this money come from?"
The whole journey, in one sentence
Money comes in from a bank, a card or crypto, becomes digital dollars in one cash account, and goes out to savings, a card or back to a bank, with a check at each step and a different speed depending on whether a bank is involved.
If you're building something like this, or just using one, I hope the picture makes the "pending" labels and the waiting times a little less mysterious.
A thank you
I want to end with the people, because none of this was built by one person.
The engineering team was seriously talented. The product team kept coming up with ideas for the screens that made hard things feel simple, like adding any coin and simply seeing dollars arrive. The compliance team knew the regulations inside out, and they were patient with an engineer who kept asking "but why does the rule say that?" And the stakeholders trusted us with something difficult: a product that had to work like a bank and like a crypto wallet at the same time.
This project changed how I think about building software. I learned to look at the same architecture from several angles: the user's, the partner's, the regulator's, and the blockchain's. I learned to think of a hundred ways a transaction can fail, get stuck halfway or go missing, and to design for each of them. That matters more on a blockchain than anywhere else, because there is no simple undo: reversing a move usually means a new transaction, with its own network fee and sometimes a swap fee on top. So you try hard to get it right the first time, and you make sure that when something does go wrong, the money is always somewhere you can find it.
Working across traditional banking and digital money, in practice and not just on paper, was one of the best learning experiences of my career. Fintech and data are close to my heart. Money touches everyone's life, and when it moves correctly, quickly and safely, a lot of people quietly benefit without ever thinking about it.
I would happily do this kind of work again. If you are building something where banks and blockchains meet, I'd love to hear about it.




