static async Task Main(string[] args)
 {
     using (var provider = ChaincodeProviderConfiguration.ConfigureWithContracts <AssetHolding>(args))
     {
         var shim = provider.GetRequiredService <Shim>();
         await shim.Start();
     }
 }
Пример #2
0
 static async Task Main(string[] args)
 {
     using (var provider = ChaincodeProviderConfiguration.ConfigureWithContracts <global::Thinktecture.HyperledgerFabric.Sample.FabCar.Contract.FabCar>(args))
     {
         var shim = provider.GetRequiredService <Shim>();
         await shim.Start();
     }
 }