Elastic and cost effective data carrier architecture for smart contract in blockchain
Abstract Smart contract, which could help developer deploy decentralized and secure blockchain application, is one of the most promising technologies for modern Internet of things (IoT) ecosystem today. However, Ethereum smart contract lacks of ability to communicate with outside IoT environment. To enable smart contracts to fetch off chain data, this paper proposes a data carrier architecture that is cost effective and elastic for blockchain enabled IoT environment. Three components, namely Mission Manager, Task Publisher and Worker, are presented in the data carrier architecture to interact with contract developer, smart contract, Ethereum node and off chain data sources. Selective solutions are also proposed for filtering smart contract event and decoding event log to fit different requirements. The evaluation results and discussions show the proposed system will decrease about 20USD deployment cost in average for every smart contract, and it is more efficient and elastic compared with Oraclize Oracle data carrier service.
Future Gener. Comput. Syst.