Files
system-design-101/data/guides/digital-wallet-in-traditional-banks-vs-wallet-in-blockchain.md
Kamran Ahmed ee4b7305a2 Adds ByteByteGo guides and links (#106)
This PR adds all the guides from [Visual
Guides](https://bytebytego.com/guides/) section on bytebytego to the
repository with proper links.

- [x] Markdown files for guides and categories are placed inside
`data/guides` and `data/categories`
- [x] Guide links in readme are auto-generated using
`scripts/readme.ts`. Everytime you run the script `npm run
update-readme`, it reads the categories and guides from the above
mentioned folders, generate production links for guides and categories
and populate the table of content in the readme. This ensures that any
future guides and categories will automatically get added to the readme.
- [x] Sorting inside the readme matches the actual category and guides
sorting on production
2025-03-31 22:16:44 -07:00

2.3 KiB
Raw Blame History

title, description, image, createdAt, draft, categories, tags
title description image createdAt draft categories tags
Digital Wallets: Banks vs. Blockchain Explore the differences between digital wallets in banks and blockchain. https://assets.bytebytego.com/diagrams/0087-blockchains.png 2024-02-25 false
payment-and-fintech
Blockchain
Digital Wallets

How does blockchain change the design of digital wallets? Why do VISA and PayPal invest in blockchains?

In banking systems

  • Deposit process: Bob goes to Bank of America (BoA) to open an account and deposit $100. A new account B1234 is created in the wallet system for Bob. The cash goes to the banks vault and Bobs wallet now has $100. If Bob wants to use the banking services of Citibank (Citi,) he needs to go through the same process all over again.

  • Transfer process: Bob opens BoAs App and transfers $50 to Alices account at Citi. The amount is deducted from Bobs account B1234 and credited to Alices account C512. The actual movement of cash doesnt happen instantly. It happens after BoA and Citi settle all transactions at end-of-day.

  • Withdrawal process: Bob withdraws his remaining $50 from account B1234. The amount is deducted from B1234, and Bob gets the cash.

With Blockchains

  • Deposit & Withdraw: Blockchains support cryptocurrencies, with no cash involved. Bob needs to generate an address as the transfer recipient and store the private key in a crypto wallet like Metamask. Then Bob can receive cryptocurrencies.

  • Transfer: Bob opens Metamask and enters Alices address, and sends it 2 ETHs. Then Bob signs the transaction to authorize the transfer with the private key. When this transaction is confirmed on blockchains, Bobs address has 8 ETHs and Alices address has 101 ETHs.

👉 Can you spot the differences?

Blockchain is distributed ledger. It provides a unified interface to handle the common operations we perform on wallets. Instead of opening multiple accounts with different banks, we just need to open a single account on blockchains, which is the address.

All transfers are confirmed on blockchains in pseudo real-time, saving us from waiting until end-of-day reconciliations.

With blockchains, we can merge wallet services from different banks into one global service.