Skip to main content

CCOM: Cost-Efficient and Collusion-Resistant Oracle Mechanism for Smart Contracts

  • Conference paper
  • First Online:
  • 653 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13494))

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Dos network: a decentralized oracle service boosting blockchain usability with off-chain data & verifiable computing power. https://s3.amazonaws.com/whitepaper.dos/DOS (2019)

  2. Ethereum blockchain. https://ethereum.org/en/whitepaper/ (2020)

  3. Provable documentation. https://docs.provable.xyz/. January 2020

  4. 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)

    Google Scholar 

  5. 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)

    Article  Google Scholar 

  6. Berryhill, R., Veneris, A.: Astraea: A decentralized blockchain oracle. IEEE Blockchain Tech. Briefs 2(2) (2019)

    Google Scholar 

  7. 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

    Chapter  Google Scholar 

  8. Greenspan, G.: Why many smart contract use cases are simply impossible. https://www.coindesk.com/three-smart-contract-misconceptions (2016)

  9. Guarnizo, J., Szalachowski, P.: Pdfs: practical data feed service for smart contracts (2018)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. Hess, Z., Malahov, Y., Pettersson, J.: Æternity blockchain. https://aeternity.com/aeternity-blockchainwhitepaper.pdf (2017)

  12. Li, K., Tang, Y., Chen, J., Yuan, Z., Xu, C., Xu, J.: Cost-effective data feeds to blockchains via workload-adaptive data replication (2019)

    Google Scholar 

  13. 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

    Chapter  Google Scholar 

  14. 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)

    Google Scholar 

  15. Myerson, R.: Game Theory: Analysis of Conflict. Harvard University Press, Cambridge (1991)

    Google Scholar 

  16. Osborne, M.J.: An Introduction to Game Theory. New York vol. 3 (2004)

    Google Scholar 

  17. Osborne, M.J., Rubinstein, A.: A Course in Game Theory. MIT Press, Cambridge (1994)

    Google Scholar 

  18. Pasdar, A., Dong, Z., Lee, Y.C.: Blockchain oracle design patterns. arXiv preprint arXiv:2106.09349 (2021)

  19. de Pedro, A.S., Levi, D., Cuende, L.I.: Witnet: a decentralized oracle network protocol. arXiv preprint arXiv:1711.09756 (2017)

  20. 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)

  21. 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)

    Google Scholar 

  22. Ellis, S., Juels, A., Nazarov, S.: Chainlink: a decentralized oracle network, March 2017

    Google Scholar 

  23. Solidity, E.: Solidity documentation (2017)

    Google Scholar 

  24. 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)

    Google Scholar 

  25. 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)

    Google Scholar 

  26. 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)

    Google Scholar 

  27. Weisse, O., et al.: Foreshadow-ng: breaking the virtual memory abstraction with transient out-of-order execution (2018)

    Google Scholar 

  28. 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)

    Google Scholar 

  29. 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

    Chapter  Google Scholar 

  30. 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)

    Google Scholar 

  31. 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)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Chunpeng Ge .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics