Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 772 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 772 Bytes

fabric-chaincode-csharp

Hyperledger Fabric Contract and Chaincode implementation for CSharp (C#) https://wiki.hyperledger.org/display/fabric

The fabric-chaincode-csharp has only been tested only in wsl/linux using dotnet 6

🚀 Quick Testing

Run the following instructions in terminal:

Export the environment variables

cd fabric-chaincode-csharp/

Export your 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

Build library

dotnet build

Start chaincode service:

dotnet run