This is for user-defined network on local machine.
VM: Vmware Fusion on MacOS
OS: Ubuntu 20.04 desktop
-
Set up the network: See the documentation.
-
Useful Commands:
# Set up the network sudo ./minifab up -o stateA.elec.com -i 2.1 -n elec-chaincode -l java -v 1.0 -d true -e true -p '"init"' # Invoke Chaincode function sudo ./minifab invoke -p "'function','parameter1','parameter2',..." # Clean up the network sudo ./minifab cleanup
-
Minifabric Document: https://github.com/hyperledger-labs/minifabric
-
Some videos on Minifabric: https://www.bilibili.com/video/BV1h54y1Y7Eo
-
A Contract Sample Code: https://cloud.tencent.com/developer/article/1402016
-
Chaincode API Document: https://help.aliyun.com/document_detail/141372.html