Esempio n. 1
0
 private async Task <string> CreateAddress(PaymentMethod paymentMethod)
 {
     try
     {
         var connector = new WalletConnector
                         (
             paymentMethod.Data,
             paymentMethod.Data2,
             paymentMethod.Data3
                         );
         return(await connector.GenerateAddressAsync("", true));
     }
     catch (Exception ex)
     {
         Log.Exception("Failed to create address.", ex);
         return(null);
     }
 }