Abstract
Smart contracts, that allow parties to establish agreements based on predefined rules without a trusted third-party, have been explored in various applications. However, the main drawback of smart contracts is that they cannot access the external data required to trigger the execution of inner logic. The Oracle technology is an interactive bridge between on-chain smart contracts and off-chain data, which is designed to introduce external data into the blockchain system. A superior oracle mechanism should achieve reliable data acquisition with easy data parsing, deployable services, high system efficiency, and cost-effectiveness. The current smart contracts oracle mechanisms either rely on a trusted third-party or introduce high computation overhead and difficulty in deployment. This paper, for the first time, proposes a decentralized and efficient on-chain oracle mechanism CCOM. In our scheme, a prisoner’s contract is introduced for users who want to obtain specific information. The user introduces two oracles to complete the same task of obtaining data, and the contract can prevent oracles from collusion. Rational oracles will not collude but honestly submit the correct result to increase self-interest. We also demonstrate that the proposed scheme can resist a single potentially malicious oracle service and prevent collusion from occurring. Finally, we perform experiments on Ethereum test network Rinkeby and show that our scheme is time-efficient and cost-effective.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Dos network: a decentralized oracle service boosting blockchain usability with off-chain data & verifiable computing power. https://s3.amazonaws.com/whitepaper.dos/DOS (2019)
Ethereum blockchain. https://ethereum.org/en/whitepaper/ (2020)
Provable documentation. https://docs.provable.xyz/. January 2020
Al Breiki, H., Al Qassem, L., Salah, K., Rehman, M.H.U., Sevtinovic, D.: Decentralized access control for IoT data using blockchain and trusted oracles. In: 2019 IEEE International Conference on Industrial Internet (ICII), pp. 248–257. IEEE (2019)
Al-Breiki, H., Rehman, M.H.U., Salah, K., Svetinovic, D.: Trustworthy blockchain oracles: review, comparison, and open research challenges. IEEE Access 8, 85675–85685 (2020)
Berryhill, R., Veneris, A.: Astraea: A decentralized blockchain oracle. IEEE Blockchain Tech. Briefs 2(2) (2019)
Eskandari, S., Clark, J., Sundaresan, V., Adham, M.: On the feasibility of decentralized derivatives markets. In: Brenner, M., et al. (eds.) FC 2017. LNCS, vol. 10323, pp. 553–567. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-70278-0_35
Greenspan, G.: Why many smart contract use cases are simply impossible. https://www.coindesk.com/three-smart-contract-misconceptions (2016)
Guarnizo, J., Szalachowski, P.: Pdfs: practical data feed service for smart contracts (2018)
Heiss, J., Eberhardt, J., Tai, S.: From oracles to trustworthy data on-chaining systems. In: 2019 IEEE International Conference on Blockchain (Blockchain), pp. 496–503. IEEE (2019)
Hess, Z., Malahov, Y., Pettersson, J.: Æternity blockchain. https://aeternity.com/aeternity-blockchainwhitepaper.pdf (2017)
Li, K., Tang, Y., Chen, J., Yuan, Z., Xu, C., Xu, J.: Cost-effective data feeds to blockchains via workload-adaptive data replication (2019)
Mammadzada, K., Iqbal, M., Milani, F., García-Bañuelos, L., Matulevičius, R.: Blockchain oracles: a framework for blockchain-based applications. In: Asatiani, A., et al. (eds.) BPM 2020. LNBIP, vol. 393, pp. 19–34. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58779-6_2
Moudoud, H., Cherkaoui, S., Khoukhi, L.: An IoT blockchain architecture using oracles and smart contracts: the use-case of a food supply chain. In: 2019 IEEE 30th Annual International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC), pp. 1–6. IEEE (2019)
Myerson, R.: Game Theory: Analysis of Conflict. Harvard University Press, Cambridge (1991)
Osborne, M.J.: An Introduction to Game Theory. New York vol. 3 (2004)
Osborne, M.J., Rubinstein, A.: A Course in Game Theory. MIT Press, Cambridge (1994)
Pasdar, A., Dong, Z., Lee, Y.C.: Blockchain oracle design patterns. arXiv preprint arXiv:2106.09349 (2021)
de Pedro, A.S., Levi, D., Cuende, L.I.: Witnet: a decentralized oracle network protocol. arXiv preprint arXiv:1711.09756 (2017)
Peterson, J., Krug, J., Zoltu, M., Williams, A.K., Alexander, S.: Augur: a decentralized oracle and prediction market platform. arXiv preprint arXiv:1501.01042 (2015)
Ritzdorf, H., Wüst, K., Gervais, A., Felley, G., Capkun, S.: Tls-n: non-repudiation over tls enabling-ubiquitous content signing for disintermediation. Cryptology ePrint Archive (2017)
Ellis, S., Juels, A., Nazarov, S.: Chainlink: a decentralized oracle network, March 2017
Solidity, E.: Solidity documentation (2017)
Van Bulck, J., et al.: Foreshadow: extracting the keys to the intel \(\{\)SGX\(\}\) kingdom with transient out-of-order execution. In: 27th \(\{\)USENIX\(\}\) Security Symposium (\(\{\)USENIX\(\}\) Security 18), pp. 991–1008 (2018)
Van Mölken, R.: Blockchain across Oracle: Understand the details and Implications of the Blockchain for Oracle Developers and Customers. Packt Publishing Ltd, Birmingham (2018)
Wan, Z., Guan, Z., Zhou, Y., Ren, K.: zk-authfeed: how to feed authenticated data into smart contract with zero knowledge. In: 2019 IEEE International Conference on Blockchain (Blockchain) (2019)
Weisse, O., et al.: Foreshadow-ng: breaking the virtual memory abstraction with transient out-of-order execution (2018)
Xu, X., et al.: The blockchain as a software connector. In: 2016 13th Working IEEE/IFIP Conference on Software Architecture (WICSA), pp. 182–191. IEEE (2016)
Xu, X., Weber, I., Staples, M.: Blockchain Patterns. In: Architecture for Blockchain Applications, pp. 113–148. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-03035-3_7
Yamashita, K., Nomura, Y., Zhou, E., Pi, B., Jun, S.: Potential risks of hyperledger fabric smart contracts. In: 2019 IEEE International Workshop on Blockchain Oriented Software Engineering (IWBOSE), pp. 1–10. IEEE (2019)
Zhang, F., Cecchetti, E., Croman, K., Juels, A., Shi, E.: Town crier: an authenticated data feed for smart contracts. In: Proceedings of the 2016 aCM sIGSAC Conference on Computer and Communications Security, pp. 270–282 (2016)
Acknowledgements
This work was supported by the National Key R &D Program of China (Grant No. 2020YFB1005900, 2020B0101090002), the National Key R &D Program of Guangdong Province (Grant No. 2020B0101090002), the National Natural Science Foundation of China (Grant No. 62032025, 62071222, U21A201710, U20A201092), and the Natural Science Foundation of Jiangsu Province (Grant No.BK20200418).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Wu, X. et al. (2022). CCOM: Cost-Efficient and Collusion-Resistant Oracle Mechanism for Smart Contracts. In: Nguyen, K., Yang, G., Guo, F., Susilo, W. (eds) Information Security and Privacy. ACISP 2022. Lecture Notes in Computer Science, vol 13494. Springer, Cham. https://doi.org/10.1007/978-3-031-22301-3_22
Download citation
DOI: https://doi.org/10.1007/978-3-031-22301-3_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-22300-6
Online ISBN: 978-3-031-22301-3
eBook Packages: Computer ScienceComputer Science (R0)