Esempio n. 1
0
        private async Task ImportEncryptedAccountExecute()
        {
            if (!string.IsNullOrEmpty(EncryptedKey) && !string.IsNullOrEmpty(Password))
            {
                var account = await TestWalletManager.ImportAccount(EncryptedKey, Password, "ImportedAccount" + count);

                count++;
                Accounts.Add(account);
            }
        }
Esempio n. 2
0
        private void ImportWifAccountExecute()
        {
            if (string.IsNullOrEmpty(Wif))
            {
                return;
            }
            var account = TestWalletManager.ImportAccount(Wif, "demo");

            count++;
            Accounts.Add(account);
        }