- Building Blockchain Projects
- Narayan Prusty
- 195字
- 2021-07-02 23:45:08
Accessing the centralized apps
A DApp shouldn't depend on centralized apps because of a single point of failure. But in some cases, there is no other option. For example, if a DApp wants to read a football score, then where will it get the data from? Although a DApp can depend on another DApp, why will FIFA create a DApp? FIFA will not create a DApp just because other DApps want the data. This is because a DApp to provide scores is of no benefit as it will ultimately be controlled by FIFA completely.
So in some cases, a DApp needs to fetch data from a centralized application. But the major problem is how the DApp knows that the data fetched from a domain is not tampered by a middle service/man and is the actual response. Well, there are various ways to resolve this depending on the DApp architecture. For example, in Ethereum, for the smart contracts to access centralized APIs, they can use the Oraclize service as a middleman as smart contracts cannot make direct HTTP requests. Oraclize provides a TLSNotary proof for the data it fetches for the smart contract from centralized services.
- 微信小程序營(yíng)銷攻略:精準(zhǔn)引流·場(chǎng)景轉(zhuǎn)化·運(yùn)營(yíng)推廣
- 互聯(lián)網(wǎng)+:新業(yè)態(tài)與新商業(yè)模式研究
- 前廳部運(yùn)營(yíng)管理
- 微商5.0:新零售業(yè)態(tài)下的實(shí)體微商
- 玩賺短視頻:內(nèi)容策劃+營(yíng)銷推廣+流量變現(xiàn)
- 內(nèi)容電商運(yùn)營(yíng)系列:直擊人心的圖文內(nèi)容打造與傳播
- 實(shí)戰(zhàn)大數(shù)據(jù):客戶定位和精準(zhǔn)營(yíng)銷
- 11.11如何賣到一個(gè)億:從0到1的電商爆品打造術(shù)
- 互聯(lián)網(wǎng)+時(shí)代大變革:社會(huì)重構(gòu)、企業(yè)再造與個(gè)人重塑
- 一本書玩轉(zhuǎn)互聯(lián)網(wǎng)品牌營(yíng)銷
- 移動(dòng)電商基礎(chǔ)與實(shí)務(wù)
- 電商3.0:玩轉(zhuǎn)微信電商
- 銷售和服務(wù)新規(guī)則:敏捷銷售及新型客戶服務(wù)
- 電子商務(wù)基礎(chǔ)
- 鏈路營(yíng)銷:觸發(fā)消費(fèi)者購(gòu)買的十大關(guān)鍵點(diǎn)