public bool Create() { var wallet = WalletHelper.CreateWallet(); if (wallet == null || String.IsNullOrEmpty(wallet.Address) || String.IsNullOrEmpty(wallet.PrivateKey)) { return(false); } return(true); }
/// <summary> /// Creates the wallet and user account for the hosted user wallet /// </summary> /// <returns>The created wallet info</returns> public ActionResult Create() { return(Json(WalletHelper.CreateWallet(), JsonRequestBehavior.AllowGet)); }