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

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