corda/samples/attachment-demo
Clinton 0ccfae252f POMs generated by publishing are now correct. (#1055)
* POMs generated by publishing are now correct. The publish extension now requires an explicit call to configure the publishing instead of waiting until after evaluation. This prevents evaluation order issues with the artifact renaming code that causes the POM to have the original, incorrect, artifact names.

* Fixed new test compile issues caused by removal of some dependencies in test utils that caused webserver code to be automatically included in any project also compiling test utils.
2017-07-18 12:34:56 +01:00
..
lib Reimport samples to main repo 2016-11-17 15:51:28 +01:00
src Moved the Path extension methods that were in Utils.kt into the internal package 2017-07-17 16:01:19 +01:00
build.gradle POMs generated by publishing are now correct. (#1055) 2017-07-18 12:34:56 +01:00
README.md Starting new pull request - previous one had conflict errors 2016-11-29 16:52:07 +00:00

Attachment Demo

This code demonstrates sending a transaction with an attachment from one to node to another, and the receiving node accessing the attachment.

Please see the either the online documentation for more info on the attachment demo, or the included offline version.

From the root directory of the repository, run the following commands (on mac / unix, replace gradle with ./gradlew)

gradle samples:attachment-demo:deployNodes 

./samples/attachment-demo/build/nodes/runnodes

gradle samples:attachment-demo:runRecipient  # (in one window)
gradle samples:attachment-demo:runSender  # (in another window)