Creates an instance of the Ed25519Signer with the specified parameters. This constructor initializes the private key, public key, and account address for the signer.
The constructor arguments for the Ed25519Signer.
Sign the given message using the account's Ed25519 private key.
The message to be signed in HexInput format.
Signature - The resulting signature of the signed message.
Sign the given transaction using the available signing capabilities. This function helps ensure that the transaction is properly authenticated before submission.
The transaction to be signed.
Signature - The resulting signature for the transaction.
Sign a transaction using the account's Ed25519 private key. This function returns an AccountAuthenticator that contains the signature of the transaction along with the account's public key.
The raw transaction to be signed.
An AccountAuthenticator containing the signature and the public key.
Sign a message using the account's Ed25519 private key. This function returns an AccountAuthenticator containing the signature along with the account's public key.
The signing message, represented as hexadecimal input.
An AccountAuthenticator containing the signature and the account's public key.
Verify the given message and signature with the public key.
The arguments for verifying the signature.
A boolean indicating whether the signature is valid.
Static
fromDerives an Ed25519 account using a specified BIP44 path and mnemonic seed phrase.
The arguments for deriving the account.
Static
generateGenerates a new Ed25519 account using a randomly generated private key. This function is useful for creating a signer that can be used for cryptographic operations.
The newly generated Ed25519 account.
Represents an Ed25519 account that provides signing capabilities through an Ed25519 private key. This class allows for the creation of accounts, signing messages and transactions, and verifying signatures.
Note: Generating an instance of this class does not create the account on-chain.