SigVM: Enabling Event-Driven Execution for Autonomous Smart Contracts
Abstract
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.
- Publication:
-
arXiv e-prints
- Pub Date:
- February 2021
- DOI:
- 10.48550/arXiv.2102.10784
- arXiv:
- arXiv:2102.10784
- Bibcode:
- 2021arXiv210210784Z
- Keywords:
-
- Computer Science - Programming Languages;
- Computer Science - Cryptography and Security
- E-Print:
- 14 Pages