Wif class

Bitcoin Wallet Import Format encoding/decoding module.

Constructors

Wif({required int version, required Uint8List privateKey, bool compressed = false})
Wif.decode(String string, [int? version])
Decode Wif from String
factory
Wif.decodeRaw(Uint8List buffer, [int? version])
Decode Wif from Uint8List
factory

Properties

compressed bool
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
privateKey Uint8List
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
getter/setter pair

Methods

encode() String
Encode Wif to String
encodeRaw() Uint8List
Encode Wif to Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant Wif other) bool
The equality operator.
override