Example #1
0
 static async Task Main(string[] args)
 {
     using (var provider = ChaincodeProviderConfiguration.Configure <Thinktecture.HyperledgerFabric.Sample.FabCar.FabCar>(args))
     {
         var shim = provider.GetRequiredService <Shim>();
         await shim.Start();
     }
 }
 static async Task Main(string[] args)
 {
     using (var provider = ChaincodeProviderConfiguration.Configure <AssetHolding>(args))
     {
         var shim = provider.GetRequiredService <Shim>();
         await shim.Start();
     }
 }