Blockchain technology is a decentralized, non-tamperable distributed ledger technology, based on blockchain smart contracts, running on the blockchain system, driven by events and capable of automatically executing trustless according to preset conditions agreement between parties. Most of the existing blockchain architectures only support a single smart contract engine, which makes it costly for users to learn smart contracts and cannot quickly switch from familiar contract programming. At the same time, it also affects the versatility of the chain architecture. In response to the above problems, this paper designs a pluggable multi-smart contract engine. The engine has three major characteristics. One is the access to multiple contract virtual machines with engine adapters as the core module, and a standardized engine interface is provided. Developers only need to implement the corresponding functions according to the interface description to complete the access; the second is pluggability, which supports the access and removal of smart contract virtual machines, which is convenient for system management and also facilitates the performance of the contract engine; The third is the engine interface module. Through the design of the interface, the management of a certain contract machine is simplified and the application is easier to implement.
A pluggable multi-smart contract engine
2021-10-20
841773 byte
Conference paper
Electronic Resource
English