Files
hash-wallet/cw_bitcoin/lib/bitcoin_wallet_keys.dart
T
jwinterm 788318a3a2 style: format Dart at 100 columns, as upstream does
Upstream reformatted its whole tree in 16ddc0837. Matching it removes
formatting from the conflict surface of this and every later sync.
2026-10-24 22:48:17 -04:00

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,
};
}