A Stream Pipeline Framework for Digital Payment Programming based on Smart Contracts
Zijia Meng, Victor Feng
数字支付在蓬勃发展的数字经济中发挥着关键作用。 展望未来,数字支付系统的增强需要可编程性,而不仅仅是效率和便利性,以满足不断变化的需求和复杂性。 中央银行数字货币(CBDC)网络和区块链等智能合约平台支持可编程数字支付。 然而,编程支付逻辑的盛行范式涉及用编程语言编写智能合约,导致高成本和重大安全挑战。 本文介绍了一种新颖且通用的DLT支付编程方法 - 将数字货币转换为令牌流,然后流化智能合约以授权,聚合,锁定,直接和从源到目标帐户有效地发送这些流。 通过使用一小组可配置的模板,可以生成一些专门的智能合约,并通过配置和编写来支持大多数支付逻辑。 这种方法可以大大降低支付编程的成本,提高安全性、自我执行能力、适应性和可控性,从而有可能成为数字经济基础设施的重要组成部分。
Digital payments play a pivotal role in the burgeoning digital economy. Moving forward, the enhancement of digital payment systems necessitates programmability, going beyond just efficiency and convenience, to meet the evolving needs and complexities. Smart contract platforms like Central Bank Digital Currency (CBDC) networks and blockchains support programmable digital payments. However, the prevailing paradigm of programming payment logics involves coding smart contracts with programming langu...