There are two distinct sets of samples provided with Corda, one introducing new developers to how to write CorDapps, and more complex worked examples of how solutions to a number of common designs could be implemented in a CorDapp. The former can be found on the Corda website. In particular, new developers should start with the example CorDapp.
The advanced samples are contained within the samples/ folder of the Corda repository. The most generally useful of these samples are:
- The trader-demo, which shows a delivery-vs-payment atomic swap of commercial paper for cash
- The attachment-demo, which demonstrates uploading attachments to nodes
- The bank-of-corda-demo, which shows a node acting as an issuer of assets (the Bank of Corda) while remote client applications request issuance of some cash on behalf of a node called Big Corporation
Documentation on running the samples can be found inside the sample directories themselves, in the README.md file.