A Framework for Creating Deployable Smart Contracts for Non-fungible Tokens on the Ethereum Blockchain
- 1 August 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 100-105
Abstract
Non-fungible tokens are an up and coming application domain for smart contracts. Ethereum is the first blockchain-based decentralized computing platform that has standardized this type of tokens into a well-defined interface, namely ERC721. We propose a framework that provides developers with a smart contract suite that offers complete implementations of the ERC721 standard and common extensions and features frequently encountered in ERC721-based applications. We introduce a specification language that enables customization and configuration of the smart contract suite by including and excluding the supported features and extensions. We evaluate the smart contract suite for its extensibility and reusability and compare the metrics with four reference implementations tackling a similar problem. In addition to this, we evaluate and analyze the effort and efficiency of the specification language in comparison to manual configuration of the smart contract suite. Our contribution lies in examining quality metrics for code extensibility and reusability and determining the more insightful metrics for assessing these quality attributes in the context of Solidity smart contracts. Additionally, from the lines of code metric, We conclude that our specification language offers a simple and efficient alternative to manual smart contract suite customization.Keywords
This publication has 6 references indexed in Scilit:
- Towards Analyzing the Complexity Landscape of Solidity Based Ethereum Smart ContractsTechnologies, 2019
- Smart Contract Programming Languages on Blockchains: An Empirical Evaluation of Usability and Security2018
- Reusability Index: A Measure for Assessing Software Assets Reusability2018
- A Survey of Attacks on Ethereum Smart Contracts (SoK)2017
- A methodology on extracting reusable software candidate components from open source games2012
- A hierarchical model for object-oriented design quality assessmentIEEE Transactions on Software Engineering, 2002