mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
Standaridise the identity names of Alice, Bob and Charlie, notary, map service, etc. in order to ensure consistency across the code base and reduce number of places that have to be changed to introduce proper X.500 names. Move Alice, Bob & Charlie identities into the utilities package so they can be used in demos
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)