超级账本操作的区块链集成:编写、部署和测试自定义链码

Mark Philip M. Sy, Rufo I. Marasigan, E. Festijo
{"title":"超级账本操作的区块链集成:编写、部署和测试自定义链码","authors":"Mark Philip M. Sy, Rufo I. Marasigan, E. Festijo","doi":"10.1109/IS3C57901.2023.00048","DOIUrl":null,"url":null,"abstract":"Blockchain is a specific Distributed Ledger Technology (DLT) that is an emerging technology currently disrupting various fields. The aim of this paper is to explore ways to harness the advantages of blockchain while being implemented to existing systems. A permissioned blockchain can be established through Hyperledger Fabric (HLF) that utilizes ledgers that are interacted upon by a chaincode. An HLF network was established to investigate the custom chaincode. The scenario of the project was grounded on the functions performed in a web-based property inventory management system that uses a centralized database. The chaincode in the project was written using JavaScript and Node.js was used to create the whole chaincode source. A channel was built between the nodes of the blockchain where the chaincode was deployed. Subsequently, to open a gateway to the network, multiple Representational State Transfer (RST) Application Programming Interface (API) were created. Several gateway endpoints were tested through Insomnia, a cross-platform API client for RST. The tests performed employed various request methods (GET, POST, PUT, and DELETE) which resulted in evidence that the custom chaincode is fully functional and adheres to the OpenAPI specification. The paper concludes that it is highly feasible and advantageous to integrate a blockchain into an existing Web 2.0 system. Most functions and business logic in existing traditional systems can be reflected in a chaincode with proper planning and execution. In the future, other aspects of the blockchain network will be explored further.","PeriodicalId":142483,"journal":{"name":"2023 Sixth International Symposium on Computer, Consumer and Control (IS3C)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Hyperledger-Operated Blockchain Integration: Writing, Deploying and Testing Custom Chaincode\",\"authors\":\"Mark Philip M. Sy, Rufo I. Marasigan, E. Festijo\",\"doi\":\"10.1109/IS3C57901.2023.00048\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Blockchain is a specific Distributed Ledger Technology (DLT) that is an emerging technology currently disrupting various fields. The aim of this paper is to explore ways to harness the advantages of blockchain while being implemented to existing systems. A permissioned blockchain can be established through Hyperledger Fabric (HLF) that utilizes ledgers that are interacted upon by a chaincode. An HLF network was established to investigate the custom chaincode. The scenario of the project was grounded on the functions performed in a web-based property inventory management system that uses a centralized database. The chaincode in the project was written using JavaScript and Node.js was used to create the whole chaincode source. A channel was built between the nodes of the blockchain where the chaincode was deployed. Subsequently, to open a gateway to the network, multiple Representational State Transfer (RST) Application Programming Interface (API) were created. Several gateway endpoints were tested through Insomnia, a cross-platform API client for RST. The tests performed employed various request methods (GET, POST, PUT, and DELETE) which resulted in evidence that the custom chaincode is fully functional and adheres to the OpenAPI specification. The paper concludes that it is highly feasible and advantageous to integrate a blockchain into an existing Web 2.0 system. Most functions and business logic in existing traditional systems can be reflected in a chaincode with proper planning and execution. In the future, other aspects of the blockchain network will be explored further.\",\"PeriodicalId\":142483,\"journal\":{\"name\":\"2023 Sixth International Symposium on Computer, Consumer and Control (IS3C)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-06-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 Sixth International Symposium on Computer, Consumer and Control (IS3C)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IS3C57901.2023.00048\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 Sixth International Symposium on Computer, Consumer and Control (IS3C)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IS3C57901.2023.00048","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

区块链是一种特定的分布式账本技术(DLT),是一种新兴技术,目前正在扰乱各个领域。本文的目的是探索如何利用区块链的优势,同时将其应用于现有系统。一个被许可的区块链可以通过Hyperledger Fabric (HLF)来建立,Hyperledger Fabric利用由链码交互的分类账。建立了一个HLF网络来研究自定义链码。该项目的场景基于基于web的财产库存管理系统中执行的功能,该系统使用集中式数据库。项目中的链码是用JavaScript编写的,整个链码源代码是用Node.js创建的。在部署链码的区块链节点之间建立了一个通道。随后,为了打开通往网络的网关,创建了多个代表性状态传输(RST)应用程序编程接口(API)。通过失眠测试了几个网关端点,失眠是一个跨平台的RST API客户端。执行的测试采用了各种请求方法(GET、POST、PUT和DELETE),结果证明自定义链码功能齐全,并且符合OpenAPI规范。本文的结论是,将区块链集成到现有的Web 2.0系统中是非常可行和有利的。现有传统系统中的大多数功能和业务逻辑都可以通过适当的规划和执行反映在链码中。未来,区块链网络的其他方面将进一步探索。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Hyperledger-Operated Blockchain Integration: Writing, Deploying and Testing Custom Chaincode
Blockchain is a specific Distributed Ledger Technology (DLT) that is an emerging technology currently disrupting various fields. The aim of this paper is to explore ways to harness the advantages of blockchain while being implemented to existing systems. A permissioned blockchain can be established through Hyperledger Fabric (HLF) that utilizes ledgers that are interacted upon by a chaincode. An HLF network was established to investigate the custom chaincode. The scenario of the project was grounded on the functions performed in a web-based property inventory management system that uses a centralized database. The chaincode in the project was written using JavaScript and Node.js was used to create the whole chaincode source. A channel was built between the nodes of the blockchain where the chaincode was deployed. Subsequently, to open a gateway to the network, multiple Representational State Transfer (RST) Application Programming Interface (API) were created. Several gateway endpoints were tested through Insomnia, a cross-platform API client for RST. The tests performed employed various request methods (GET, POST, PUT, and DELETE) which resulted in evidence that the custom chaincode is fully functional and adheres to the OpenAPI specification. The paper concludes that it is highly feasible and advantageous to integrate a blockchain into an existing Web 2.0 system. Most functions and business logic in existing traditional systems can be reflected in a chaincode with proper planning and execution. In the future, other aspects of the blockchain network will be explored further.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Overview of Coordinated Frequency Control Technologies for Wind Turbines, HVDC and Energy Storage Systems Apply Masked-attention Mask Transformer to Instance Segmentation in Pathology Images A Broadband Millimeter-Wave 5G Low Noise Amplifier Design in 22 nm Fully-Depleted Silicon-on-Insulator (FD-SOI) CMOS Wearable PVDF-TrFE-based Pressure Sensors for Throat Vibrations and Arterial Pulses Monitoring Fast Detection of Fabric Defects based on Neural Networks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1