mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
* CW-934 Implement passphrase creation for zano * Update monero_c dependency to latest commit Fix issue with zano keys not showing during sync Fix delays when invoking read only commands in zano Fix extra padding above passphrase Reduced lag during app use
21 lines
No EOL
730 B
Dart
21 lines
No EOL
730 B
Dart
import 'package:cw_zano/zano_wallet.dart';
|
|
|
|
class WiExtended {
|
|
final String spendPrivateKey;
|
|
final String spendPublicKey;
|
|
final String viewPrivateKey;
|
|
final String viewPublicKey;
|
|
|
|
WiExtended({required this.spendPrivateKey, required this.spendPublicKey, required this.viewPrivateKey, required this.viewPublicKey});
|
|
|
|
factory WiExtended.fromJson(Map<String, dynamic> json) => WiExtended(
|
|
spendPrivateKey: json['spend_private_key'] as String? ?? '',
|
|
spendPublicKey: json['spend_public_key'] as String? ?? '',
|
|
viewPrivateKey: json['view_private_key'] as String? ?? '',
|
|
viewPublicKey: json['view_public_key'] as String? ?? '',
|
|
);
|
|
|
|
Future<String> seed(ZanoWalletBase api) {
|
|
return api.getSeed();
|
|
}
|
|
} |