TransOra: A Transaction-preserving and Transparent Distributed Oracle on Permissioned Blockchain For Hybrid Smart Contracts

Tianjian Yang, Qiao Sun, Feng Chen
{"title":"TransOra: A Transaction-preserving and Transparent Distributed Oracle on Permissioned Blockchain For Hybrid Smart Contracts","authors":"Tianjian Yang, Qiao Sun, Feng Chen","doi":"10.1109/cniot55862.2022.00010","DOIUrl":null,"url":null,"abstract":"Hybrid transaction in blockchain enlarges the application domain of smart contracts by enabling off-chain data access. In support of the hybrid transaction, blockchain oracle is an indispensable middleware responsible for receiving data-request tasks and pushing the result back to chain. Though solutions supporting hybrid transactions do exist, they are less featured or applicable for both contract and application developers. On one hand, the racing-condition among several concurrent hybrid transactions should be manually resolved by contract developers. On the other hand, application developers have to associate each individual task with its parent hybrid transaction in order to obtain the result. In this paper, a novel block-chain oracle platform with a set of simple but unified API for both hybrid and traditional transactions is proposed. Firstly, we design and implement a transactional storage layer and a transaction scheduler for transaction preservation and ordering. Secondly, with the help of an automatic result tracing mechanism, application developers are able to acquire transaction results transparently without awareness of oracles and underlying task execution. Experiments are conducted on one of current prevalent permissioned blockchain platforms, RepChain, and the result shows that all of the system design goals are fulfilled with merely an acceptable loss of performance.","PeriodicalId":251734,"journal":{"name":"2022 3rd International Conference on Computing, Networks and Internet of Things (CNIOT)","volume":"26 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 3rd International Conference on Computing, Networks and Internet of Things (CNIOT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/cniot55862.2022.00010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Hybrid transaction in blockchain enlarges the application domain of smart contracts by enabling off-chain data access. In support of the hybrid transaction, blockchain oracle is an indispensable middleware responsible for receiving data-request tasks and pushing the result back to chain. Though solutions supporting hybrid transactions do exist, they are less featured or applicable for both contract and application developers. On one hand, the racing-condition among several concurrent hybrid transactions should be manually resolved by contract developers. On the other hand, application developers have to associate each individual task with its parent hybrid transaction in order to obtain the result. In this paper, a novel block-chain oracle platform with a set of simple but unified API for both hybrid and traditional transactions is proposed. Firstly, we design and implement a transactional storage layer and a transaction scheduler for transaction preservation and ordering. Secondly, with the help of an automatic result tracing mechanism, application developers are able to acquire transaction results transparently without awareness of oracles and underlying task execution. Experiments are conducted on one of current prevalent permissioned blockchain platforms, RepChain, and the result shows that all of the system design goals are fulfilled with merely an acceptable loss of performance.
TransOra:用于混合智能合约的许可区块链上的事务保存和透明分布式Oracle
区块链中的混合交易通过支持链下数据访问,扩大了智能合约的应用领域。为了支持混合事务,区块链oracle是一个必不可少的中间件,负责接收数据请求任务并将结果推回链。虽然支持混合事务的解决方案确实存在,但它们的特性较差,或者对合约和应用程序开发人员都不适用。一方面,多个并发混合事务之间的竞争状况需要由合约开发者手动解决。另一方面,应用程序开发人员必须将每个单独的任务与其父混合事务关联起来,以便获得结果。本文提出了一种新的区块链oracle平台,该平台具有一套简单而统一的API,用于混合交易和传统交易。首先,我们设计并实现了一个事务存储层和一个事务调度程序,用于事务的保存和排序。其次,在自动结果跟踪机制的帮助下,应用程序开发人员可以透明地获取事务结果,而无需意识到oracle和底层任务执行。在当前流行的许可区块链平台之一RepChain上进行了实验,结果表明,所有系统设计目标都实现了,性能损失仅为可接受的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信