mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
2c62f8968a
* Update node configurations to match changes to test constants * Look up notary via RPC in attachment demo rather than using the static identity to ensure the correct key is resolved * Use notary service identity instead of legal identity in Bank of Corda demo * Correct typo in deprecation annotation in CordaRPCOps * Update from deprecated calls to new equivalents |
||
---|---|---|
.. | ||
lib | ||
src | ||
build.gradle | ||
README.md |
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)