Exemple #1
0
        public static DevWallet FromExpressWallet(ExpressWallet wallet)
        {
            var accounts = wallet.Accounts.Select(DevWalletAccount.FromExpressWalletAccount);

            return(new DevWallet(wallet.Name, accounts));
        }
Exemple #2
0
        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));
        }