corda/samples
Ross Nicoll 412fead02e
CORDA-785: Add functions for constructing FlowLogicRef without the class (#2134)
Add functions for constructing `FlowLogicRef` from class name, rather than requiring the class itself. This avoids requiring that schedulable states have access to the scheduled flow to instantiate, but instead can require it only actually scheduling the flow. This reduces the size of the JAR required to validate transactions containing these states.
2018-01-04 13:32:10 +00:00
..
attachment-demo CORDA-716 Fix split packages in testing (#2232) 2017-12-12 19:37:01 +00:00
bank-of-corda-demo CORDA-716 Fix split packages in testing (#2232) 2017-12-12 19:37:01 +00:00
irs-demo CORDA-785: Add functions for constructing FlowLogicRef without the class (#2134) 2018-01-04 13:32:10 +00:00
network-visualiser CORDA-716 Move non-API things to internal (#2256) 2017-12-17 18:44:35 +00:00
notary-demo Validating the entire cert path in node registration, rather just checking the root cert. (#2298) 2017-12-29 14:38:30 +00:00
simm-valuation-demo CORDA-785: Add functions for constructing FlowLogicRef without the class (#2134) 2018-01-04 13:32:10 +00:00
trader-demo More descriptive error message (#2295) 2017-12-28 09:12:06 +00:00
README.md fix typo 2017-08-29 11:16:08 +02: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-valuation-demo A demo showing two nodes reaching agreement on the valuation of a derivatives portfolio.
  • notary-demo A simple demonstration of a node getting multiple transactions notarised by a single or distributed (Raft or BFT SMaRt) notary.
  • bank-of-corda-demo A demo showing a node acting as an issuer of fungible assets (initially Cash)