mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-28 06:28:41 +01:00
Upstream reformatted its whole tree in 16ddc0837. Matching it removes
formatting from the conflict surface of this and every later sync.
24 lines
532 B
Dart
24 lines
532 B
Dart
class BitcoinWalletKeys {
|
|
const BitcoinWalletKeys({
|
|
required this.wif,
|
|
required this.privateKey,
|
|
required this.publicKey,
|
|
required this.xpub,
|
|
this.masterFingerprint = '',
|
|
});
|
|
|
|
final String wif;
|
|
final String privateKey;
|
|
final String publicKey;
|
|
final String xpub;
|
|
final String masterFingerprint;
|
|
|
|
Map<String, String> toJson() => {
|
|
'wif': wif,
|
|
'privateKey': privateKey,
|
|
'publicKey': publicKey,
|
|
'xpub': xpub,
|
|
'masterFingerprint': masterFingerprint,
|
|
};
|
|
}
|