AptosEd25519Account class
Aptos account implementation using the Ed25519 signing scheme.
- Inheritance
-
- Object
- AptosAccount<
AptosEd25519AccountPublicKey, AptosAccountAuthenticatorEd25519, AptosEd25519Signature> - AptosEd25519Account
Constructors
- AptosEd25519Account.new(AptosED25519PrivateKey privateKey)
- Constructor to initialize the Ed25519 account with a private key.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- privateKey → AptosED25519PrivateKey
-
The private key associated with this Ed25519 account.
final
- publicKey → AptosEd25519AccountPublicKey
-
The public key associated with this account.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → AptosSigningScheme
-
The signing scheme used for this account.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
List< int> digest) → AptosEd25519Signature -
Sign the digest using the Ed25519 private key.
override
-
signWithAuth(
List< int> digest) → AptosAccountAuthenticatorEd25519 -
Sign the digest aand create account's authenticator using Ed25519 private key.
override
-
toAddress(
) → AptosAddress -
Get the address corresponding to the public key of this account.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited