Innovative Bioresearch Ltd, 20-22 Wenlock Road, N1 7GU, London, United Kingdom.
BMC Med Inform Decis Mak. 2024 Apr 25;24(1):109. doi: 10.1186/s12911-024-02498-z.
A blockchain can be described as a distributed ledger database where, under a consensus mechanism, data are permanently stored in records, called blocks, linked together with cryptography. Each block contains a cryptographic hash function of the previous block, a timestamp, and transaction data, which are permanently stored in thousands of nodes and never altered. This provides a potential real-world application for generating a permanent, decentralized record of scientific data, taking advantage of blockchain features such as timestamping and immutability.
Here, we propose INNBC DApp, a Web3 decentralized application providing a simple front-end user interface connected with a smart contract for recording scientific data on a modern, proof-of-stake (POS) blockchain such as BNB Smart Chain. Unlike previously proposed blockchain tools that only store a hash of the data on-chain, here the data are stored fully on-chain within the transaction itself as "transaction input data", with a true decentralized storage solution. In addition to plain text, the DApp can record various types of files, such as documents, images, audio, and video, by using Base64 encoding. In this study, we describe how to use the DApp and perform real-world transactions storing different kinds of data from previously published research articles, describing the advantages and limitations of using such a technology, analyzing the cost in terms of transaction fees, and discussing possible use cases.
We have been able to store several different types of data on the BNB Smart Chain: raw text, documents, images, audio, and video. Notably, we stored several complete research articles at a reasonable cost. We found a limit of 95KB for each single file upload. Considering that Base64 encoding increases file size by approximately 33%, this provides us with a theoretical limit of 126KB. We successfully overcome this limitation by splitting larger files into smaller chunks and uploading them as multi-volume archives. Additionally, we propose AES encryption to protect sensitive data. Accordingly, we show that it is possible to include enough data to be useful for storing and sharing scientific documents and images on the blockchain at a reasonable cost for the users.
INNBC DApp represents a real use case for blockchain technology in decentralizing biomedical data storage and sharing, providing us with features such as immutability, timestamp, and identity that can be used to ensure permanent availability of the data and to provide proof-of-existence as well as to protect authorship, a freely available decentralized science (DeSci) tool aiming to help bring mass adoption of blockchain technology among the scientific community.
区块链可以被描述为一个分布式账本数据库,在共识机制下,数据以加密的方式永久存储在记录中,称为块,这些块通过加密技术链接在一起。每个块都包含前一个块的密码哈希函数、时间戳和交易数据,这些数据永久存储在数千个节点中,并且永不更改。这为生成科学数据的永久、去中心化记录提供了一个潜在的实际应用,利用区块链的时间戳和不可变等特性。
在这里,我们提出了 INNBC DApp,这是一个 Web3 去中心化应用程序,提供了一个简单的前端用户界面,与智能合约连接,用于在现代的权益证明(POS)区块链(如 BNB 智能链)上记录科学数据。与之前提出的仅在链上存储数据哈希值的区块链工具不同,这里的数据完全作为“交易输入数据”存储在交易本身上,实现了真正的去中心化存储解决方案。除了纯文本之外,该 DApp 还可以通过使用 Base64 编码来记录各种类型的文件,如图像、音频和视频等。在本研究中,我们描述了如何使用该 DApp 并执行实际的交易,存储来自之前发表的研究文章的各种类型的数据,分析使用这种技术的优缺点,讨论可能的用例,并分析交易费用。
我们已经能够在 BNB 智能链上存储多种不同类型的数据:原始文本、文档、图像、音频和视频。值得注意的是,我们以合理的成本存储了几篇完整的研究文章。我们发现,每个文件上传的限制为 95KB。考虑到 Base64 编码会使文件大小增加约 33%,这为我们提供了 126KB 的理论限制。我们通过将较大的文件分割成较小的块并上传为多卷档案成功地克服了这个限制。此外,我们提出了 AES 加密来保护敏感数据。因此,我们表明,通过合理的成本,有可能在区块链上存储和共享科学文档和图像,并提供足够的数据,这对于存储和共享生物医学数据是有用的。
INNBC DApp 代表了区块链技术在去中心化生物医学数据存储和共享方面的实际应用案例,为我们提供了不可变、时间戳和身份等功能,可用于确保数据的永久可用性,并提供存在证明以及保护作者身份,这是一个免费的去中心化科学(DeSci)工具,旨在帮助科学界广泛采用区块链技术。