corda/samples
Katarzyna Streich f92949d3b5 Add information on why state machine was removed from StateMachineManager (#570)
* Add information on why state machine was removed from StateMachineManager.
There are two cases: normal end of flow or error.

Return flow result as part of state machine remove data.

Make Change a sealed class with Add and Remove.

fiber.actionOnEnd takes ErrorOr<R> parameter.

* Remove unnecessary fields from StateMachineManager.Change.
2017-04-25 14:34:45 +01:00
..
attachment-demo Introduce full legal names for test parties 2017-04-24 15:18:21 +01:00
bank-of-corda-demo Introduce full legal names for test parties 2017-04-24 15:18:21 +01:00
irs-demo Add information on why state machine was removed from StateMachineManager (#570) 2017-04-25 14:34:45 +01:00
network-visualiser Minor: run code cleanup inspections 2017-04-11 15:53:05 +02:00
raft-notary-demo Introduce full legal names for test parties 2017-04-24 15:18:21 +01:00
simm-valuation-demo Introduce full legal names for test parties 2017-04-24 15:18:21 +01:00
trader-demo Introduce full legal names for test parties 2017-04-24 15:18:21 +01:00
README.md Bank of Corda demo - Issuer of Cash 2016-12-08 17:38:21 +00:00

Sample applications

Please refer to README.md in the individual project folders. There are the following demos:

  • attachment-demo A simple demonstration of sending a transaction with an attachment from one node to another, and then accessing the attachment on the remote node.
  • irs-demo A demo showing two nodes agreeing to an interest rate swap and doing fixings using an oracle.
  • trader-demo A simple driver for exercising the two party trading flow. In this scenario, a buyer wants to purchase some commercial paper by swapping his cash for commercial paper. The seller learns that the buyer exists, and sends them a message to kick off the trade. The seller, having obtained his CP, then quits and the buyer goes back to waiting. The buyer will sell as much CP as he can! We recommend starting with this demo.
  • Network-visualiser A tool that uses a simulation to visualise the interaction and messages between nodes on the Corda network. Currently only works for the IRS demo.
  • simm-valudation-demo A demo showing two nodes reaching agreement on the valuation of a derivatives portfolio.
  • raft-notary-demo A simple demonstration of a node getting multiple transactions notarised by a distributed (Raft-based) notary.
  • bank-of-corda-demo A demo showing a node acting as an issuer of fungible assets (initially Cash)