Hands-On Cybersecurity with Blockchain
上QQ阅读APP看书,第一时间看更新

Web app versus dApp

A web app is simply a web-based application, which is widely used in client-server models to serve users. However, a decentralized application (dApp) is an application that runs on a peer-to-peer network of computers.

The traditional web application uses CSS, HTML, and JavaScript to render a frontend page. It fetches the data from a database through an API call. dApp's frontend uses the exact same technique to render the page but instead of calling the API, dApp uses a smart contract that connects to the blockchain.