Corda 4 文件上傳例子
需要首先執行build 命令
build成功後執行
./gradlew deployNodes
./build/nodes/runnodes
將會出現3個節點
三個節點正常執行
在seller節點執行
flow start SendAttachment receiver: Buyer
- uploading a zip file to Seller's node
- sending the zip file to Buyer's node
Buyer 節點執行
flow start DownloadAttachment sender: Seller, path: file.zip