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, developed and tested 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.
翻译:跨账本支付、非同质化代币与智能合约等新兴技术均源于分布式账本技术的持续发展。预计这些技术将在日常生活中扮演日益重要的角色,这需要相应的操作资源作为支撑。例如,随着需求增长,智能合约可能很快面临具备专业知识的用户不足及实践工具匮乏的挑战。当前智能合约的广泛采用受限于安全性、可用性与成本等因素。由于学习曲线陡峭,智能合约的操作目前主要由专业开发人员执行,且多数研究聚焦于智能合约安全性,而可用性等方面则相对被忽视。专用工具可降低入门门槛,使感兴趣的非专业人士能够创建智能合约。本文设计、开发并测试了Blockly2Hooks——一种旨在填补此空白的解决方案,即使在智能合约采用如C语言等高级编程语言的复杂场景中亦能适用。以XRP账本为具体应用案例,Blockly2Hooks通过利用视觉编程语言等成熟教学方法(特别是Google的Blockly视觉编程库),帮助社区中感兴趣的非专业人士轻松学习并采用智能合约技术。该平台经开发与测试,结果表明其在促进智能合约开发学习方面具有良好前景。