What is dApp?
A dApps (decentralized application), is just like any other software application. It’s that runs on a distributed network. It’s not hosted on a centralized server, but instead on a peer-to-peer decentralized network. It could be a website or an app on your phone. What makes a dApps different than a traditional app is that it’s built on a decentralized network, like Ethereum.
How it’s work?
dApps are a piece of software that communicates with the blockchain, which manages the state of all network actors. The interface of the decentralized applications does not look any different than any website or mobile app today. The smart contract represents the core logic of a decentralized application. Smart contracts are integral building blocks of blockchains, that process information from external sensors or events and help the blockchain manage the state of all network actors.
dApps can run on both a P2P network as well as a blockchain network. For example, BitTorrent, Tor, and Popcorn Time are examples of applications that run on various computers that are part of a P2P network where there are multiple participants on all sides’ some are consuming the content, some are feeding or seeding the content, while others are simultaneously performing both functions.
For example, a developer can create a Twitter-like dApp and put it on a blockchain where any user can tweet messages. Once posted, no one – including the app creators – can delete the tweets. Editing may be possible by the sender, but the original tweet would be retained forever.