Ed25519Account

class Ed25519Account(val privateKey: Ed25519PrivateKey, val address: AccountAddressInput? = null) : Account

Signer implementation for the Ed25519 authentication scheme. This extends an Ed25519Account by adding signing capabilities through an Ed25519PrivateKey.

Note: Generating a signer instance does not create the account on-chain.

Constructors

Link copied to clipboard
constructor(privateKey: Ed25519PrivateKey, address: AccountAddressInput? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var accountAddress: AccountAddress

Account address associated with the account

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var publicKey: Ed25519PublicKey

Public key associated with the account

Link copied to clipboard
open override val signingScheme: SigningScheme

Signing scheme used to sign transactions

Functions

Link copied to clipboard
open override fun sign(message: HexInput): Signature

Sign the given message with the private key.

Link copied to clipboard

Sign a message using the available signing capabilities.

Link copied to clipboard
open override fun toString(): String