[en] Recent technologies such as inter-ledger payments, non-fungible tokens, and smart contracts are all fruited from the ongoing development of Distributed Ledger Technologies. The foreseen trend is that they will play an increasingly visible role in daily life, which will have to be backed by appropriate operational resources. For example, due to increasing demand, smart contracts could soon face a shortage of knowledgeable users and tools to handle them in practice. Widespread smart contract adoption is currently limited by security, usability and costs aspects. Because of a steep learning curve, the handling of smart contracts is currently performed by specialised developers mainly, and most of the research effort is focusing on smart contract security, while other aspects like usability being somewhat neglected. Specific tools would lower the entry barrier, enabling interested non-experts to create smart contracts. In this paper we designed and developed Blockly2Hooks, a solution towards filling this gap even in challenging scenarios such as when the smart contracts are written in an advanced language like C. With the XRP Ledger as a concrete working case, Blockly2Hooks helps interested non-experts from the community to learn smart contracts easily and adopt the technology, through leveraging well-proven teaching methodologies like Visual Programming Languages, and more specifically, the Blockly Visual Programming library from Google. The platform was developed and tested and the results are promising to make learning smart contract development smoother.
Centre de recherche :
- Interdisciplinary Centre for Security, Reliability and Trust (SnT) > SEDAN - Service and Data Management in Distributed Systems
Disciplines :
Sciences informatiques
Auteur, co-auteur :
TRESTIOREANU, Lucian Andrei ; University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SEDAN
SHBAIR, Wazen ; University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SEDAN
SCHEIDT DE CRISTO, Flaviene ; University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SEDAN
STATE, Radu ; University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SEDAN
Co-auteurs externes :
no
Langue du document :
Anglais
Titre :
Blockly2Hooks: Smart Contracts for Everyone with the XRP Ledger and Google Blockly
Date de publication/diffusion :
2023
Nom de la manifestation :
IEEE DAPPS 2023
Lieu de la manifestation :
Athens, Grèce
Date de la manifestation :
17-20 July 2023
Manifestation à portée :
International
Titre du périodique :
International Conference on Decentralized Applications and Infrastructures (DAPPS)
L. Trestioreanu, C. Nita-Rotaru, A. Malhotra, and R. State, "Spon: Enabling resilient inter-ledgers payments with an intrusion-tolerant overlay," in 2021 IEEE Conference on Communications and Network Security (CNS), 2021, pp. 92-100.
The Interledger Foundation, "The interledger foundation," 2016, accessed: Feb. 2023. [Online]. Available: https://interledger.org/
L. Ante, "The non-fungible token (nft) market and its relationship with bitcoin and ethereum," FinTech, vol. 1, no. 3, pp. 216-224, 2022.
M. Nadini, L. Alessandretti, F. Di Giacinto, M. Martino, L. M. Aiello, and A. Baronchelli, "Mapping the nft revolution: market trends, trade networks, and visual features," Scientific reports, vol. 11, no. 1, p. 20902, 2021.
L. Ante, "Non-fungible token (nft) markets on the ethereum blockchain: Temporal development, cointegration and interrelations," Economics of Innovation and New Technology, pp. 1-19, 2022.
M. Kolvart, M. Poola, and A. Rull, "Smart contracts," The Future of Law and etechnologies, pp. 133-147, 2016.
W. Zou, D. Lo, P. S. Kochhar, X.-B. D. Le, X. Xia, Y. Feng, Z. Chen, and B. Xu, "Smart contract development: Challenges and opportunities," IEEE Transactions on Software Engineering, vol. 47, no. 10, pp. 2084-2106, 2019.
N. Szabo, "The idea of smart contracts," online, accessed: Feb. 2023. [Online]. Available: https://nakamotoinstitute.org/the-idea-of-smart-co ntracts/
M. Skotnica and R. Pergl, "Das contract - a visual domain specific language for modeling blockchain smart contracts," in Advances in Enterprise Engineering XIII, D. Aveiro, G. Guizzardi, and J. Borbinha, Eds. Cham: Springer International Publishing, 2020, pp. 149-166.
N. Szabo, "Formalizing and securing relationships on public networks," First Monday, vol. 2, 1997.
L. Mauri, S. Cimato, and E. Damiani, "A formal approach for the analysis of the xrp ledger consensus protocol," in 6th International Conference on Information Systems Security and Privacy, ICISSP, 02 2020.
Gavin Wood et al., "Ethereum: A secure decentralised generalised transaction ledger," 09 2017, accessed: Feb. 2023. [Online]. Available: https://archive.org/details/Ethereum-Yellow-Paper-201709
B. Ray, D. Posnett, P. Devanbu, and V. Filkov, "A large-scale study of programming languages and code quality in github," Commun. ACM, vol. 60, no. 10, p. 91-100, sep 2017. [Online]. Available: https://doi.org/10.1145/3126905
K. J. Purnell, "Towards declarative smart contracts," Ph.D. dissertation, Macquarie University, 2022.
X. Ye and M. Konig, "From the graphical representation to the smart contract language: a use case in the construction industry," in Proceedings of the 38th International Symposium on Automation and Robotics in Construction (ISARC), C. Feng, T. Linner, I. Brilakis, D. Castro, P.-H. Chen, Y. Cho, J. Du, S. Ergan, B. Garcia de Soto, J. Gaparik, F. Habbal, A. Hammad, K. Iturralde, T. Bock, S. Kwon, Z. Lafhaj, N. Li, C.-J. Liang, B. Mantha, M. S. Ng, D. Hall, M. Pan, W. Pan, F. Rahimian, B. Raphael, A. Sattineni, C. Schlette, I. Shabtai, X. Shen, P. Tang, J. Teizer, Y. Turkan, E. Valero, and Z. Zhu, Eds. Dubai, UAE: International Association for Automation and Robotics in Construction (IAARC), November 2021, pp. 272-279.
Webflow, "The site you want - without the dev time," 2023, accessed: Feb. 2023. [Online]. Available: https://webflow.com/about
Bubble.io, "The best way to build marketplaces without code," 2023, accessed: Feb. 2023. [Online]. Available: https://bubble.io/
I. N. Oteyo, A. L. S. Pupo, J. Zaman, S. Kimani, W. De Meuter, and E. G. Boix, "Building smart agriculture applications using low-code tools: The case for discopar," in 2021 IEEE AFRICON, 2021, pp. 1-6.
B. Jost, M. Ketterl, R. Budde, and T. Leimbach, "Graphical programming environments for educational robots: Open roberta - yet another one?" in 2014 IEEE International Symposium on Multimedia, 2014, pp. 381-386.
M. A. Kuhail, S. Farooq, R. Hammad, and M. Bahja, "Characterizing visual programming approaches for end-user developers: A systematic review," IEEE Access, vol. 9, pp. 14 181-14 202, 2021.
S. Bragg and C. Driskill, "Diagrammatic-graphical programming languages and dod-std-2167a," in Proceedings of AUTOTESTCON '94, 1994, pp. 211-220.
E. Marks, "The case for graphical smart contract editors," 04 2018, accessed: Feb. 2023. [Online]. Available: https://medium.com/pennblockchain/the-case-for-graphical-smart-contract-editors-8e721cdcde93
V. Dhillon, D. Metcalf, and M. Hooper, The DAO Hacked. Berkeley, CA: Apress, 2017, pp. 67-78. [Online]. Available: https://doi.org/10.1007/978-1-4842-3081-7-6
Y. Ikeda, Y. Ohki, Z. Marquardt, Y. Kimura, S. Omura, and E. Yoshikawa, "First demonstration experiment for energy trading system edison-x using the xrp ledger," arXiv preprint arXiv:2212.02044, 2022.
L. Trestioreanu, W. M. Shbair, F. S. de Cristo, and R. State, "XRPNDN Overlay: Improving the communication efficiency of consensusvalidation based blockchains with an NDN Overlay," arXiv preprint arXiv:2301.10209, 2023.
I. Amores-Sesar, C. Cachin, and J. Mićić, "Security analysis of ripple consensus," 2020. [Online]. Available: https://arxiv.org/abs/2011.14816
XRPL Labs, "A smart contract proposal for the xrp ledger," 2022, accessed: Feb. 2023. [Online]. Available: https://hooks.xrpl.org/
M. Resnick, J. Maloney, A. Monroy-Hernandez, N. Rusk, E. Eastmond, K. Brennan, A. Millner, E. Rosenbaum, J. Silver, B. Silverman, and Y. Kafai, "Scratch: Programming for all," Commun. ACM, vol. 52, pp. 60-67, 11 2009.
A. Bau, "Droplet: Blocks and text together," 2023, accessed: Feb. 2023. [Online]. Available: https://droplet-editor.github.io/
M. S. Lab, "Taleblazer," 2023, accessed: Feb. 2023. [Online]. Available: https://education.mit.edu/project/taleblazer/
E. Johnson, D. Thien, Y. Alhessi, S. Narayan, F. Brown, S. Lerner, T. McMullen, S. Savage, and D. Stefan, "Доверяй, но проверяй : Sfi safety for native-compiled wasm," in Network and Distributed System Security Symposium (NDSS) 2021, 01 2021.
W. Egbertsen, G. Hardeman, M. van den Hoven, G. van der Kolk, and A. van Rijsewijk, "Replacing paper contracts with ethereum smart contracts," 2016, accessed: Feb. 2023. [Online]. Available: https://allquantor.at/blockchainbib/pdf/egbertsen2016replacing.pdf
M. Skotnica, J. Klicpera, and R. Pergl, "Towards model-driven smart contract systems - code generation and improving expressivity of smart contract modeling," in Proceedings of the 20th CIAO! Doctoral Consortium, and Enterprise Engineering Working Conference Forum 2020, 03 2021. [Online]. Available: https://ceur-ws.org/Vol-2825/
S. Tan, S. S Bhowmick, H. E. Chua, and X. Xiao, "Latte: Visual construction of smart contracts," in Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data, ser. SIGMOD '20. New York, NY, USA: Association for Computing Machinery, 2020, p. 2713-2716. [Online]. Available: https://doi.org/10.1145/3318464.3384687
D. Mao, F. Wang, Y. Wang, and Z. Hao, "Visual and user-defined smart contract designing system based on automatic coding," IEEE Access, vol. 7, pp. 73 131-73 143, 2019.
W. M. P. van der Aalst, L. Aldred, M. Dumas, and A. H. M. ter Hofstede, "Design and implementation of the yawl system," in Advanced Information Systems Engineering, A. Persson and J. Stirna, Eds. Berlin, Heidelberg: Springer Berlin Heidelberg, 2004, pp. 142-159.
T. Weingaertner, R. Rao, J. Ettlin, P. Suter, and P. Dublanc, "Smart contracts using blockly: Representing a purchase agreement using a graphical programming language," in 2018 Crypto Valley Conference on Blockchain Technology (CVCBT), 2018, pp. 55-64.
L. Guida and F. Daniel, "Supporting reuse of smart contracts through service orientation and assisted development," in 2019 IEEE International Conference on Decentralized Applications and Infrastructures (DAPPCON), 2019, pp. 59-68.
R. Vandersmith, "How we created blocks: an online drag-and-drop smart contract editor," 01 2022, accessed: Feb. 2023. [Online]. Available: https://levelup.gitconnected.com/how-we-created-blocks-anonline-drag-and-drop-smart-contract-editor-fe23eff4d933
M. M. Merlec, Y. K. Lee, and H. P. In, "Smartbuilder: A block-based visual programming framework for smart contract development," in 2021 IEEE International Conference on Blockchain (Blockchain), 2021, pp. 90-94.