corda/samples
josecoll 9cdda3bd77
CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363)
* Implementation of Contract and Workflow attribute identifiers.

* Fixes following rebase from master.

* Fix broken JUnit test.

* Fix broken JUnit test.

* Fix broken JUnit test.

* Added missing constants.

* Further clean-up.

* Updated documentation.

* Added changelog entry.

* Updated all samples (using new Gradle Plugin 4.0.37 functionality)

* Temporarily resolve gradle plugins from latest published snapshot.

* Temporarily resolve gradle plugins from latest published snapshot.

* Updates following feedback from PR review.

* Move constants into CordappInfo companion object.

* Contract and Workflow attribute `version` to `versionId` (as version is a reserved gradle variable)

* Clarified warning message on incorrect version identifier.

* Align version identifier processing logic with gradle cordapp plugin.

* Updated comment.

* Minor fixes following rebase from master.

* Fixed broken unit test.

* Improved exception reporting.

* Update to use 4.0.37 of Gradle Plugins.

* Added support for combined Contract and Workflow CorDapp info.

* Updated following discussions with Shams + cleanup.

* Updated following Shams PR review.

* Minor API improvements.

* Added missing cordapp info causing deployNodes to fail.
2018-12-14 09:39:23 +00:00
..
attachment-demo CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363) 2018-12-14 09:39:23 +00:00
bank-of-corda-demo CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363) 2018-12-14 09:39:23 +00:00
cordapp-configuration CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363) 2018-12-14 09:39:23 +00:00
irs-demo CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363) 2018-12-14 09:39:23 +00:00
network-verifier CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363) 2018-12-14 09:39:23 +00:00
notary-demo CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363) 2018-12-14 09:39:23 +00:00
simm-valuation-demo CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363) 2018-12-14 09:39:23 +00:00
trader-demo CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363) 2018-12-14 09:39:23 +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)