corda/samples
Chris Rankin 6f437b5b09
CORDA-3716: Fix SandboxEnumSerializer to handle enums that override toString(). (#6159)
* CORDA-3716: Fix SandboxEnumSerializer to handle enums that override toString().

* Remove more uses of Enum.toString() from the Corda serializer.

* Add test coverage for this case to standard enum serializer.

* Increase maxWaitTimeout in IRSDemoTest to 150 seconds.
2020-04-19 23:29:08 +01:00
..
attachment-demo add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00
bank-of-corda-demo CORDA-3696: JDK 11 Testing branch (#6131) 2020-04-16 10:20:30 +01:00
cordapp-configuration CORDA-3024 Rename the webserver (#5489) 2019-09-26 10:20:49 +01:00
irs-demo CORDA-3716: Fix SandboxEnumSerializer to handle enums that override toString(). (#6159) 2020-04-19 23:29:08 +01:00
network-verifier add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00
notary-demo ENT-4610 Move tx signing to the Uniqueness provider (#5773) 2019-11-29 17:30:33 +00:00
simm-valuation-demo CORDA-3689: Fix scanning AppClassLoader on Java 11. (#6121) 2020-04-06 11:00:10 +01:00
trader-demo ENT-5043 separate out test utils (#5998) 2020-03-03 15:55:17 +00:00
README.md CORDA-3370 Remove Network visualiser reference 2019-10-30 16:45:33 +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.
  • 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)
  • network-verifier A very simple CorDapp that can be used to test that communication over a Corda network works.