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