Hyperledger Fabric Contract and Chaincode implementation for Python https://wiki.hyperledger.org/display/fabric
This library has only been tested with python versions 3.8 and 3.9
Run the following instructions in terminal:
cd fabric-chaincode-csharp/
python -m pip install fabric-protos-python==2.4 grpcio
Export the chaincode package ID, ex:
export CHAINCODE_ID=basic_1.0:f3e2ca5115bba71aa2fd16e35722b420cb29c42594f0fdd6814daedbc2130b80
Set the chaincode server address:
export CHAINCODE_SERVER_ADDRESS=127.0.0.1:9999
python main.py