将Corda现金状态交换为传统现金 [英] Exchanging Corda cash states for traditional cash

查看:46
本文介绍了将Corda现金状态交换为传统现金的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设您使用现金状态在Corda分类帐中代表现金。网络参与者如何将其现金状态转换为传统现金?

Suppose you're representing cash on the Corda ledger using cash states. How does a network participant exchange their cash states for traditional cash?

推荐答案

首先,我们需要说明如何在以下位置创建现金状态最初的分类帐。机制是发卡银行在传统银行系统中预留现金存款,并使用 Cash.Cash c本身在账本中发行等额和等值的现金状态。

Firstly, we need to explain how cash states are created on the ledger initially. The mechanism is for an issuing bank to set aside a cash deposit in the traditional banking system, and issue itself cash states of an equal amount and currency on the ledger using a Cash.Issue transaction.

然后可以通过 Cash.Move 交易在已分类的现金之间转移已发行的现金状态。

The issued cash states can then be transferred between parties on the ledger via Cash.Move transactions. It is not necessary to reflect these movements of on-ledger cash states in any way in the traditional banking system.

假设爱丽丝最终想赎回她的部分账本现金,则不必在传统银行系统中以任何方式反映账本现金状态的这些变化。传统银行系统中现金的现金状态。她如何实现这一目标?

Suppose Alice eventually wants to redeem some of her on-ledger cash states for cash in the traditional banking system. How does she achieve this?


  • 她创建了 Cash.Exit 交易。此事务消耗现有现金状态作为输入,而不创建相应的输出现金状态。此交易需要Alice,发行银行和相关公证人的签名

  • Alice签署交易

  • 发卡银行检查Alice实际拥有现金状态,她正试图退出。为此,它要求每个爱丽丝现金状态的出处链(即交易链),并检查所有交易及其相关的数字签名是否有效

  • 发卡行签名交易

  • 公证人在交易上签字(如果交易中的现金状态尚未用完)

  • 发卡银行从中扣除最初向分类帐中发行现金时所保留的存款中的现金状态,并向发起方的银行帐户以相同金额的现金进行传统付款(BACS,CHAPS,Faster Payments等) Cash.Exit 交易


    • 有关向哪个帐户支付现金的信息可以在 Cash.Exit 命令(以后我们将需要为此添加一个字段),否则银行可以维护将节点标识映射到银行帐户的内部数据库

    • She creates a Cash.Exit transaction. This transaction consumes the existing cash state as an input, without creating a corresponding output cash state. This transaction requires a signature from Alice, the issuing bank and the associated notary
    • Alice signs the transaction
    • The issuing bank checks that Alice actually owns the cash states she is trying to exit. It does so by requesting the chains of provenance (i.e. the transaction chains) for each of Alice's cash states, and checking that all the transactions and their associated digital signatures are valid
    • The issuing bank signs the transaction
    • The notary signs the transaction (if the cash states in the transaction have not already been spent)
    • The issuing bank deducts the amount of the cash state from the deposit it set aside when originally issuing cash onto the ledger, and makes a "traditional" payment (BACS, CHAPS, Faster Payments, etc.) for the same amount of cash to the bank account of the party who initiated the Cash.Exit transaction
      • Information about which account to pay the cash into could be conveyed in the Cash.Exit command (we will need to add a field for this in the future), or the bank could maintain an internal database mapping node identities to bank accounts

      这篇关于将Corda现金状态交换为传统现金的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆