Auto-generation of Smart Contracts from a Domain-Specific XML-Based Language

Vimal Dwivedi, Alex Norta

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Smart contracts are a means of facilitating, verifying and enforcing digital agreements. Blockchain technology, which includes an inherent consensus mechanism and programming languages, enables the concept of smart contracts. However, smart contracts written in an existing language, such as Solidity, Vyper, and others, are difficult for domain stakeholders and programmers to understand in order to develop code efficiently and without error, owing to a conceptual gap between the contractual provisions and the respective code. Our study addresses the problem by creating smart legal contract markup language (SLCML), an XML-based smart-contract language with pattern and transformation rules that automatically convert XML code to the Solidity language. In particular, we develop an XML schema (SLCML schema) that is used to instantiate any type of business contract understandable to IT and non-IT practitioners and is processed by computers. To reduce the effort and risk associated with smart contract development, we advocate a pattern for converting SLCML contracts to Solidity smart contracts, a smart contractual oriented computer language. We exemplify and assess our SLCML and transformation approach by defining a dairy supply chain contract based on real-world data.
Original languageEnglish
Title of host publicationIntelligent Data Engineering and Analytics
Subtitle of host publicationProceedings of the 9th International Conference on Frontiers in Intelligent Computing: Theory and Applications (FICTA 2021)
EditorsSuresh Chandra Satapathy, Peter Peer, Jinshan Tang, Vikrant Bhateja, Anumoy Ghosh
PublisherSpringer Singapore
Pages549-564
ISBN (Electronic)978-981-16-6624-7
ISBN (Print)978-981-16-6623-0, 978-981-16-6626-1
DOIs
Publication statusPublished - 28 Feb 2022
Externally publishedYes
EventInternational Conference on Frontiers in Intelligent Computing: Theory and Applications - National Institute of Technology, Mizoram, India
Duration: 25 Jun 202126 Jun 2021

Conference

ConferenceInternational Conference on Frontiers in Intelligent Computing
Abbreviated titleFICTA 2021
Country/TerritoryIndia
CityMizoram
Period25/06/2126/06/21

Fingerprint

Dive into the research topics of 'Auto-generation of Smart Contracts from a Domain-Specific XML-Based Language'. Together they form a unique fingerprint.

Cite this