Smart contracts & programmability

decentralized application

A decentralized application, usually shortened to dapp, is an app whose core logic runs on a blockchain through smart contracts rather than on a company's private servers. An ordinary app, like a banking or social website, keeps its data and rules on machines the company fully controls; if that company changes the rules, shuts down, or locks you out, you have little recourse. A dapp moves the part that really matters, the rules about who owns what and what actions are allowed, onto a public network that no single party owns. The problem it solves is depending on a single operator's goodwill and continued existence.

In practice a dapp has two halves. The visible half is a normal-looking website or mobile screen, the friendly buttons and menus, which can still be hosted anywhere. The crucial half is one or more smart contracts on the blockchain that hold the funds, balances, and rules. When you click a button, the app asks your wallet to send a transaction to those contracts; the network runs the agreed code and updates the shared record. Because that logic and data live on a public chain, anyone can inspect them, the app keeps working even if the original team disappears, and no one can quietly seize your assets.

Dapps matter because they let services operate by transparent, automatic rules instead of trust in a company. Familiar categories include exchanges and lending platforms in decentralized finance, marketplaces for digital collectibles, games, and member-run organizations. The flip side is that the convenient front-end can still be hosted by someone, so true decentralization depends on how much of the important logic actually lives in the contracts versus on a private server.

On a decentralized exchange dapp, you connect your wallet, choose to swap one token for another, and click confirm. The button simply tells your wallet to call the exchange's smart contracts, which carry out the swap by their public rules. There is no company holding your coins between the click and the trade.

A polished front-end can still run on ordinary servers, so a dapp is only as decentralized as the portion of its logic that truly lives in smart contracts.

Also called
dAppDApp去中心化应用去中心化應用