Scalable and Privacy-Preserving Design of On/Off-Chain Smart Contracts

Chao Li, Balaji Palanisamy, Runhua Xu
{"title":"Scalable and Privacy-Preserving Design of On/Off-Chain Smart Contracts","authors":"Chao Li, Balaji Palanisamy, Runhua Xu","doi":"10.1109/ICDEW.2019.00-43","DOIUrl":null,"url":null,"abstract":"The rise of smart contract systems such as Ethereum has resulted in a proliferation of blockchain-based decentralized applications including applications that store and manage a wide range of data. Current smart contracts are designed to be executed solely by miners and are revealed entirely on-chain, resulting in reduced scalability and privacy. In this paper, we discuss that scalability and privacy of smart contracts can be enhanced by splitting a given contract into an off-chain contract and an on-chain contract. Specifically, functions of the contract that involve high-cost computation or sensitive information can be split and included as the off-chain contract, that is signed and executed by only the interested participants. The proposed approach allows the participants to reach unanimous agreement off-chain when all of them are honest, allowing computing resources of miners to be saved and content of the off-chain contract to be hidden from the public. In case of a dispute caused by any dishonest participants, a signed copy of the off-chain contract can be revealed so that a verified instance can be created to make miners enforce the true execution result. Thus, honest participants have the ability to redress and penalize any fraudulent or dishonest behavior, which incentivizes all participants to honestly follow the agreed off-chain contract. We discuss techniques for splitting a contract into a pair of on/off-chain contracts and propose a mechanism to address the challenges of handling dishonest participants in the system. Our implementation and evaluation of the proposed approach using an example smart contract demonstrate the effectiveness of the proposed approach in Ethereum.","PeriodicalId":186190,"journal":{"name":"2019 IEEE 35th International Conference on Data Engineering Workshops (ICDEW)","volume":"41 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-02-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"28","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE 35th International Conference on Data Engineering Workshops (ICDEW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICDEW.2019.00-43","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 28

Abstract

The rise of smart contract systems such as Ethereum has resulted in a proliferation of blockchain-based decentralized applications including applications that store and manage a wide range of data. Current smart contracts are designed to be executed solely by miners and are revealed entirely on-chain, resulting in reduced scalability and privacy. In this paper, we discuss that scalability and privacy of smart contracts can be enhanced by splitting a given contract into an off-chain contract and an on-chain contract. Specifically, functions of the contract that involve high-cost computation or sensitive information can be split and included as the off-chain contract, that is signed and executed by only the interested participants. The proposed approach allows the participants to reach unanimous agreement off-chain when all of them are honest, allowing computing resources of miners to be saved and content of the off-chain contract to be hidden from the public. In case of a dispute caused by any dishonest participants, a signed copy of the off-chain contract can be revealed so that a verified instance can be created to make miners enforce the true execution result. Thus, honest participants have the ability to redress and penalize any fraudulent or dishonest behavior, which incentivizes all participants to honestly follow the agreed off-chain contract. We discuss techniques for splitting a contract into a pair of on/off-chain contracts and propose a mechanism to address the challenges of handling dishonest participants in the system. Our implementation and evaluation of the proposed approach using an example smart contract demonstrate the effectiveness of the proposed approach in Ethereum.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
链上/链下智能合约的可扩展性和隐私保护设计
以太坊等智能合约系统的兴起导致了基于区块链的分散应用程序的激增,包括存储和管理各种数据的应用程序。目前的智能合约被设计为仅由矿工执行,并且完全在链上显示,从而降低了可扩展性和隐私性。在本文中,我们讨论了智能合约的可扩展性和隐私性可以通过将给定合约拆分为链下合约和链上合约来增强。具体而言,涉及高成本计算或敏感信息的合约功能可以拆分并包含为链下合约,仅由感兴趣的参与者签署和执行。提议的方法允许参与者在所有人都诚实的情况下达成一致的脱链协议,允许矿工的计算资源被保存,并且对公众隐藏脱链合同的内容。如果任何不诚实的参与者引起争议,可以显示链下合同的签名副本,以便创建验证实例,使矿工强制执行真实的执行结果。因此,诚实的参与者有能力纠正和惩罚任何欺诈或不诚实的行为,这激励了所有参与者诚实地遵守商定的链下合同。我们讨论了将合约拆分为一对链上/链下合约的技术,并提出了一种机制来解决处理系统中不诚实参与者的挑战。我们使用示例智能合约对所提议的方法进行了实施和评估,证明了所提议的方法在以太坊中的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Triangle Counting on GPU Using Fine-Grained Task Distribution Distilling Knowledge from User Information for Document Level Sentiment Classification Reachability in Large Graphs Using Bloom Filters Food Image to Cooking Instructions Conversion Through Compressed Embeddings Using Deep Learning Predicting Online User Purchase Behavior Based on Browsing History
×
引用
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