Ejemplo n.º 1
0
        public void WalletCreateCommand(FileInfo file)
        {
            var secureString = _consoleHandler.ReadPassword();

            _consoleHandler.ApplyStyle(ConsoleOutputStyle.Prompt);
            var confirmationString = _consoleHandler.ReadPassword("\nConfirm your password:"******"\nAddress: " + walletAccount.Address, ConsoleOutputStyle.Information);
                _consoleHandler.WriteLine("Public Key: " + _walletManager.GetPublicKeyFromNep2(walletAccount.Key, secureString), ConsoleOutputStyle.Information);
            }
            else
            {
                _consoleHandler.WriteLine("\nPasswords don't match.", ConsoleOutputStyle.Information);
            }
        }