public WalletEntry CreateEntry() { WalletEntry entry = WalletEntry.Create(CreatePrivateKey()); accounts.Add(entry); return(entry); }
public WalletEntry Import(string wif) { bool compressed; byte[] privateKey = GetPrivateKeyFromWIF(wif, out compressed); WalletEntry entry = WalletEntry.Create(privateKey, compressed); accounts.Add(entry); return(entry); }