Term Project of Blockchain class
Guide you to deploy FL.sol and run the example of 2 flower servers.
BE AWARE: """ cd ~/BCFLwithMEC """
BE AWARE: All commands running at BCFLwithMEC folder.
"eth_config.json" must be in the folder of config.
You should run "ipfs daemon" on another terminal before using this.
./flower/deploy_Contract.sh
It will deploy contracts/FL.sol, and generate 2 json file:
FL.json | info of "abi"
FL_deployed_tx_receipt.json | info of tx_hash of the transaction that FL.sol deployed on
./listener_up.sh
This will run a flower server and 3 flower clients after step 3 (below).
./listener_up.sh
This will run another flower server and 3 other flower clients.
Now two nodes in the "eth_config"
Implement flower server
Now doing...
https://github.com/adap/flower
edit flower client to fit Blockchain