Skip to content

Instantly share code, notes, and snippets.

@apemon
Created December 31, 2018 10:52
Show Gist options
  • Select an option

  • Save apemon/bd6cbceefb61ebc223d41aac9b774033 to your computer and use it in GitHub Desktop.

Select an option

Save apemon/bd6cbceefb61ebc223d41aac9b774033 to your computer and use it in GitHub Desktop.
// 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