Abstract
Smart contracts are often used to automate the execution of transactions so that the fairness, credibility and traceability can be ensured. Generally, for different trading events, different smart contracts are needed to be developed so as to meet the needs. This may lead to a reduction in efficiency, especially when large-scale transactions occur. In addition, trading contracts have complex life cycle and terms. Developing a smart contract based on the context of a contract is extremely difficult. These characteristics may do harm to the application of smart contracts in e-commerce. To this end, this paper proposes a trading model based on legal contracts using smart contract templates. The model can dynamically construct, store, and invoke smart contracts based on a smart contract template and the context of a trading contract, thereby improving the reusability of smart contracts and reducing the difficulty for use. Third-party information, like logistics information, is used as the triggering condition of smart contracts to enhance the reasonableness of execution. In this paper, the garment acquisition contract is token as an example to describe the construction method of a smart contract template. Finally, combined with the experiment and the life cycle of a legal contract, the validity and rationality of the model is discussed. The comparison with legal trading contracts in performance is also conducted.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system (2008). http://bitcoin.org/bitcoin.pdf
Jaoude, J.A., Saade, R.G.: Blockchain applications-usage in different domains. IEEE Access 7, 45360–45381 (2019)
Diffie, W., Hellman, M.E.: New directions in cryptography. IEEE Trans. Inf. Theory 22(6), 644–654 (1976)
Szabo, N.: Smart contracts (1994). http://szabo.best.vwh.net/smart.contracts.html
Buterin, V.: Ethereum: a next generation smart contract and decentralized application platform (2013). https://github.com/ethereum/wiki/wiki/White-Paper
Mohanta, B.K., Panda, S.S., Jena, D.: An overview of smart contract and use cases in blockchain technology. In: 2018 9th International Conference on Computing, Communication and Networking Technologies (ICCCNT), pp. 1–4. IEEE (2018)
Pereira, J.C.: The genesis of the revolution in Contract Law: Smart Legal Contracts. In: 12th International Conference on Theory and Practice of Electronic Governance, pp. 374–377 (2019)
Governatori, G.: Representing business contracts in RuleML. Int. J. Coop. Inf. Syst. 14(2–3), 181–216 (2005)
Yu, L., Tsai, W., Hu, C., Li, B., Hu, J., Deng, E.: Modeling context-aware legal computing with bigraphs. In: 2017 IEEE Symposium on Service-Oriented System Engineering (SOSE), pp. 145–152 (2017)
Frantz, C.K., Nowostawski, M.: From institutions to code: towards automated generation of smart contracts. In: 2016 IEEE 1st International Workshops on Foundations and Applications of Self* Systems (FAS*W), pp. 210–215 (2016)
Wang, S., Ouyang, L., Yuan, Y., Ni, X., Han, X., Wang, F.: Blockchain-enabled smart contracts: architecture, applications, and future trends. IEEE Trans. Syst. Man Cybern. Syst. 49, 2266–2277 (2019)
Governatori, G., Idelberger, F., Milosevic, Z., Riveret, R., Sartor, G., Xu, X.: On legal contracts, imperative and declarative smart contracts, and blockchain systems. Artif. Intell. Law 26, 377–409 (2018)
Clack, C.D., Bakshi, V.A., Braine, L.: Smart contract templates: foundations, design land-scape and research directions. CoRR abs/1608.00771 (2016)
Toyoda, K., Mathiopoulos, P.T., Sasase, I., Ohtsuki, T.: A novel blockchain-based product ownership management system (POMS) for anti-counterfeits in the post supply chain. IEEE Access 5, 17465–17477 (2017)
Roman, D., Vu, K.: Enabling data markets using smart contracts and multi-party computation. In: Abramowicz, W., Paschke, A. (eds.) BIS 2018. LNBIP, vol. 339, pp. 258–263. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-04849-5_23
Lamberti, F., Gatteschi, V., Demartini, C., Pelissier, M., Gomez, A., Santamaria, V.: Block-chains can work for car insurance: using smart contracts and sensors to provide on-demand coverage. IEEE Consum. Electron. Mag. 7(4), 72–81 (2018)
Hasan, H.R., Salah, K.: Blockchain-based proof of delivery of physical assets with single and multiple transporters. IEEE Access 6, 46781–46793 (2018)
Clack, C.D., Bakshi, V.A., Braine, L.: Smart contract templates: foundations, design landscape and research directions. arXiv preprint arXiv:1608.00771 (2016)
Yeh, K.H., Su, C., Hou, J.L., Chiu, W., Chen, C.M.: A robust mobile payment scheme with smart contract-based transaction repository. IEEE Access 6, 59394–59404 (2018)
Gilcrest, J., Carvalho, A.: Smart contracts: legal considerations. In: 2018 IEEE International Conference on Big Data (Big Data), pp. 3277–3281 (2018)
Wüst, K., Gervais, A.: Do you need a blockchain? In: 2018 Crypto Valley Conference on Blockchain Technology (CVCBT), pp. 45–54 (2018)
Patel, D., Shah, K., Shanbhag, S., Mistry, V.: Towards legally enforceable smart contracts. In: Chen, S., Wang, H., Zhang, L.-J. (eds.) ICBC 2018. LNCS, vol. 10974, pp. 153–165. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-94478-4_11
Salah, K., Rehman, M.H., Nizamuddin, N., Al-Fuqaha, A.: Blockchain for AI: review and open research challenges. IEEE Access 7, 10127–10149 (2019)
Almadhoun, R., Kadadha, M., Alhemeiri, M., Alshehhi, M., Salah, K.: A user authentication scheme of IoT devices using blockchain-enabled fog nodes. In: 2018 IEEE/ACS 15th International Conference on Computer Systems and Applications (AICCSA), pp. 1–8 (2018)
Acknowledgments
This work was supported by Natural Science Foundation of Shanghai (No. 19ZR1401900), Shanghai Science and Technology Innovation Action Plan Project (No. 19511101802), and National Natural Science Foundation of China (No. 61472004, 61602109).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Shi, Y., Lu, Z., Tao, R., Liu, Y., Zhang, Z. (2020). A Trading Model Based on Legal Contracts Using Smart Contract Templates. In: Zheng, Z., Dai, HN., Tang, M., Chen, X. (eds) Blockchain and Trustworthy Systems. BlockSys 2019. Communications in Computer and Information Science, vol 1156. Springer, Singapore. https://doi.org/10.1007/978-981-15-2777-7_36
Download citation
DOI: https://doi.org/10.1007/978-981-15-2777-7_36
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-2776-0
Online ISBN: 978-981-15-2777-7
eBook Packages: Computer ScienceComputer Science (R0)