Decentralised (on-blockchain) and centralised (off–blockchain) platforms are available for the implementation of smart contracts. However, none of the two alternatives can individually provide the services and quality of services (QoS) imposed on smart contracts involved in a large class of applications. The reason is that blockchain platforms suffer from scalability, performance, transaction costs and other limitations. Likewise, off–blockchain platforms are afflicted by drawbacks emerging from their dependence on single trusted third parties. We argue that in several applications, hybrid platforms composed from the integration of on and off–blockchain platforms are more adequate. Developers that informatively choose between the three alternatives are likely to implement smart contracts that deliver the expected QoS. Hybrid architectures are largely unexplored. To help cover the gap and as a proof of concept, in this paper we discuss the implementation of smart contracts on hybrid architectures. We show how a smart contract can be split and executed partially on an off–blockchain contract compliance checker and partially on the rinkeby ethereum network. To test the solution, we expose it to sequences of contractual operations generated mechanically by a contract validator tool.
|Title of host publication||Proceedings 2018 IEEE 8th International Symposium on Cloud and Service Computing (SC2)|
|Publication status||Published - 9 Dec 2018|
|Event||8th International Symposium on Cloud and Service Computing - Paris, France|
Duration: 18 Nov 2018 → 21 Nov 2018
|Conference||8th International Symposium on Cloud and Service Computing|
|Period||18/11/18 → 21/11/18|