Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the concept of DApp?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Today, the editor will share with you the relevant knowledge of what the concept of DApp is. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

The full name of DApp is Decentralized App, and the Chinese translation means decentralized application. It's easy to explain simply: DApp is an App based on smart contracts. But let me say in more detail, I find that there are many points of view, because the smart contract itself can actually be applied to various fields.

Based on intelligent contract

First of all, based on smart contracts. Traditional App interacts with its own back-end servers, while DApp is actually the same as App from the front end, for example, it can be made into H5 Web applications or native App for various platforms, but the point is that the back-end of DApp is not its own server, but an intelligent contract.

For example, a typical DApp development is such a process. First of all, the development of the front end, the current development based on native technology is still relatively rare, many DApp front ends are developed with H5 technology, the main development language is JavaScript. The back end is a smart contract that needs to be deployed to a block chain like Ethernet Fong or Nervos AppChain. At present, the most popular development language of intelligent contract is Solidity, which is born in the Ethernet Fong community. although many intelligent contract platforms after Ethernet Square have a certain competitive relationship with Ethernet Square, many of the things established in Ethernet Square have become industry standards.

It can be said that the essence of DApp is intelligent contract, and the front part of DApp only provides a beautiful and friendly interface for intelligent contract, which is convenient for users to operate and use intelligent contract.

Decentralized rules of the game

The core idea of intelligent contract is decentralization. So let's introduce the second feature that distinguishes DApp from traditional App, that is, the decentralized rules of the game.

One of the first requirements to achieve "decentralization" is rule transparency. The core of DApp is the smart contract, which is the code deployed on the blockchain, so the whole execution process is transparent to everyone, and everyone knows what happened, which is the basic condition for the generation of consensus. For front-end code, it should also be open source in principle, and all participants can view each line of code. The greatest transparency guarantees the greatest consensus, and the most powerful thing about DApp is that it can attract a lot of people to participate, because we all know that the game is fair.

The operation of DApp is also decentralized. Ideally, DApp should not be dominated by a commercial company, at least the distribution of benefits is fair to all participants. Behind the DApp, there should be a community to lead, all the most important decisions are voted on, and the development and operations teams are elected in the community, but they should not enjoy privileges except for the corresponding benefits based on their contributions. Under DApp conditions, there will not be a strict distinction between companies and customers. In theory, everyone is users and contributors, and there will not be a big boss who will return all the money earned by the project to himself.

With the transparency of the code mentioned above and the transparency of the project operation, DApp implements the decentralized rules of the game.

There is a token incentive

The third feature of DApp, which is very different from ordinary App, is that it has token incentive.

There are two kinds of tokens. One is the system native coin similar to bitcoin, such as ethercoin, which is commonly called coin in English. The function of this kind of currency in DApp is money. For example, in a DApp game, you can buy equipment directly with Taiyuan. Or another very well-known DApp is Steemit.com, where users will receive a token reward for producing content. Another kind of token, which is different from the original currency, is not included in the blockchain, but is generated based on the intelligent contract on the blockchain. It is generally called token in English, and token can be used to correspond to other assets. For example, a DApp who trades in used cars can use token to represent a car. Tokens themselves are a big topic, so we won't expand here. However, the reason why a string of numbers can be considered valuable is due to the openness and unusurability of the data brought about by blockchain and smart contracts.

What I want to emphasize here is that if each user needs to make a token transfer when using DApp, he or she must sign with his or her own private key. If the user is required to enter a private key for each transfer, it will be troublesome. As a general practice, the private key is saved in a separate wallet software on the phone, not in DApp, so the wallet is needed to assist DApp in signing. One way to do this is to install the wallet in a browser, such as MetaMask, so that when DApp runs in the browser, it can be signed with the wallet. Another idea is to install a native wallet app on the phone, and then let DApp run in the wallet, so that you can also complete the signature operation. The actual example is DApp under Nervos AppChain.

This is the third point we are going to talk about, that is, token incentive. This is a very big difference between DApp and ordinary App, which is equivalent to adding an economic incentive layer to App, which will bring significant changes to the rules of the game.

These are all the contents of the article "what is the concept of DApp?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report