What is a DApp?

We all know that App is a client application, which is the abbreviation of application. DApp is D+App, D is the first letter of the English word decentralization, the translation of the word in Chinese means decentralization, that is, DApp is a decentralized application. This is to understand this concept literally. In order to form a clear, accurate and necessary concept in the mind, it is necessary to deeply understand DApp. With an App, why should there be a DApp? First of all, the first reaction in our thinking is this question, why should there be a DApp? Isn’t the current App very good? In the face of new things, most people subconsciously reject and resist most of the time. In fact, the relationship between the two is not a substitution relationship, who replaces who, who eliminates who, but a coexisting relationship, or Dapps developer is the enrichment and improvement of App. Because DApp is directly linked to blockchain technology, related to transaction data, transaction assets, and non-tamperable decentralized storage, as blockchain technology becomes more mature and popular, DApp will receive more and more attention. And appear more in various life scenes. What exactly is a Dapp? The front is literally a Build decentralized apps. Why does an App need to be decentralized? Before answering this question, we need to know another concept — smart contract. We all know that contracts are similar to the regulations that are abided by in contracts, agreements, contracts, etc., and smart contracts are electronic contracts, digital contracts, and smart contracts. It is a program that uses code to write contract contracts. Once this code is written, it will be It is public and cannot be modified or tampered with. When the external conditions change, such as default or contract expiration, the smart contract will be triggered automatically. Suppose, there is an author who wants to publish a book but has no money, and wants to raise money through crowdfunding, so TA and readers and fans make an agreement: After publishing, the book will be divided according to the sales volume, and the agreed content will be written into the smart contract. In this way, if the author thinks that after the book sells, the author thinks that he should not divide so much and wants to unilaterally break the contract or modify the content, it will not be successful. Even if the author is strong and the reader is weak, he will not be able to change the contract. Because the contract is already on the blockchain, it is no longer in duplicate, but all participants store one copy, so the author has to abide by the contract. (However, in the event of legal disputes, smart contracts are not currently included in the legal basis for judgment.)

Study of Smart Contracts: Concept and Evolution

What is a smart contract In 1996, Nick Szabo proposed the concept of smart contracts in the article “Smart Contracts: Building Blocks For Digital Markets”. The so-called “contract” is something like a clause or a contract, which records the conditions of occurrence and the corresponding executed clauses to support operations such as confirmation of rights; the so-called “intelligence” means automation and programmability. Therefore, Bridge Smart Contract Development Services is a programmable contract, and it can also be understood as a self-executing clause contract. In a computer, it is a self-executing program fragment. It is easier to save the contract, and it is run by a certain algorithm. Given the input, the corresponding output is obtained, which greatly guarantees the execution of the contract. Using the vending machine analogy can help us better understand the core features of smart contracts. When the user selects the goods to be purchased and completes the payment, the shipping logic will be triggered, and the user can get the desired goods, and this process does not require manual intervention, which saves the labor cost of selling goods. If you want to break this contract, you have to physically destroy the vending machine. Like POS card swiping machines, EDI (Electronic Data Interchange), etc., this analogy can also be used. Smart Contracts and Blockchain Smart contracts were proposed in the last century, while blockchain was born in 2009. By definition, smart contracts have little to do with blockchain. So why have smart contracts and blockchains been so closely related in the past 10 years? Because the blockchain can ensure that the smart contract cannot be tampered with, not only the contract content cannot be tampered with, but also the record of each call. The most basic premise for smart contracts to generate value is to have a strong underlying medium for storage, so that it cannot be physically damaged. However, the ontology of a smart contract is a piece of code, which is very easy to be tampered with, and how to provide a strong storage medium for it becomes a problem. This is exactly what the blockchain is good at solving — through the practice of Bitcoin, Cross chain bridge development it has been proved that the blockchain can make electronic records immutable in a distributed environment. At the same time, smart contracts are also feeding the blockchain, which greatly expands the business scenarios of the blockchain.