corda/samples/attachment-demo
2018-11-16 17:13:55 +00:00
..
lib Reimport samples to main repo 2016-11-17 15:51:28 +01:00
src Add message to uses of require(...) (#4192) 2018-11-16 17:13:55 +00:00
build.gradle [CORDA-2077] Use latest gradle plugin version (4.0.32), set target version in core and sample CorDapps (#4038) 2018-10-15 21:11:52 +01:00
README.md Reflects V1.0 changes on Master re: internal samples and identity sync flow API. 2017-10-25 09:29:32 +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