corda/samples/attachment-demo
Clinton b43d940297 Merge pull request #35 from corda/clint-M6publishing
Corda can be published to bintray and reduced publishing boilerplate in build.gradle.
2016-12-09 15:07:46 +00:00
..
lib Reimport samples to main repo 2016-11-17 15:51:28 +01:00
src Local RPC, demos use RPC, NODE has special privileges 2016-12-08 11:58:31 +00:00
build.gradle Merge pull request #35 from corda/clint-M6publishing 2016-12-09 15:07:46 +00:00
gradle.properties Reimport samples to main repo 2016-11-17 15:51:28 +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)