corda/samples
Matthew Nesbit 9a02a27619 Add state query methods to LedgerTransaction.
Update to use LedgerTransaction api

Push query output logic onto BaseTransaction and update usages where possible

Migrate a few more uses

Address some PR comments

Address some PR comments

Fixup after rebase
2017-07-21 15:41:00 +01:00
..
attachment-demo Add state query methods to LedgerTransaction. 2017-07-21 15:41:00 +01:00
bank-of-corda-demo Use notary identity in Bank of Corda demo 2017-07-20 15:28:09 +01:00
irs-demo Add state query methods to LedgerTransaction. 2017-07-21 15:41:00 +01:00
network-visualiser decouple Exposed (#1028) 2017-07-14 14:39:59 +01:00
notary-demo Moved the Path extension methods that were in Utils.kt into the internal package 2017-07-17 16:01:19 +01:00
simm-valuation-demo Cleaned up TimeWindow and added a bit more docs. 2017-07-20 13:43:11 +01:00
trader-demo Remove links to Kryo from serialization "clients" (#1079) 2017-07-21 14:23:05 +01:00
README.md BFT notary demo (#725) 2017-05-24 12:25:06 +01: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.
  • 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)