This paper presents SigVM, a novel blockchain virtual machine that supports an event-driven execution model, enabling developers to build autonomous smart contracts. Contracts in SigVM can emit signal events, on which other contracts can listen. Once an event is triggered, corresponding handler functions are automatically executed as signal transactions. We build an end-to-end blockchain platform SigChain and a contract language compiler SigSolid to realize the potential of SigVM. Experimental results show that our benchmark applications can be reimplemented with SigVM in an autonomous way, eliminating the dependency on unreliable mechanisms like off-chain relay servers. The development effort of reimplementing these contracts with SigVM is small, i.e., we modified on average 2.6% of the contract code.
翻译:本文介绍SigVM这个支持事件驱动执行模式、使开发商能够建立自主智能合同的新颖的连锁虚拟机器。 SigVM的合同可以发布信号事件,其他合同可以听取。一旦事件发生,相应的处理者功能就自动作为信号交易执行。我们建造了一个端到端的连锁平台SigChain和一个合同语言汇编器SigSolid,以实现SigVM的潜力。实验结果表明,我们的基准应用程序可以自主地与SigVM重新实施,消除对离链中继服务器等不可靠的机制的依赖。与SigVM重新执行这些合同的发展努力很小,也就是说,我们按照合同代码的平均2.6%进行了修改。