LocalSigningKeyInterface

An exportable Ethereum signing key. Only explicit export methods reveal its private key.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend override fun identity(): PublicIdentity
Link copied to clipboard
abstract suspend override fun kind(): SignerKind
Link copied to clipboard
abstract suspend override fun sign(request: SigningRequest): Signature
Link copied to clipboard
abstract fun toBytes(): ByteArray

Export a copy of the private key. Store it securely; it controls the account.

Link copied to clipboard
abstract fun toHex(): String

Export the private key as lowercase, 0x-prefixed hex. Store it securely.