There are new terms in Ethereum like smart contract. What is a DApp and how is it different from smart contracts?
DApp is an abbreviated form for decentralized application.
A DApp has its backend code running on a decentralized peer-to-peer network. Contrast this with an app where the backend code is running on centralized servers.
A DApp can have frontend code and user interfaces written in any language (just like an app) that can make calls to its backend. Furthermore, its frontend can be hosted on decentralized storage such as Swarm or IPFS.
If an app=frontend+server, since Ethereum contracts are code that runs on the global Ethereum decentralized peer-to-peer network, then:
DApp = frontend + contracts
Illustration of a DApp that uses a blockchain with smart contracts combined with the pillars of Swarm and Whisper:
3Using this excellent answer as template for the dapp-development tag wiki. Thanks.– q9fOct 25, 2016 at 9:56
2Does a "dapp" have to be based on swarm and whisper to be considered a dapp, or can it be built on more traditional Web infrastructure? Jun 8, 2017 at 6:54
2@Mike A DApp should use decentralized storage and decentralized communication. It matters less which one specifically (whether it's Swarm or some other decentralized storage), but it's important to avoid centralized infrastructure: for example a company going out of business would make the DApp fail.– eth ♦Jun 11, 2017 at 7:47
1Dapp it can be frontend+contracts, but not necessary. we can talk about dapp when every user has it own server ( backend ) and comunicate with other over IPFS or ethereum– maroodbAug 15, 2018 at 12:47
2How can a user access the frontend of a dapp ? (in a centralized server, the user access the frontend by typing the url in a browser). Sep 25, 2021 at 22:13
A good Blog post by Vitalik Buterin goes through and the concept of a Dapp and other related concepts such as smart contract, Decentralised Autonomous Organisation, Decentraclised Corporation ect..
Here is the link with the Blog Post: DAOs, DACs, DAs and More: An Incomplete Terminology Guide
2Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.– q9fOct 25, 2016 at 9:56
Find below a definition of DApp written in this doc called "The General Theory of Decentralized Applications, Dapps".
For an application to be considered a Dapp (pronounced Dee-app, similar to Email) it must meet the following criteria:
The application must be completely open-source, it must operate autonomously, and with no entity controlling the majority of its tokens. The application may adapt its protocol in response to proposed improvements and market feedback but all changes must be decided by consensus of its users.
The application's data and records of operation must be cryptographically stored in a public, decentralized blockchain in order to avoid any central points of failure.
The application must use a cryptographic token (bitcoin or a token native to its system) which is necessary for access to the application and any contribution of value from (miners / farmers) should be rewarded in the application’s tokens.
The application must generate tokens according to a standard crytptographic algorithm acting as a proof of the value nodes are contributing to the application (Bitcoin uses the Proof of Work Algorithm).
Clarification related to the terms you use in your question:
- Ethereum is a DApp, it tick all the boxes from the criterias listed in the above definition
- Smart contracts: don't have to be Open Source, do they? so no, smart contracts are not a DApp. Unless I miss something.
- Bitcoin is a DApp, it tick all the boxes from the criterias listed in the above definition
Dapp abbreviate as Decentralized Application used to Developed Applications using Front-end(HTML+CSS+JS) Web page + Back-end(Solidity Smart contract) Programming code + Server(TestRPC) Private Blockchain/Dummy Network in Ethereum platform
I think that some of the general belief around dApps referring exclusively to a backend that is driven by smart contracts, is limited.
A dApp indeed is a decentralized application, but it does not specifically dictate how it is decentralized.
A rational answer to this is that the front-end, being run on devices such as phones, browsers, etc, is not relevant to the decentralization aspect.
The back-end, on the other hand, must be decentralized, at least partly, if not wholly.
The backend logic could use any combination of the following (not a comprehensive list) infrastructure pieces:
- Decentralized file storage (IPFS, Filecoin, Storj, SIA, etc)
- Decentralized edge cloud storage (NOIA, etc)
- Decentralized immutable data storage (Ethereum smart contract, NEO smart contract, etc)
- Decentralized edge data store (Bluzelle, etc)
- Decentralized computing (Golem, SONM, etc)
Of course, these are just examples I thought of. Fact is, you could use whatever pieces you want, but for the app to be a dApp, most of your backend must be decentralized. There are always some pieces that are typically still centralized, such as DNS and even the packet networks that are used to reach the various decentralized pieces of your application.
Dapps stands for Decentralized Applications. Dapps are applications built using Decentralized technologies such as Blockchain, IPFS.
The technological architecture of Dapps depends on the evolution in this field. But usually, Dapps comes with few properties.
- No single point of failure
- Forkable and do not have data silos
- Commonly, build on Blockchain using smart contracts
To learn more about Check out this article, What are Dapps?
14 years late mate ^^ Mar 5, 2020 at 14:06
LoL!!!!!!!!!!!!– vteja711Mar 11, 2020 at 7:22