Yao-Chieh Hu, Ting-Ting Lee, Dimitris Chatzopoulos, P. Hui
{"title":"跨测试网的以太坊智能合约之间的分层交互","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":"{\"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}","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}
Hierarchical interactions between Ethereum smart contracts across Testnets
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.