Most people aren’t computer programmers and developers. How do we interact with smart contracts? The answer is: dApps
This is a new model in building up massively profitable and scalable applications. They are just emerging and gaining coverage in the media. People are hoping that in the near future that they are going to become widely used compared to today, which will also replace the most famous web apps. The reason is because they are more transparent, flexible, resilient and they have better structure that is incentivized than the current models.
The Current Model
Almost everyone is familiar with what “application” really means. Developers see them as software, wherein it defines a particular goal. There are millions of apps or software that are being used today and majority of them are web-based. They also follow a server-client model, which is a centralized structure.
The easiest way to understand this is to understand how traditional websites operate. You can think of a website like this:
Enter Decentralized Applications
A dApp is a ‘blockchain enabled’ website, where the smart contract is what allows it to connect to the blockchain. The attraction of dApps is that while it is similar to any other web application, its files and databases are not hosted on a centralized server, such as as Google, Amazon and Facebook.
dApps communicate with the Ethereum blockchain to run, get its data and execute transactions. The transactions are verified and executed publicly on the blockchain using a cryptocurrency called ETH.
dApps are the same with how traditional web apps work. The front end makes use of the same technology in order to render a page. But one critical difference between the two is that the dApps use the smart contract in connecting to the blockchain, unlike with an API that connects to the database. In a simple diagram, it is seen as this: Front End to Smart Contract to Blockchain.
Are dApps the new Web 3.0?
As the development of blockchain grows, users will interact with decentralized applications and smart contracts where they are able to create their own rules for transaction formats, ownership, and even state transition functions as well.