mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
1fc646cfa8
* Move test-utils and node-driver to stable section. * Move FlowStackSnapshotFactory to testing.services package & update docs * Move SerializationTestHelpers to testing.core package * Move TestConstants.kt to core namespace * Move Expect.kt to core namespace * Move CoreTestUtils to core.TestUtils - rename class and update imports * Added some clarification to documents after re-reading them * Added static imports * Removing unused import * Fix merge conflict * Fixing merge conflict |
||
---|---|---|
.. | ||
lib | ||
src | ||
build.gradle | ||
README.md |
Attachment Demo
This demo brings up three nodes, and sends a transaction containing an attachment from one to the other.
To run from the command line in Unix:
- Run
./gradlew samples:attachment-demo:deployNodes
to create a set of configs and installs undersamples/attachment-demo/build/nodes
- Run
./samples/attachment-demo/build/nodes/runnodes
to open up three new terminal tabs/windows with the three nodes and webserver for BankB - Run
./gradlew samples:attachment-demo:runRecipient
, which will block waiting for a trade to start - Run
./gradlew samples:attachment-demo:runSender
in another terminal window to send the attachment. Now look at the other windows to see the output of the demo
To run from the command line in Windows:
- Run
gradlew samples:attachment-demo:deployNodes
to create a set of configs and installs undersamples\attachment-demo\build\nodes
- Run
samples\attachment-demo\build\nodes\runnodes
to open up three new terminal tabs/windows with the three nodes and webserver for BankB - Run
gradlew samples:attachment-demo:runRecipient
, which will block waiting for a trade to start - Run
gradlew samples:attachment-demo:runSender
in another terminal window to send the attachment. Now look at the other windows to see the output of the demo