corda/samples/attachment-demo
2017-10-23 16:29:07 +01:00
..
lib Reimport samples to main repo 2016-11-17 15:51:28 +01:00
src Tutorial refresh for v1.0 and moving of code into separate files. (#1758) 2017-10-02 10:11:33 +01:00
build.gradle Replace X500Name with CordaX500Name (#1447) 2017-09-12 01:03:10 +01:00
README.md Removes references to the Corda internal samples from the docsite. 2017-10-23 16:29:07 +01:00

Attachment Demo

This demo brings up three nodes, and sends a transaction containing an attachment from one to the other.

To run from the command line in Unix:

  1. Run ./gradlew samples:attachment-demo:deployNodes to create a set of configs and installs under samples/attachment-demo/build/nodes
  2. Run ./samples/attachment-demo/build/nodes/runnodes to open up three new terminal tabs/windows with the three nodes and webserver for BankB
  3. Run ./gradlew samples:attachment-demo:runRecipient, which will block waiting for a trade to start
  4. Run ./gradlew samples:attachment-demo:runSender in another terminal window to send the attachment. Now look at the other windows to see the output of the demo

To run from the command line in Windows:

  1. Run gradlew samples:attachment-demo:deployNodes to create a set of configs and installs under samples\attachment-demo\build\nodes
  2. Run samples\attachment-demo\build\nodes\runnodes to open up three new terminal tabs/windows with the three nodes and webserver for BankB
  3. Run gradlew samples:attachment-demo:runRecipient, which will block waiting for a trade to start
  4. Run gradlew samples:attachment-demo:runSender in another terminal window to send the attachment. Now look at the other windows to see the output of the demo