DurtKeyPair class
KeyPair wrapper that provides the correct SS58 address format This acts as a transparent proxy but forces the correct address format
Constructors
- DurtKeyPair(KeyPair _original)
Properties
- address → String
-
Returns the correct SS58 format address for the current network
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- original → KeyPair
-
Get the underlying original KeyPair for operations that need it (signing, etc.)
no setter
- originalAddress → String
-
Get the original PolkaDart address (prefix 42) - for debugging/compatibility
no setter
- publicKey → PublicKey
-
Access to the public key
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
Uint8List message) → Uint8List - Sign a message using the underlying KeyPair
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
Uint8List message, Uint8List signature) → bool - Verify a signature using the underlying KeyPair
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited