克服不变性、链有界性和Gas费的一些区块链设计模式

Valerio Mandarino, G. Pappalardo, E. Tramontana
{"title":"克服不变性、链有界性和Gas费的一些区块链设计模式","authors":"Valerio Mandarino, G. Pappalardo, E. Tramontana","doi":"10.1109/ACCC58361.2022.00018","DOIUrl":null,"url":null,"abstract":"Ethereum network has introduced an important innovation to blockchain technology that has deeply changed the world of blockchains and cryptocurrencies: Turing-complete smart contracts. Thanks to smart contracts it is possible to mint fungible and non-fungible tokens, manage decentralized organizations and offer services such as digital identity, advertisement, time commitments, decentralized exchanges, etc. However, smart contract development is not free from challenges. This paper analyses a set of design patterns that have been documented and groups them according to related smart contracts' weaknesses. Moreover, two novel solutions are presented in the form of design patterns. The first is a micro architecture that deals with a treasure reserve and aims at reducing gas consumption when having to update the code of a smart contract. The second presents a solution for packing bits each representing a Boolean value.","PeriodicalId":285531,"journal":{"name":"2022 3rd Asia Conference on Computers and Communications (ACCC)","volume":"21 7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Some Blockchain Design Patterns for Overcoming Immutability, Chain-Boundedness, and Gas Fees\",\"authors\":\"Valerio Mandarino, G. Pappalardo, E. Tramontana\",\"doi\":\"10.1109/ACCC58361.2022.00018\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Ethereum network has introduced an important innovation to blockchain technology that has deeply changed the world of blockchains and cryptocurrencies: Turing-complete smart contracts. Thanks to smart contracts it is possible to mint fungible and non-fungible tokens, manage decentralized organizations and offer services such as digital identity, advertisement, time commitments, decentralized exchanges, etc. However, smart contract development is not free from challenges. This paper analyses a set of design patterns that have been documented and groups them according to related smart contracts' weaknesses. Moreover, two novel solutions are presented in the form of design patterns. The first is a micro architecture that deals with a treasure reserve and aims at reducing gas consumption when having to update the code of a smart contract. The second presents a solution for packing bits each representing a Boolean value.\",\"PeriodicalId\":285531,\"journal\":{\"name\":\"2022 3rd Asia Conference on Computers and Communications (ACCC)\",\"volume\":\"21 7 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 3rd Asia Conference on Computers and Communications (ACCC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ACCC58361.2022.00018\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 3rd Asia Conference on Computers and Communications (ACCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ACCC58361.2022.00018","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

以太坊网络为区块链技术引入了一项重要的创新,它深刻地改变了区块链和加密货币的世界:图灵完备智能合约。由于智能合约,可以制造可替代和不可替代的代币,管理分散的组织并提供诸如数字身份,广告,时间承诺,分散交换等服务。然而,智能合约的发展并非没有挑战。本文分析了一组已记录的设计模式,并根据相关智能合约的弱点对它们进行了分组。此外,还以设计模式的形式提出了两种新颖的解决方案。第一个是处理宝藏储备的微架构,旨在在必须更新智能合约代码时减少gas消耗。第二种方法是将每个代表一个布尔值的位打包。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Some Blockchain Design Patterns for Overcoming Immutability, Chain-Boundedness, and Gas Fees
Ethereum network has introduced an important innovation to blockchain technology that has deeply changed the world of blockchains and cryptocurrencies: Turing-complete smart contracts. Thanks to smart contracts it is possible to mint fungible and non-fungible tokens, manage decentralized organizations and offer services such as digital identity, advertisement, time commitments, decentralized exchanges, etc. However, smart contract development is not free from challenges. This paper analyses a set of design patterns that have been documented and groups them according to related smart contracts' weaknesses. Moreover, two novel solutions are presented in the form of design patterns. The first is a micro architecture that deals with a treasure reserve and aims at reducing gas consumption when having to update the code of a smart contract. The second presents a solution for packing bits each representing a Boolean value.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Research on the Application of Blockchain Smart Contract in Software Supply Chain Management An Access Middleware for Sensor Traffic Control Semantic Segmentation Algorithm for Night Traffic Scene Based on Visible and Infrared Images Using the Relationship between the Theory of Algebraic Fields and Number Theory for Developing Promising Methods of Digital Signal Processing An Integrated Neutrosophic SNA-MABAC Approach for Blockchain Applicability Evaluation in Sustainable Supply Chains
×
引用
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