Category "corda"

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

In Corda flow tests, how to get the modularized cordapps assigned only to the respective parties?

As per the Corda coding guidelines, I have seperated out modules into contracts and workflows-common. There are workflows modules like workflows-party1, workflo

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

Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6

When trying to run the Example CorDapp (GitHub CorDapp) via IntelliJ, I receive the following error: Cannot inline bytecode built with JVM target 1.8 into byte

Schema Validation Error for custom queryable states using `UUID` as a column

I have defined a custom QueryableState whose persistent counterpart is defined by the code below @Entity @Table(name = "contract_course_class_state") data class

Schema Validation Error for custom queryable states using `UUID` as a column

I have defined a custom QueryableState whose persistent counterpart is defined by the code below @Entity @Table(name = "contract_course_class_state") data class