Hercule:规范的表示和推理作为区块链上声明式合同的基础
Hercule: Representing and Reasoning about Norms as a Foundation for Declarative Contracts over Blockchain
摘要:
当前用于商业合同的区块链方法基于智能合同,即放置在区块链上的软件程序,这些程序自动执行以实现合同。然而,智能合约缺乏灵活性,并干扰了有关各方的自主权。我们提出了Hercule,一种以反映业务合同的方式声明性地指定区块链应用程序的方法。赫尔克里代表了一个通过监管规范的合同,这些规范捕捉了相关各方对彼此的期望。它从区块链中的事件计算规范(因此,合同)的状态。Hercule的新颖性和重要性在于它在半结构化数据库上实现了声明式合同,这是Hyperledger Fabric和Ethereum等实际区块链的底层表示。具体来说,它利用这种商店的映射缩减能力来计算范数状态。我们证明了我们在Hyperledger Fabric上的实现每秒可以处理数千个事件,足以满足许多应用程序的需求。
英文摘要:
Current blockchain approaches for business contracts are based on smart contracts, namely, software programs placed on a blockchain that are automatically executed to realize a contract. However, smart contracts lack flexibility and interfere with the autonomy of the parties concerned. We propose Hercule, an approach for declaratively specifying blockchain applications in a manner that reflects business contracts. Hercule represents a contract via regulatory norms that capture the involved parties' expectations of one another. It computes the states of norms (hence, of contracts) from events in the blockchain. Hercule's novelty and significance lie in that it operationalizes declarative contracts over semistructured databases, the underlying representation for practical blockchain such as Hyperledger Fabric and Ethereum. Specifically, it exploits the map-reduce capabilities of such stores to compute norm states. We demonstrate that our implementation over Hyperledger Fabric can process thousands of events per second, sufficient for many applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。