corda/samples
Ross Nicoll ae2183c8a1 Reduce use of X500Name bridges (#1483)
* Change to using strings in CordformContext; X500Name is an external API dependency we're trying to avoid, X500Principal rearranges the order of the elements in a way we don't want, and trying to put CordaX500Name into Groovy in the time available is impractical. As such having pre-formatted strings used in the Cordform plugin makes most sense right now.
* Remove uses of CordaX500Name.x500
* Remove old X.500 parsing tools
* Move CordaX500Name.x500 into X500NameUtils
* Move X500NameUtils into internal
2017-09-14 11:56:14 +01:00
..
attachment-demo Replace X500Name with CordaX500Name (#1447) 2017-09-12 01:03:10 +01:00
bank-of-corda-demo Replace X500Name with CordaX500Name (#1447) 2017-09-12 01:03:10 +01:00
irs-demo Removed PluginServiceHub 2017-09-14 09:30:37 +01:00
network-visualiser Introduce StartedNode (#1491) 2017-09-13 17:34:52 +01:00
notary-demo Reduce use of X500Name bridges (#1483) 2017-09-14 11:56:14 +01:00
simm-valuation-demo Clean up CordaX500Name (#1487) 2017-09-12 13:08:43 +01:00
trader-demo Introduce StartedNode (#1491) 2017-09-13 17:34:52 +01: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)