Created
December 31, 2018 10:52
-
-
Save apemon/bd6cbceefb61ebc223d41aac9b774033 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // issue asset | |
| val cashState = rpcOps.startFlow(::CashIssueFlow, issueAmount, issuerBankPartyRef, notaryParty).returnValue.get() | |
| // transfer asset | |
| val paymentRequest = CashPaymentFlow.PaymentRequest(transferAmount, targetParty, true, issuerParty) | |
| val cashState = rpcOps.startFlow(::CashPaymentFlow, paymentRequest).returnValue.get() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment