- Building Blockchain Projects
- Narayan Prusty
- 248字
- 2021-07-02 23:45:15
Whisper and Swarm
Whisper and Swarm are a decentralized communication protocol and a decentralized storage platform respectively, being developed by Ethereum developers. Whisper is a decentralized communication protocol, whereas Swarm is a decentralized filesystem.
Whisper lets nodes in the network communicate with each other. It supports broadcasting, user-to-user, encrypted messages, and so on. It's not designed to transfer bulk data. You can learn more about Whisper at https://github.com/ethereum/wiki/wiki/Whisper, and you can see a code example overview at https://github.com/ethereum/wiki/wiki/Whisper-Overview.
Swarm is similar to Filecoin, that is, it differs mostly in terms of technicalities and incentives. Filecoin doesn't penalize stores, whereas Swarm penalizes stores; therefore, this increases the file availability further. You must be wondering how incentive works in swarm. Does it have an internal currency? Actually, Swarm doesn't have an internal currency, rather it uses ether for incentives. There is a smart contract in Ethereum, which keeps track of incentives. Obviously, the smart contract cannot communicate with Swarm; instead, swarm communicates with the smart contract. So basically, you pay the stores via the smart contract, and the payment is released to the stores after the expiry date. You can also report file missing to the smart contract, in which case it can penalize the respective stores. You can learn more about the difference between Swarm and IPFS/Filecoin at https://github.com/ethersphere/go-ethereum/wiki/IPFS-&-SWARM and see the smart contract code at https://github.com/ethersphere/go-ethereum/blob/bzz-config/bzz/bzzcontract/swarm.sol.
At the time of writing this book, Whisper and Swarm are still under development; so, many things are still not clear.
- 電子商務(wù)項(xiàng)目管理
- 移動(dòng)電商運(yùn)營(yíng)(慕課版)
- 抖音直播帶貨實(shí)操指南
- 當(dāng)代全球商務(wù)(原書(shū)第9版)
- 網(wǎng)紅經(jīng)濟(jì)3.0:自媒體時(shí)代的掘金機(jī)會(huì)
- 網(wǎng)絡(luò)整合營(yíng)銷:外貿(mào)篇
- 網(wǎng)店美工實(shí)戰(zhàn)教程(全彩微課版)
- 互聯(lián)網(wǎng)+微商創(chuàng)業(yè)11條軍規(guī)
- 微商手記:39位成功微商的經(jīng)驗(yàn)談
- 跨境電商多平臺(tái)運(yùn)營(yíng)實(shí)戰(zhàn)基礎(chǔ)(第3版)
- 內(nèi)容電商大爆炸
- 淘寶天貓美工實(shí)戰(zhàn)從入門到精通:圖像處理、寶貝拍攝、視頻制作、店鋪裝修一本就夠
- 玩賺抖商:抓住短視頻電商紅利
- 跟陳志紅一起學(xué)阿里巴巴品牌建設(shè)
- 雙11:世上沒(méi)有偶然的奇跡