/// <summary>
 /// Creates a new Private key and sotres it on the wallet, returning an enc_pubkey value
 /// </summary>
 /// <param name="ec_nid">Type of key encryption</param>
 /// <param name="name">Name to alias this new private key</param>
 /// <returns></returns>
 public static Task <PublicKey> AddNewKeyAsync(this IPascalCoinClient client, KeyType ec_nid, string name)
 {
     return(Task.Run(() => client.AddNewKey(ec_nid, name)));
 }