Hierarchical interactions between Ethereum smart contracts across Testnets

Yao-Chieh Hu, Ting-Ting Lee, Dimitris Chatzopoulos, P. Hui
{"title":"Hierarchical interactions between Ethereum smart contracts across Testnets","authors":"Yao-Chieh Hu, Ting-Ting Lee, Dimitris Chatzopoulos, P. Hui","doi":"10.1145/3211933.3211935","DOIUrl":null,"url":null,"abstract":"Although the primary role of decentralized ledgers, such as blockchains in cryptocurrencies, is to store data related to interactions between users to establish trust within incognizant parties, their capabilities allow them to offer more sophisticated functionalities. Smart contracts are decentralized rules that are stored on the blockchain and are executed on demand. Furthermore, smart contracts can interact with each other via message exchange to access data that are stored on them and to call each others' methods. In this paper, we propose a two-level hierarchical architecture that is composed of two types of smart contracts: custodian and client. A custodian contract can deploy on-demand client contract, access their data and call their methods to perform specific updates. Moreover, we develop a framework to allow client contracts to share common variables among all or partial group of the contracts, which may only be mutated by its creator, custodian contracts. We measure the performance of our proposal by developing the proposed contracts and deploying them on three popular testnets.","PeriodicalId":250870,"journal":{"name":"Proceedings of the 1st Workshop on Cryptocurrencies and Blockchains for Distributed Systems","volume":"40 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-06-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"20","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 1st Workshop on Cryptocurrencies and Blockchains for Distributed Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3211933.3211935","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 20

Abstract

Although the primary role of decentralized ledgers, such as blockchains in cryptocurrencies, is to store data related to interactions between users to establish trust within incognizant parties, their capabilities allow them to offer more sophisticated functionalities. Smart contracts are decentralized rules that are stored on the blockchain and are executed on demand. Furthermore, smart contracts can interact with each other via message exchange to access data that are stored on them and to call each others' methods. In this paper, we propose a two-level hierarchical architecture that is composed of two types of smart contracts: custodian and client. A custodian contract can deploy on-demand client contract, access their data and call their methods to perform specific updates. Moreover, we develop a framework to allow client contracts to share common variables among all or partial group of the contracts, which may only be mutated by its creator, custodian contracts. We measure the performance of our proposal by developing the proposed contracts and deploying them on three popular testnets.
跨测试网的以太坊智能合约之间的分层交互
尽管去中心化分类账(如加密货币中的区块链)的主要作用是存储与用户之间交互相关的数据,以在不认识的各方之间建立信任,但它们的能力使它们能够提供更复杂的功能。智能合约是存储在区块链上并按需执行的分散规则。此外,智能合约可以通过消息交换相互交互,以访问存储在它们上面的数据并调用彼此的方法。在本文中,我们提出了一个两层分层架构,由两种类型的智能合约组成:托管方和客户端。托管契约可以部署按需客户端契约,访问他们的数据并调用他们的方法来执行特定的更新。此外,我们开发了一个框架,允许客户合同在所有或部分合同组之间共享公共变量,这些变量只能由其创建者,托管合同进行突变。我们通过开发提议的合约并在三个流行的测试网络上部署它们来衡量提案的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信