dapp 是什么?dapp 和 app 有什么区别?一文明白 dapp。

简介: DApp 是 decentralized application 中文分布式 APP 的缩写。 一个 DApp 有后台代码运行在分布式点对点网络中。

DApp 是 decentralized application 中文分布式 APP 的缩写。
一个 DApp 有后台代码运行在分布式点对点网络中。传统的 APP 的后台代码是运行在中心化的服务器。
一个 DApp 的前端代码可以由任何语言开发,和传统的 APP 一样。还有,DApp 的前端代码可以托管在分布式存储的服务中,例如:Swarm 或者 IPFS。
如果一个 应用 = 前端 + 后台,因为以太坊合约是由运行在以太坊分布式点对点网络中的代码组成的,所以 分布式应用 = 前端 + 合约。
图片演示一个 DApp 架构:

这里写图片描述

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:

中文原链接:http://dappchina.cn/2018/06/28/what-is-a-dapp/
英文原链接:https://ethereum.stackexchange.com/questions/383/what-is-a-dapp

dapp 开发:10 分钟 5 步发布以太坊 ERC20 代币
http://dappchina.cn/2018/04/23/10-minutes-5-steps-erc20-tokens/

目录
相关文章
|
小程序
uni-app:网络状态监测之onNetworkStatusChange与getNetworkType的区别与应用
1、在实际项目开发中,难免涉及到监测网络,下面来具体了解下小程序两种监测网络的方法。 2、这里配置的是 uniapp,微信小程序把 uni. 换成 wx. 即可。
1660 0
uni-app:网络状态监测之onNetworkStatusChange与getNetworkType的区别与应用
|
5月前
|
Shell Android开发
|
5月前
|
移动开发 JavaScript 前端开发
uni-app和Vue.js二者之间有什么区别?
1. uni-app是一个使用Vue.js开发所有前端应用的框架,支持一次编译多端运行。开发者编写的基础代码只需进行一次编写,就可以发布到多个平台,包括App、H5、微信小程序等。 2. Vue.js是一个渐进式JavaScript框架,用于构建用户界面。与其他大型框架不同的是,Vue被设计为可以自底向上逐层应用。
55 0
|
5月前
|
JavaScript 前端开发 Android开发
Vue和uni-app的区别
Vue和uni-app的区别
119 0
|
5月前
|
开发框架 小程序 JavaScript
微信小程序和uni-app的区别
微信小程序和uni-app的区别
143 1
|
5月前
|
Java 测试技术 API
安卓APP和iOS APP在测试上的区别是什么?
安卓APP和iOS APP在测试上的区别是什么?
162 0
|
5月前
|
移动开发 JavaScript 小程序
uni-app和Vue.js有什么区别?
uni-app和Vue.js有什么区别?
63 0
|
12月前
|
算法 安全 区块链
区块哈希游戏开发逻辑(上链合约)哈希竞猜游戏开发方案(app/DAPP)
区块哈希游戏开发逻辑(上链合约)哈希竞猜游戏开发方案(app/DAPP)
|
Dart 前端开发 JavaScript
掌握这个关键技术,让你的APP开发事半功倍!——Flutter与其他方案的区别
掌握这个关键技术,让你的APP开发事半功倍!——Flutter与其他方案的区别
78 0