mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-30 15:29:41 +00:00
21 lines
641 B
Dart
21 lines
641 B
Dart
import 'key_data_interface.dart';
|
|
|
|
class CWKeyData with KeyDataInterface {
|
|
CWKeyData({
|
|
required this.walletId,
|
|
required String? privateSpendKey,
|
|
required String? privateViewKey,
|
|
required String? publicSpendKey,
|
|
required String? publicViewKey,
|
|
}) : keys = List.unmodifiable([
|
|
(label: "Public View Key", key: publicViewKey),
|
|
(label: "Private View Key", key: privateViewKey),
|
|
(label: "Public Spend Key", key: publicSpendKey),
|
|
(label: "Private Spend Key", key: privateSpendKey),
|
|
]);
|
|
|
|
@override
|
|
final String walletId;
|
|
|
|
final List<({String label, String key})> keys;
|
|
}
|