TxSigner class abstract
wallet contains the necessary tools for signing, such as private key, public key and signature scheme. txData includes the fields required for sending transactions. After sign, txData will includes serialized message and signature. Then, broadcast TxData.toBroadcast.
Constructors
- TxSigner({required WalletType wallet, TxData? txData})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- txData ↔ TxData?
-
getter/setter pair
- wallet → WalletType
-
final
Methods
-
checkTxData(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
safeVerify(
) → bool -
sign(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited