cake_wallet/lib/view_model/wallet_seed_view_model.dart
Omar Hatem 3577730de8
Add restore from private key to Ethereum (#1055)
* Add restore from private key to Ethereum
Add restore from QR code for Ethereum in both seeds/keys

* Add node network issue to ignored errors [skip ci]
2023-08-23 15:33:20 +03:00

18 lines
413 B
Dart

import 'package:mobx/mobx.dart';
import 'package:cw_core/wallet_base.dart';
part 'wallet_seed_view_model.g.dart';
class WalletSeedViewModel = WalletSeedViewModelBase with _$WalletSeedViewModel;
abstract class WalletSeedViewModelBase with Store {
WalletSeedViewModelBase(WalletBase wallet)
: name = wallet.name,
seed = wallet.seed!;
@observable
String name;
@observable
String seed;
}