Category "corda-flow"

How to display the states on Corda terminal

I am new to Corda and am designing a Cordap. I want to display the states onto the terminal based on some arguments passed during initiating the flow. My appro

Corda responder flow not answering

I created a very easy flow test with IntelliJ. @Test public void dummyTest() throws InterruptedException, ExecutionException { Party Alice = alic

Verifying flows in Corda

How does a notary/node verify that a specific flow has been called when it receives the transaction? Does this mean Corda can guarantee that the flow has not

How to map a rather complex Business Process like Order to Cash to Corda Flow(s)

Imagine a real world business process which can take weeks shall be mapped to single or multiple Corda Flows. As long living flows have impact of SW lifecycle (

Counterparty sent session rejection message at unexpected time with message class com.upgrade.CustomContractUpgradeFlow$Initiate is not registered

Project: ContractUpgradeFlow Project Link: https://github.com/corda/contract-upgrades I tried to create my own Contract Upgrade flow, so I copied the code for

States Matching Logic Corda

We need a logic for the following scenario: Say for example, we have three parties, Party A, B and C. We have two states, state X and state Y. Party A, and Part

CommercialPaper Tutorial, creating a flow to issue,move and redeem a currency

I'm trying to create a flow to Issue and Move currency. The Contract i have use is the CommercialPaper from the tutorial https://docs.corda.net/tutorial-cont

Flow Testing for Cash Contract

I am trying to create a simple flow test which involves the CashV1 contract which I have adapted from the original cash contract in the corda example. The test

issueRef parameter in CashIssueFlow

What's the main purpose of this "issueRef" parameter? And why the samples just put OpaqueBytes.of("1".getBytes() or OpaqueBytes.of(0x01) Is it just to lin

Must the Flow code be the same in all nodes?

As the Contract code, must the Flow code be the same on all nodes? Supposing it's allowed to have different code, how does Corda handle that, in the sense of co