How to Build Your Own SCP App: Decentralized News Media

互联网 阅读 783 2022-01-03 11:21:00

It is difficult to create a decentralized news media content platform on Ethereum, since the high fees discourage any forms of storage. Arweave offers a new possibility to reduce the cost of decentralized storage with 1GB of permanent data storage for only 15 USD. Using Arweave as the Web3 infrastructure, developers can easily build decentralized media content platforms.

Arweave’s permanent storage starts a new era of blockchain: distribute data and content without centralized distribution. Using the Storage-based Consensus Paradigm for content distribution, readers only need to trust the open source smart contract code to get content media with untampered and uncensored content through a decentralized approach. After reading this article, you will learn how to decentralize media content and make it available everywhere. Also, we can use token economics to decentralize the content creation process.

Lack of Data Decentralization

Traditional content distribution platform is a single node of centralized storage, with the growth of data volume or data censorship, some content will be actively or passively deleted or lost. At the same time, the platform may face closure in the future, and users will not be able to access pre existing information after the closure.

For news media of the Web2 era, as shown in the diagram above, journalists (orange ones) write their industry insights into content to provide media service for readers (blue ones) through centralized nodes. This content is elegantly presented by the nodes, and users can simply click on the website URL to get the content and data they want.

Unfortunately, when centralized nodes are shut down, readers have difficulty accessing the content and even lose access to historical content (including articles they have already read).

Using Arweave for storage ensures that data will never be lost, so data decentralization is easy to achieve. Content distributors simply pay a certain AR to store data in Arweave. However, it is not enough to store data permanently. A large amount of redundant data is stored permanently, and readers cannot write code or scripts to filter the unneeded data and transform useful data into content as developers do. They also don’t have the ability to write HTML and CSS code to visualize the original article data to readable contents. Of course, we can directly store HTML files to Arweave, but even though the data is already a web page, it still cannot be indexed and searched directly in the user’s device. 

Decentralized data storage alone cannot solve the problem of data readability (visualization). When building decentralized news media, developers must not only consider permanent data storage, but also consider data readability and visualization. SCP is the last step for content decentralization, making it easier for everyone to enjoy Web3 experience.

Decentralization of News Media

A complete decentralized news media should not only store data on the blockchain, but also provide visualization of the data. Using SCP can enhance the experience: SCP allows anyone to run open source off-chain smart contract code at any time from their own device, restoring the historical status of all articles and displaying all article content onto the screen.

Decentralized news media needs to do two things.

  1. Open source the node code so that anyone can get the code and re-run the node
  2. Upload all data from the node to Arweave, and the open source node can automatically get the data and visualize the data into readable content

In the above diagram, the core node is the distribution end of the news. It is similar to the traditional architecture: the journalist (yellow ones) provides the content, which is displayed to the readers (blue ones) through News Core Node. The core node must be an open-source, central node with data upload function. The core node is responsible for the data presentation to the users and also uploads the content provided by the journalists to Arweave one by one.

The open source nature of the core nodes makes the media platform a smart contract. News article data is uploaded to Arweave’s blocks continuously. Readers or operators who download and run the code can automatically download newly added data on Arweave and become a distribution node to provide content displaying services. The distribution node only needs to sync to data in the latest Arweave block to keep the content up-to-date.

If a decentralized news media uses the above architecture, when the media is shut down, anyone can recover and display the content using the data on the Arweave blockchain and the node’s open source code.

Web3 news media does not require extensive modifications to Web2 ones. It only needs to replace the original storage solution to permanent storage on Arweave. Web2’s high performance developing middleware will be the carrier for off-chain smart contracts, providing unlimited performance.

Decentralization of Content Production

The previous section mentioned the decentralization of content, so that any media that is shut down can be restored to a functioning node through the source code and Arweave’s permanent data. However, in the above architecture, content providers still need to provide data upload services through centralized nodes, so can we also enable journalists to decentralize content writing without relying on centralized nodes? The answer is yes.

But if everyone submits data to Arweave, and the news media nodes load data without access control, a lot of junk news data will be generated, degrading the reading experience. The solution in the previous section is that the content is uploaded only by the core nodes, and the admin private keys of the core nodes have the ability to audit the data. At the same time, the other open source nodes download data from the content of the core private keys, thus not allowing spam news to “pollute” the news feed.

There are two issues that need to be addressed.

  1. Content should not be uploaded centrally
  2. Content should not be overrun with meaningless data

The key to solving both problems is token economics. Developers can integrate a token mechanism in the open source node that is specifically designed to focus on the functions of content uploading and spam data prevention. It is a domain-oriented PoS design.

Domain-oriented PoS designs are designed to solve domain-specific problems through proofs of stake. Traditional PoS are designed for generating new blocks and consensus protocols. These designs spend a lot of effort on consensus and no longer have the ability to develop proofs of stake for specific business domains. If we had to use traditional PoS to develop for specific business domains, the design architecture would be very complex and “messy”.

Arweave’s perpetual storage mechanism makes data immutable and traceable, and already guarantees consensus data storage. Developers developing on SCP do not need to worry about consensus issues for their applications, and using SCP allows developers to completely focus on domain-oriented PoS design.

How to decentralize content uploading?

The above figure uses a unique private key for data distribution. To improve this, we changed filtering by key to filtering by token. 

Native tokens integrated inside the open source node are called NEWS. Each NEWS has a unique ownership and can be transferred. Ownership and the transfer of ownership can use a Storage-based Consensus Paradigm: the account that owns NEWS can send the transaction metadata of transfer(amount, to) to Arweave, and other news nodes can get this transfer information from Arweave and perform the ownership transfer. This transfer information can be obtained by other news nodes from Arweave and the transfer of ownership can be performed. 

Based on the SCP, the nodes have a consistent state over the same Arweave block height. Therefore, the ownership of NEWS follows the change of Arweave block, and our content is distributed through Arweave, so the token ownership and content have the same time series.

Three wallet addresses A, B and C hold NEWS on Arweave and they can do content uploads as follows:

From block 101 to 103, A and B hold NEWS tokens, and the content uploaded by A and B can be downloaded and computed by the nodes; C has no NEWS tokens, so C’s uploaded content will be filtered out by the nodes.

At block height 104, A transfers 1 NEWS to C.

In block 105 and 106, the node does not download A’s content uploaded after block 104 because A does not have NEWS tokens; C holds NEWS, and C’s new content can be downloaded by the node normally.

With the addition of the token mechanism, news uploading no longer depends on a single private key and can be done by any token holder. When the node is synchronized to the latest Arweave block height, the valid articles are those uploaded by A and B in blocks 102-103 and those uploaded by C in block 106; the content uploaded by C in 103 and by A in 105 are not included in the node.

How to Avoid Spam Content?

Tokens can not only replace keys for content uploads, but can also solve the problem of spam content. We can empower tokens with more functions, such as voting. NEWS holders can vote on the content they view, so we can design an effective voting incentive to encourage the display of high quality content. With the voting mechanism, nodes can process the voting data and rank the high quality content. Popular and high quality data will be in the headline. This also allows a decentralized and democratic recommendation system to be built.

The quality of news media may depend on the quality control ability of the news organization (centralized organization). At the start of the community, the centralized organization may need to hold more than 51% of the NEWS tokens to ensure the quality of the content voting. But as the decentralized community grows, the tokens will slowly be released to great journalists. A good token incentive will allow the tokens to be distributed and transferred appropriately, so that the best journalists will be rewarded more and quality content will be properly “headlined”.

Conclusion

Web3 news media not only creates content distribution that cannot be turned off, but also allows for more reliable and efficient content production. Using the SCP architecture lowers the barrier to decentralized news media, makes smart contracts development much easier for normal web users, makes Web3 content displaying easier, and makes Web3 more widespread.

In the same way that token economics offers the possibility of content uploading and spam filtering for news media, a native token architecture based on SCP provides higher token performance, ensuring decentralization and native Web3. SCP will also reduce the cost of Web3 participation and interaction, instead of having the user paying more than 20 USD in gas fees for even a single upvote.

Token economics also allows decentralized news media nodes to become DAOs and off-chain news media nodes to become smart contracts. When we run a news media node, we can trust the node’s open source code, and the node’s mechanism determines the quality and reliability of the content produced on it. Ultimately, the production and distribution of content is no longer determined by an authority, but what we trust, a DAO —— code is law.

免责声明:
1.资讯内容不构成投资建议,投资者应独立决策并自行承担风险
2.本文版权归属原作所有,仅代表作者本人观点,不代表本站的观点或立场
上一篇:How to Build Your Own SCP App: Domain-oriented PoS Design — Token DAO 下一篇:How to Build Your Own SCP App: A Prototype for Next-generation Blockchainless DEXs

您可能感兴趣

  • 解读CKB版 “闪电网络” Fiber Network:比特币可编程性扩展的另一种思路
    解读CKB版 “闪电网络” Fiber Network:比特币可编程性扩展的另一种思路

    作者:NingNing行业周期与宏观金融周期共振,加密行业正处在与 2019 年相似的整体性迷茫之中,现阶段不仅流动性枯竭,叙事貌似也在枯竭。市场不但对 VC 叙事兴趣阙如,对反 VC 的 Meme 叙事也已经疲倦。就像每次哲学危机,人们都会回归柏拉图寻找出路,当加密行业危机时,我们也需要回归比特币、回归中本聪。正如 CKB 生态 RGB++ 协议创始人 Cipher 在最新 Blog 里所阐述的,加密行业需要对以太坊 “链上计算” 的路径依赖进行反思,回归P2P经济学,让计算归于链下,让验证归于链上。因

    每日资讯 2024-09-02 12:06 1289
  • 面对NFL球员工会起诉,“退圈”的DraftKings竟主动承认NFT是证券?
    面对NFL球员工会起诉,“退圈”的DraftKings竟主动承认NFT是证券?

    作者:Zen,PANews近日,美国国家橄榄球联盟球员协会 (NFLPA) 指控数字体育娱乐和游戏公司DraftKings 逃避了其 NFT 球员许可协议的付款义务。在放弃NFT业务后,涉嫌出售未注册证券而遭到集体诉讼的DraftKings又背上了一起官司。而有趣的是,在与NFLPA的纠纷中,DraftKings的立场似乎已从反驳转变为积极承认“NFT就是证券”。放弃NFT业务:驳回集体诉讼的动议遭到否决今年7月底,Draftkings在给用户的电子邮件中表示:“经过慎重考虑,DraftKings 决定终

    每日资讯 2024-09-02 12:06 1396
  • 简析两种最新比特币智能合约实现方案:OP_NET与Arch有何区别?
    简析两种最新比特币智能合约实现方案:OP_NET与Arch有何区别?

    作者:Cookie过去半个月,OP_NET 与 Arch 这两个比特币主网上的智能合约实现方案引发了较多的讨论。有意思的事情是,OP_NET 这个名字与大家熟悉的 OP_CAT 很像,都以「OP_」开头,具有很强的、让大家认为这哥俩差不多的迷惑性。所以,在开篇要和大家先提一嘴 OP_CAT。首先,OP_CAT 是比特币操作码,从去年开始有以「量子猫」Quantum Cats,也就是「大巫师」Taproot Wizards 的创始人 Udi Wertheimer 为首的社区力量一直在呼喊要「复活」OP_CA

    每日资讯 2024-09-02 12:06 1298
  • 争议不断,以太坊正在失去“万链之王”的权威
    争议不断,以太坊正在失去“万链之王”的权威

    作者:Climber,金色财经近期围绕以太坊的话题和争议越来越多,不仅 Vitalik 本人需要下场解释观点,就连以太坊基金会也要发布公告来平息社区的质疑声。在本轮牛市周期中,以太坊的表现可谓平平。而美国以太坊现货 ETF 的通过也并未让 ETH 走势如投资者期待般爆发,相反却在币价方面越走越低。这就不免让有着「万链之王」美誉的以太坊逐渐失去投资者和社区的尊重,进而质疑起有关以太坊的方方面面。争议不断,以太坊亟需重塑权威最近一段时间以来社区成员对 Vitalik 言论观点、以太坊基金会乃至以太坊生态系统的

    每日资讯 2024-09-02 12:06 996
  • 从《黑神话:悟空》谈起,GameFi何时能取得真经?
    从《黑神话:悟空》谈起,GameFi何时能取得真经?

    作者:YBB Capital Researcher Zeke前言本文是市场垃圾时间中的一些闲聊,需要对传统游戏市场有一定程度了解。大家可以把这篇文章当作日记或者随想观看,这些只是我在游玩《黑神话:悟空》之后对GameFi的一些粗浅思考,以及对这个赛道未来的看法。一、游戏科学的九九八十一难三天全网销量破千万、Steam玩家同时在线峰值破235万、多家品牌联名周边销售爆火、国家级媒体多次采访、多个游戏取景地可凭游戏通关记录终身免费进入、86版《西游记》YouTube观看量超400万。以上,是《黑神话:悟空》上

    每日资讯 2024-09-02 12:06 688
  • Gavin Wood:如何防止女巫攻击进行有效空投?
    Gavin Wood:如何防止女巫攻击进行有效空投?

    演讲:Gavin WoodGavin 近期一直在关注的女巫攻击(civil resistance)的问题,PolkaWorld 回顾了 Gavin Wood 博士在 Polkadot Decoded 2024 上的主题演讲,想要探究 Gavin 在如何防止女巫攻击上的一些见解。什么是女巫攻击?你们可能知道,我一直在研究一些项目,我在编写灰皮书,专注于 JAM 项目,也在这个方向上做了一些代码的工作。实际上,在过去的两年时间里,我一直在思考一个非常关键的问题,这个问题在这个领域中非常重要,那就是如何防止女巫

    每日资讯 2024-09-02 12:06 1243
  • 市场热议,链抽象将成加密新叙事?
    市场热议,链抽象将成加密新叙事?

    2024年,加密货币领域的技术创新持续加速,链抽象(Chain Abstraction)逐渐成为行业内的焦点。链抽象技术的核心在于通过隐藏底层技术的复杂性,让用户能够更加便捷地在多个区块链之间进行操作。传统的区块链技术通常要求用户掌握不同链的操作流程,并需要应对跨链操作中的技术难题,这极大地吸引了新用户的进入。而链抽象的出现,则为这些问题提供了有效的解决方案,成为Web3建设不可忽视的重要一环。01、什么是链抽象及其作用链抽象能够将不同的区块链之间的差异整合在一个统一的操作界面中,使得用户只需一个账户即可

    每日资讯 2024-09-02 12:05 537
  • 今日日报|马斯克和特斯拉赢得“被指控操纵狗狗币”的诉讼;稳定币支付平台Bridge完成5800万美元融资
    今日日报|马斯克和特斯拉赢得“被指控操纵狗狗币”的诉讼;稳定币支付平台Bridge完成5800万美元融资

    今日要闻提示:马斯克和特斯拉赢得驳回指控他们操纵狗狗币的诉讼OpenAI和Anthropic已同意将其主要新AI模型在发布前共享给美国政府OKX将上线Hamster Kombat(HMSTR)现货交易X平台纽约总部将于9月13日关闭,预计将迁往得州萨尔瓦多总统布克尔成为《时代》杂志最新一期封面人物稳定币支付公司Bridge完成5800万美元融资数据:MATIC、SHIB、UNI代币头部地址持仓均超50%网龙今年上半年通过出售2.9亿元的加密货币,获利5100万元人民币监管消息美国众议院计划在9月举行多场加

    每日资讯 2024-09-02 12:05 1037