mirror of
https://github.com/corda/corda.git
synced 2025-01-30 16:14:39 +00:00
68d05eee04
* Added new corda and cordaRuntime configurations for cordapps to be able to explicitly depend on Corda and exclude corda dependencies from the fatjar * Added corda integration section to docsite to describe how to integrate with Corda. * Updated more of the documentation to reflect the new method of specifying core corda dependencies. * Reorganised document logic to move all build system related documentation to the cordapp build systems page. * Renamed cordapp build systems doc to match actual purpose. * Improved the warning for building against a net.corda dependency in a cordapp * Added a line of dialogue to show further reading for those reading about writing cordapps.
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)