skip to main content
10.1145/3459960.3459975acmotherconferencesArticle/Chapter ViewAbstractPublication PagesecbsConference Proceedingsconference-collections
research-article

Smart Contract and Blockchain Based Contract Management System

Published:27 May 2021Publication History

ABSTRACT

This paper presents theoretical and practical research on the possibilities of applying smart contracts in the field of law and a contract management system which allows users to conclude contracts based on blockchain technology. The transition from traditional contracting to smart contracting would significantly improve the contracting process as contracts concluded in this way would be without intermediaries. Therefore, they could be concluded more efficiently and the costs related to the contracts could be reduced. Allotment contract was selected as an example, i.e., a contract by which the hotel representative assigns certain accommodation capacities to a travel agency and by which the agency provides those capacities in their arrangements. A smart allotment contract has been written using the Solidity programming language, to run on the Ethereum platform.

References

  1. Boulmakoul Abdel and Sallé Mathias. 2002. Integrated contract management. In Proceedings of the 9th Workshop of the HP OpenView University Association, July, 2002.Google ScholarGoogle Scholar
  2. The Law of Contract and Torts. 1978. Official Gazette RS, No. 29. Retrieved February 9, 2021 from http://www.pravno-informacioni-sistem.rs/SlGlasnikPortal/eli/rep/slsfrj/skupstina/zakon/1978/29/1/regGoogle ScholarGoogle Scholar
  3. Nick Szabo. 1994. Smart contracts. Unpublished manuscript, 26 pages.Google ScholarGoogle Scholar
  4. Nick Szabo. 1997. Formalizing and securing relationships on public networks. First Monday 2, 9 (1 September 1997). https://doi.org/10.5210/fm.v2i9.548Google ScholarGoogle Scholar
  5. Josh Stark. 2016. Making Sense of Blockchain Smart Contracts. (4 June 2016). Retrieved February 9, 2021 from https://www.coindesk.com/making-sense-smart-contractsGoogle ScholarGoogle Scholar
  6. Maher Alharby and Aad van Moorsel. 2017. Blockchain-based smart contracts: A systematic mapping study. arXiv:1710.06372. Retrieved February 9, 2021 from https://arxiv.org/abs/1710.06372Google ScholarGoogle Scholar
  7. Xiwei Xu, 2016. The blockchain as a software connector. In 2016 13th Working IEEE/IFIP Conference on Software Architecture (WICSA), April 5-8, 2016, Venice, Italy. IEEE, 182-191. https://doi.org/10.1109/WICSA.2016.21Google ScholarGoogle ScholarCross RefCross Ref
  8. Debajani Mohanty. 2018. Ethereum for Architects and Developers. Apress Media LLC, Berkeley, California, USA. https://doi.org/10.1007/978-1-4842-4075-5_2 Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Solidity: programming language. Retrieved February 9, 2021 from https://solidity.readthedocs.ioGoogle ScholarGoogle Scholar
  10. Umesh Bodkhe, Pronaya Bhattacharya, Sudeep Tanwar, Sudhanshu Tyagi, Neeraj Kumar, and M. S. Obaidat. 2019. BloHosT: Blockchain enabled smart tourism and hospitality management. In 2019 International Conference on Computer, Information and Telecommunication Systems (CITS), August 28-31, 2019, Beijing, China. IEEE, 1-5. https://doi.org/10.1109/CITS.2019.8862001Google ScholarGoogle ScholarCross RefCross Ref
  11. ArabianChain Technology. 2017. ArabianChain. Retrieved February 9, 2021 from https://www.arabianchain.org/Google ScholarGoogle Scholar
  12. Chibuzor Udokwu, Aleksandr Kormiltsyn, Kondwani Thangalimodzi, and Alex Norta. 2018. The state of the art for blockchain-enabled smart-contract applications in the organization. In 2018 Ivannikov Ispras Open Conference (ISPRAS), November 22-23, 2018, Moscow, Russia. IEEE, 137-144. https://doi.org/10.1109/ISPRAS.2018.00029Google ScholarGoogle ScholarCross RefCross Ref
  13. Bhabendu Kumar Mohanta, Soumyashree S. Panda, and Debasish Jena. 2018. An overview of smart contract and use cases in blockchain technology. In 2018 9th International Conference on Computing, Communication and Networking Technologies (ICCCNT), July 10-12, 2018, Bangalore, India. IEEE, 1-4. https://doi.org/10.1109/ICCCNT.2018.8494045Google ScholarGoogle ScholarCross RefCross Ref
  14. Richard Gendal Brown. 2018. The corda platform: An introduction. (May 2018). Retrieved February 9, 2021 from https://www.r3.com/wp-content/uploads/2019/06/corda-platform-whitepaper.pdfGoogle ScholarGoogle Scholar
  15. R3: DLT & Blockchain Software Development Company. Retrieved February 9, 2021 from https://www.r3.comGoogle ScholarGoogle Scholar
  16. Joel Clark. 2018. Blockchain Initiative of the Year 2018: The Nominees. (March 2018). Retrieved February 9, 2021 from https://www.fnlondon.com/articles/blockchain-initiative-of-the-year-2018-the-nominees-20180325Google ScholarGoogle Scholar
  17. Rentberry: Apartments for Rent Worldwide. Retrieved February 9, 2021 from https://rentberry.comGoogle ScholarGoogle Scholar
  18. Hyperledger: Open Source Blockchain Technologies. Retrieved February 9, 2021 from https://www.hyperledger.org/Google ScholarGoogle Scholar
  19. Hyperledger Fabric: distributed ledger software. Retrieved February 9, 2021 from https://www.hyperledger.org/projects/fabricGoogle ScholarGoogle Scholar
  20. Elli Androulaki, 2018. Hyperledger fabric: a distributed operating system for permissioned blockchains. In Proceedings of the Thirteenth EuroSys Conference (EuroSys '18), April 23-26, 2018, Porto, Portugal. ACM Inc., New York, NY, USA, 1-15. https://doi.org/10.1145/3190508.3190538 Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. JavaScript: high-level and multi-paradigm programming language. Retrieved February 9, 2021 from https://www.javascript.com/Google ScholarGoogle Scholar
  22. Go: high-level and multi-paradigm programming language developed at Google. Retrieved February 9, 2021 from https://golang.org/Google ScholarGoogle Scholar
  23. Java: object-oriented programming language. Retrieved February 9, 2021 from https://www.java.com/Google ScholarGoogle Scholar
  24. Allotment Contract Form. Retrieved February 9, 2021 from http://www.biroaura.co.rs/pdf/ostalo/ugovori/ugovor_o_alotmanu.pdfGoogle ScholarGoogle Scholar
  25. Github repository of implemented solution. Retrieved February 9, 2021 from https://github.com/SimicSvetislav/allotment-smart-contractsGoogle ScholarGoogle Scholar
  26. Angular: platform for building mobile and desktop web applications. Retrieved February 9, 2021 from https://angular.io/Google ScholarGoogle Scholar
  27. Spring: open-source application framework for Java platform. Retrieved February 10, 2021 from https://spring.io/projects/spring-frameworkGoogle ScholarGoogle Scholar
  28. Spring Boot: open-source application framework for Java platform. Retrieved February 10, 2021 from https://spring.io/projects/spring-bootGoogle ScholarGoogle Scholar
  29. MySQL: relational database management system. Retrieved February 10, 2021 from https://www.mysql.com/Google ScholarGoogle Scholar
  30. Web3j: Java and Android library for working with smart contracts and integrating with clients (nodes) on the Ethereum network. Retrieved February 10, 2021 from https://www.web3labs.com/web3jGoogle ScholarGoogle Scholar
  31. Remix: web-based Ethereum IDE. Retrieved February 10, 2021 from https://remix.ethereum.org/Google ScholarGoogle Scholar
  32. Smart contract source code. Retrieved February 10, 2021 from https://github.com/SimicSvetislav/allotment-smart-contracts/blob/master/contracts/Allotment.solGoogle ScholarGoogle Scholar
  33. Safe Math: library for Solidity programming language. Retrieved February 10, 2021 from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/SafeMath.solGoogle ScholarGoogle Scholar
  34. Strings: string utility library for Solidity programming language. Retrieved February 10, 2021 from https://github.com/Arachnid/solidity-stringutils/blob/master/src/strings.solGoogle ScholarGoogle Scholar
  35. BokkyPooBah's DateTimeLibrary: a gas-efficient date and time library for Solidity programming language. Retrieved February 10, 2021 from https://github.com/bokkypoobah/BokkyPooBahsDateTimeLibrary/blob/master/contracts/BokkyPooBahsDateTimeLibrary.solGoogle ScholarGoogle Scholar
  36. DateUtilsLibrary: utility library for calculations with dates for Solidity programming language. Retrieved February 10, 2021 from https://github.com/SimicSvetislav/allotment-smart-contracts/blob/master/contracts/DateUtilsLibrary.solGoogle ScholarGoogle Scholar
  37. Spring security: authentication and access-control framework. Retrieved February 10, 2021 from https://spring.io/projects/spring-securityGoogle ScholarGoogle Scholar
  38. JSON web tokens: RFC 7519 method for representing claims securely between two parties. Retrieved February 10, 2021 from https://jwt.io/Google ScholarGoogle Scholar
  39. Ganache CLI: A fast and customizable blockchain emulator. Retrieved February 10, 2021 from https://www.trufflesuite.com/docs/ganache/overviewGoogle ScholarGoogle Scholar
  40. Mike Pumphrey. 2017. TESTRPC IS NOW GANACHE. (26 December 2017). Retrieved February 10, 2021 from https://www.trufflesuite.com/blog/testrpc-is-now-ganacheGoogle ScholarGoogle Scholar
  41. Ganache CLI options. Retrieved February 10, 2021 from https://github.com/trufflesuite/ganache-cli/#user-content-optionsGoogle ScholarGoogle Scholar
  42. ETH Gas Station: consumer-oriented metrics for the Ethereum gas market. Retrieved February 10, 2021 from https://ethgasstation.info/calculatorTxV.phpGoogle ScholarGoogle Scholar
  43. Etherscan: leading BlockChain Explorer, Search, API and Analytics Platform for Ethereum. Retrieved February 10, 2021 from https://etherscan.io/verifyContractGoogle ScholarGoogle Scholar
  44. Karthikeyan Bhargavan, 2016. Formal verification of smart contracts: Short paper. In Proceedings of the 2016 ACM Workshop on Programming Languages and Analysis for Security (PLAS ’16), October 24, 2016, Vienna, Austria. ACM Inc., New York, NY, USA, 91-96. https://doi.org/10.1145/2993600.2993611 Google ScholarGoogle ScholarDigital LibraryDigital Library
  45. Daniele Magazzeni, Peter McBurney, and William Nash. 2017. Validation and verification of smart contracts: A research agenda. Computer 50, 9 (22 September 2017), 50-57. https://doi.org/10.1109/MC.2017.3571045Google ScholarGoogle Scholar
  46. Bill Marino and Ari Juels. 2016. Setting standards for altering and undoing smart contracts. In International Symposium on Rules and Rule Markup Languages for the Semantic Web (RuleML 2016), July 6-9, 2016, Stony Brook, NY, USA. Springer, Cham, 151-166. https://doi.org/10.1007/978-3-319-42019-6_10Google ScholarGoogle ScholarCross RefCross Ref
  47. Nicola Atzei, Massimo Bartoletti, and Tiziana Cimoli. 2017. A survey of attacks on Ethereum smart contracts (SoK). In International Conference on Principles of Security and Trust (POST 2017), April 22-29, 2017, Uppsala, Sweden. Springer, Berlin, Heidelberg, 164-186. https://doi.org/10.1007/978-3-662-54455-6_8 Google ScholarGoogle ScholarDigital LibraryDigital Library
  48. OYENTE: An Analysis Tool for Smart Contracts. Retrieved February 10, 2021 from https://github.com/melonproject/oyenteGoogle ScholarGoogle Scholar
  49. Loi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena, and Aquinas Hobor. 2016. Making smart contracts smarter. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security (CCS ‘16), October 24-28, 2016, Vienna, Austria. ACM Inc., New York, NY, USA, 254-269. https://doi.org/10.1145/2976749.2978309 Google ScholarGoogle ScholarDigital LibraryDigital Library
  50. Guido Governatori, Florian Idelberger, Zoran Milosevic, Regis Riveret, Giovanni Sartor, and Xiwei Xu. On legal contracts, imperative and declarative smart contracts, and blockchain systems. Artificial Intelligence and Law 26, 4 (5 March 2018), 377-409. https://doi.org/10.1007/s10506-018-9223-3 Google ScholarGoogle ScholarDigital LibraryDigital Library
  51. Florian Idelberger, Guido Governatori, Régis Riveret, and Giovanni Sartor. Evaluation of logic-based smart contracts for blockchain systems. In International Symposium on Rules and Rule Markup Languages for the Semantic Web (RuleML 2016), July 6-9, 2016, Stony Brook, NY, USA. Springer, Cham, 167-183. https://doi.org/10.1007/978-3-319-42019-6_11Google ScholarGoogle ScholarCross RefCross Ref
  52. Mark Giancaspro. Is a ‘smart contract’ really a smart idea? Insights from a legal perspective. 2017. Computer Law & Security Review 33, 6 (December 2017), 825-835. https://doi.org/10.1016/j.clsr.2017.05.007Google ScholarGoogle Scholar
  53. Tom Lyons, Ludovic Courcelas, and Ken Timsit. 2019. Legal and regulatory framework of blockchains and smart contracts. 2019. In thematic report for The European Union Blockchain Observatory and Forum. Published. Vol. 27. Retrieved February 10, 2021 from https://www.eublockchainforum.eu/sites/default/files/reports/report_legal_v1.0.pdf?width=1024&height=800&iframe=trueGoogle ScholarGoogle Scholar

Index Terms

  1. Smart Contract and Blockchain Based Contract Management System
              Index terms have been assigned to the content through auto-classification.

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in
              • Published in

                cover image ACM Other conferences
                ECBS 2021: 7th Conference on the Engineering of Computer Based Systems
                May 2021
                168 pages
                ISBN:9781450390576
                DOI:10.1145/3459960

                Copyright © 2021 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 27 May 2021

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • research-article
                • Research
                • Refereed limited

                Acceptance Rates

                Overall Acceptance Rate25of49submissions,51%

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader

              HTML Format

              View this article in HTML Format .

              View HTML Format