APPROACHES IN MODELING SMART CONTRACTS BASED ON ETHEREUM

Yuriy Tsudzenko

Abstract


A smart contract is a type of digital agreement between several parties without intermediaries. In many areas of life, the smart contract is a breakthrough technology because it can change the perception of deals. At first sight, creating a smart contract may seem like a simple thing, but to create it, should to know and use a large number of technologies.

This article discusses method of creating smart contracts based on Ethereum using technologies such as the Ethereum network, the Solidity programming language, the Ethereum Virtual Machine (EVM), which takes the main role in creating and executing smart contracts and supporting instruments Ganache and Truffle. A smart contract has been implemented based on the sale of movie tickets using the previously mentioned technologies. It took 0.65 seconds to complete a transaction for the sale of 10 tickets between wallets. Once this transaction made, the smart contract cannot change, which makes it unique compared to other technologies. In general, creating smart contracts with Solidity requires a good understanding of object-oriented programming languages, but most of the functions available in the Solidity packages perform the same functionality. Ethereum's uniqueness allows blockchain-based applications to run autonomously, but this also has its drawbacks.

Also presented and investigated in the article an analysis of the time trends of the Ethereum smart contract out using the R programming language and the R-Studio development environment. Data of Ethereum smart contract for analysis taken from an open source Kaggle. The dataset contains 1599 rows of data and 8 unique columns of Ethereum smart contract values. The best days and months in relation to the ROI indicator investigated. Using this methodology and tools of creating smart contract can be used for further studies.

Keywords: smart contract, blockchain, Solidity, bitcoin, Ethereum, cryptocurrency.


References


  1. Ferretti Stefano, and Gabriele D'Angelo. "On the ethereum blockchain structure: A complex networks theory perspective." Concurrency and Computation: Practice and Experience 32, no. 12 (2020): e5493.
  2. Pavlyshenko Bohdan M. "Bitcoin Price Predictive Modeling Using Expert Correction." In 2019 XIth International Scientific and Practical Conference on Electronics and Information Technologies (ELIT), pp. 163-167.
  3. Singh Madhusudan, and Shiho Kim. "Blockchain technology for decentralized autonomous organizations." In Advances in computers, vol. 115, pp. 115-140. Elsevier, 2019.
  4. Buterin Vitalik. "A next-generation smart contract and decentralized application platform." white paper 3, no. 37 (2014): 2-1.
  5. Dannen Chris. Introducing Ethereum and solidity. Vol. 1. Berkeley: Apress, 2017.
  6. Liu Yue, Ju Yang, and Mingjun Liu. "Recognition of QR Code with mobile phones." In 2008 Chinese control and decision conference, pp. 203-206. IEEE, 2008.
  7. Metamask, Retrieved from https://metamask.io.
  8. Park Jong Soo, Ming-Syan Chen, and Philip S. Yu. "Using a hash-based method with transaction trimming for mining association rules." IEEE transactions on knowledge and data engineering 9, no. 5 (1997): 813-825.
  9. Hargreaves Andy, and Michael T. O’Connor. "Solidarity with solidity: The case for collaborative professionalism." Phi Delta Kappan 100, no. 1 (2018): 20-24.
  10. Na Dong Gyu, Jung Hwan Baek, Jin Yong Sung, Ji-Hoon Kim, Jae Kyun Kim, Young Jun Choi, and Hyobin Seo. "Thyroid imaging reporting and data system risk stratification of thyroid nodules: categorization based on solidity and echogenicity." Thyroid 26, no. 4 (2016): 562-572.
  11. Kaggle studio. Retrieved from https://www.kaggle.com/
  12. R language. Retrieved from https://www.r-project.org/
  13. R-Studio. Retrieved from https://www.r-studio.com/
  14. Vujičić Dejan, Dijana Jagodić, and Siniša Ranđić. "Blockchain technology, bitcoin, and Ethereum: A brief overview." In 2018 17th international symposium infoteh-jahorina (infoteh), pp. 1-6. IEEE, 2018.




DOI: http://dx.doi.org/10.30970/eli.22.7

Refbacks

  • There are currently no refbacks.