DApps
Decentralized applications on the blockchain
Definition
A Decentralized Application (DApp) is a software application that runs on a blockchain network using smart contracts, rather than on centralized servers controlled by a single company. DApp have a backend of smart contracts deployed on a blockchain, a frontend (typically a web interface), and connect to users through cryptocurrency wallets that serve as both identity and authentication.
DApp differ from traditional apps in fundamental ways. They are open-source (anyone can verify the code), decentralized (no single entity controls the application), transparent (all transactions are visible on the blockchain), and censorship-resistant (no company can block your access). Users do not create accounts or submit personal data — they connect their wallet and interact directly with smart contracts. This gives users ownership of their data and assets within the application.
Real-Life Example
Think of a traditional app like Facebook. Facebook owns your data, controls what you see, and can ban your account at any time. You are a user in their system. A DApp like Uniswap (a decentralized exchange) has no company behind it — the smart contracts run on Ethereum, and anyone can use them by connecting a wallet. There is no sign-up, no KYC, no one who can block you. The developers who created Uniswap did not retain special control over it; the application is now owned by its community.
A concrete example: In 2022, a freelance graphic designer in the Philippines started using DApp for their work. They receive payments in cryptocurrency through a DApp wallet, trade it on decentralized exchanges when they need local currency, participate in a DAO that governs a design platform, and use a decentralized storage DApp (IPFS) to host their portfolio. They have no bank account, no employer, and no government-issued business license — yet they run a fully functional international design business using only DApp.
Interactive Diagram
Launch the interactive diagram to see this in action.
Open Interactive DiagramThe interactive diagram for this chapter demonstrates Real-World Blockchain Applications. It shows real blockchain applications: cryptocurrency, supply chain, voting, NFTs, and digital identity.
What to explore:
- click each application to see how it uses blockchain; watch the technology in action for each use case
- blockchain technology extends beyond cryptocurrency to supply chain tracking, secure voting, digital art, and identity management
Introduction
When you use Facebook, Instagram, or Twitter, the company owns your data and makes money from it. You are the product, not the customer. Decentralized applications, or DApp, flip this model. DApp run on blockchain networks, are controlled by smart contracts, and give users ownership of their own data and assets. No single company controls a DApp — it is owned and governed by its community.
A DApp typically has three components: smart contracts on the blockchain (the backend logic), a frontend interface (often a website), and a wallet for user authentication and transactions. Users interact with DApp by connecting their wallet (like MetaMask or WalletConnect) and signing transactions. No account creation, no passwords, no personal data collection by a central server.
In this chapter, you will learn what DApp are, how they differ from traditional apps, and explore the major categories of DApp. By the end, you will understand how DApp are changing the way we think about software, data ownership, and online services.
How It Works
A DApp's backend consists of one or more smart contracts deployed on a blockchain like Ethereum. These contracts contain the application logic and data. When a user interacts with a DApp (like making a trade on a decentralized exchange), their wallet sends a transaction that calls a smart contract function. The contract executes the logic (e.g., matching the trade), and the result is recorded on the blockchain. All this happens without any company server in the middle.
The frontend of a DApp is typically a web application (HTML, CSS, JavaScript) that users access through a browser. The frontend provides the user interface and interacts with the smart contracts through a library called Web3.js or ethers.js. The frontend itself can be hosted on traditional web servers or decentralized storage like IPFS (InterPlanetary File System). Users connect their cryptocurrency wallet to the frontend, which serves as their identity and transaction signer.
Household Object Analogy
Think of a traditional app like a restaurant. You go to the restaurant (the app), order from the menu (use the features), the kitchen (the company's server) prepares your food, and the restaurant owns everything. A DApp is like a community kitchen. The recipes (smart contracts) are public and anyone can see them. You bring your own ingredients (your data and assets). You cook your own meal (execute transactions). No single owner controls the kitchen — it is maintained by the community.
Deeper Dive
Decentralized Finance (DeFi) is the largest category of DApp. DeFi recreates traditional financial services — lending, borrowing, trading, insurance — using smart contracts instead of banks. Platforms like Uniswap (decentralized exchange), Aave (lending), and MakerDAO (stablecoin) process billions of dollars in value without any human intermediaries. Users earn interest by supplying Liquidity, borrow assets by providing collateral, and trade tokens directly from their wallets.
Decentralized Autonomous Organizations (DAOs) are DApp that govern themselves through token-based voting. A DAO might manage a treasury of cryptocurrency, decide on project direction, or allocate funds to proposals. Anyone holding the DAO's governance token can vote. Votes and execution are enforced by smart contracts — no CEO, board, or shareholders. Famous DAOs include MakerDAO (governs the DAI stablecoin) and Uniswap (governs the Uniswap protocol).
Challenges facing DApp include: scalability (blockchain transactions are slower and more expensive than traditional databases), user experience (users must manage wallets, pay Gas fees, and understand blockchain concepts), and regulation (many DApp operate in legal gray areas). Despite these challenges, DApp have grown to handle billions of dollars in value and millions of users.
Key Insight
The term 'DApp' intentionally contrasts with traditional apps. In a traditional app, the 'D' is missing — there is no decentralization. A DApp's defining characteristic is that its backend code (smart contracts) runs on a decentralized blockchain, not on a company's server. If the backend is centralized, it is not a true DApp, regardless of how the frontend is built.
Advanced
Composability is a key feature of DApp, often called 'money legos' in DeFi. Because smart contracts are open and interoperable, developers can combine them like building blocks. A lending platform can integrate with a trading platform, which integrates with a stablecoin platform, which integrates with a yield aggregator. Each DApp's functionality can be composed with others to create new applications. This composability has driven explosive innovation in DeFi.
Layer 2 DApp run on top of layer 1 blockchains (like Ethereum) for scalability. They process transactions off-chain or on a secondary chain and periodically settle results to the main chain. Layer 2 solutions like Arbitrum, Optimism, and zkSync enable DApp to operate at much lower cost and higher speed while inheriting the security of the underlying layer 1. Most DApp now deploy on both layer 1 and layer 2 to serve different user segments.
The total value locked (TVL) in DApp is a key metric, measuring the total value of assets deposited into a DApp's smart contracts. TVL peaked at over $200 billion in late 2021. It indicates user trust and adoption. A DApp with high TVL has attracted significant capital from users who believe in its security and usefulness. However, TVL can be manipulated through 'circular lending' (borrowing and depositing the same assets repeatedly) and is not the only measure of a DApp's health.
Vocabulary Table
| Term | Definition |
|---|---|
| DApp | A decentralized application that runs on a blockchain network. |
| Web3 | The decentralized version of the web, powered by blockchain and crypto wallets. |
| MetaMask | A popular browser extension wallet for interacting with DApps. |
| DeFi | Decentralized Finance — financial services built on blockchain without intermediaries. |
| ethers.js | A JavaScript library for interacting with Ethereum smart contracts. |
| IPFS | Decentralized file storage used to host DApp front-ends and assets. |
| Liquidity | The availability of assets in a DeFi protocol for trading and lending. |
| Gas | Transaction fees paid to execute smart contract functions on the blockchain. |
Fun Facts
The first DApp was Ethereum itself. Vitalik Buterin designed Ethereum specifically as a platform for DApp, calling it a 'world computer'.
Uniswap, the largest decentralized exchange, processes over $1 billion in daily trading volume as of 2025 — all without any order book, matching engine, or human staff.
MakerDAO's DAI stablecoin has maintained its $1 peg through multiple market crashes, including the COVID crash of March 2020, using entirely smart contract-based mechanisms.
The most popular DApp category is Decentralized Finance (DeFi), accounting for over 60% of all DApp usage by transaction volume.
Some DApp, like the game Axie Infinity, have generated billions of dollars in revenue and supported thousands of players in developing countries who earn income through gameplay.
Common Misconceptions
Misconception: DApp are completely free from errors and hacks.
Truth: DApp are only as secure as their smart contract code. Bugs, exploits, and oracle manipulation have resulted in billions of dollars in losses. Audits help but do not guarantee security.
Misconception: DApp have no central authority or control.
Truth: While DApp aim for decentralization, governance often concentrates among large token holders, development teams, or early investors. True decentralization requires careful design and active community participation.
Misconception: A DApp is just a website with a wallet connection.
Truth: A true DApp must have its core logic on a decentralized blockchain. If the backend runs on a centralized server, even with wallet authentication, it is not a DApp. The decentralization of the backend — not the frontend — defines a DApp.
Misconception: DApp are too complex for regular users.
Truth: User experience is improving rapidly. Features like gasless transactions, social recovery wallets, and fiat on-ramps are making DApp more accessible. However, complexity remains a barrier to mainstream adoption.
Knowledge Check
1. What is a DApp?
Answer: A decentralized application that runs on a blockchain using smart contracts
2. What is needed to interact with a DApp?
Answer: A Web3 wallet like MetaMask and some cryptocurrency for gas fees
3. What is a major challenge facing DApps today?
Answer: Scalability — most blockchains process far fewer transactions per second than centralized systems
