Ethereum based on swarm protocol
I. the meaning of blockchain
in a narrow sense, blockchain is a kind of chained data structure composed of data blocks connected in sequence according to the time sequence, and it is a distributed account book that can not be tampered with and forged by means of cryptography
broadly speaking, blockchain technology is a new distributed infrastructure and computing paradigm, which uses blockchain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses intelligent contract composed of automated script code to program and operate data
ENS is Ethereum domain name service, a distributed, open and extensible domain name system based on Ethereum. Some hash addresses used in Ethereum ecosystem are usually very long, such as Ethereum wallet address and swarm file hash address, while ENS domain name system is designed to provide users with short and easy to read domain names. Ens does not grant any trademark or declare any ownership. The domain name application of ENS is a completely decentralized process. The domain name is not obtained through purchase. You need to deposit a certain amount of ether coin in the corresponding registration contract as a deposit for at least one year. In order to avoid garbage and meaningless operation, the process of auctioning domain names includes locking deposit and destroying penalty, trying to ensure that the domain name will be registered by the actual user. The ether money spent in the process will eventually be returned to the successful bidder and destroyed in breach of contract. It will not generate income and is completely non-profit.
DAPP is the abbreviation of Chinese distributed app for decentralized application
a DAPP has background code running in a distributed peer-to-peer network. The background code of traditional app is running on the centralized server
the front-end code of a DAPP can be developed by any language, just like the traditional app. In addition, DAPP's front-end code can be hosted in distributed storage services, such as swarm or IPFs
If an application = front end + back end, because Ethereum contract is composed of code running in Ethereum distributed point-to-point network, distributed application = front end + contract
the picture shows a DAPP architecture:
app we all know that it is a client application, which is the abbreviation of application. DAPP is d + app, and D is the first letter of English word decentralization. Chinese word translation is decentralization, that is DAPP is decentralized application. This is to understand the concept literally. To form a clear, accurate and necessary concept in the brain, we need to understand DAPP in depth
compared with app, the biggest difference between them is centralization and decentralization. App needs money first, so it needs financing first; Then there will be more people, so we will develop and operate after recruiting all the people. DAPP is the proct of inheriting traditional app and combining the characteristics of blockchain, which is more like crowdfunding mode, sharing mode and decentralization mode