Decentralized Application
Aplicação cuja lógica roda em contratos inteligentes sobre uma blockchain, em vez de um servidor central, permitindo uso direto pela carteira do usuário.
Key points
- A decentralized application, or DApp, is a program whose core logic runs on smart contracts on a blockchain, rather than on a central server.
- Users typically interact with a DApp directly through their own wallet, retaining control of their funds and data.
- Because it runs on a public network, a DApp inherits the blockchain's censorship resistance and transparency, along with its risks.
What is a DApp?
DApp stands for decentralized application. Unlike a traditional app, whose logic and data reside on servers controlled by a company, a DApp runs its core part on public smart contracts on a blockchain. This means no single party can shut down the application or change its rules without following the process defined in code.
How it works
A DApp typically has two parts. The interface, with which the user interacts, can run in a browser like any website. The business logic, however, lives in smart contracts on the blockchain, which store the state and execute the rules. When the user performs an action, their wallet signs a transaction that calls these contracts, and the network executes and records it.
Because the contracts are public, anyone can audit them and, often, build on top of them. This allows DApps to combine with one another, plugging services into each other, which accelerates product creation, especially in decentralized finance. The trade-off is that a flaw in one contract can affect everything that depends on it.
Users retain custody of their funds, interacting directly from their wallet, without needing to entrust their assets to a central operator. This changes the trust model: security now depends on the code and on the protection of the keys themselves.
Why it matters
DApps show how services can operate without a central operator holding funds or data. For a business, understanding this model helps assess the opportunities and risks of integrating on-chain applications, where the logic is transparent and auditable, but responsibility for security is distributed differently.
Risks and limitations
A DApp's security depends on the correctness of contracts that, once published, are usually immutable, so flaws can be costly and hard to fix. The user experience is still more complex than that of traditional apps, and the interface may depend on centralized infrastructure. Network costs and scaling limits also affect what a DApp can offer.