public static DevWallet FromExpressWallet(ExpressWallet wallet) { var accounts = wallet.Accounts.Select(DevWalletAccount.FromExpressWalletAccount); return(new DevWallet(wallet.Name, accounts)); }
public static DevWallet FromExpressWallet(ProtocolSettings settings, ExpressWallet wallet) { var accounts = wallet.Accounts.Select(a => DevWalletAccount.FromExpressWalletAccount(settings, a)); return(new DevWallet(settings, wallet.Name, accounts)); }