Companion

object Companion

Functions

Link copied to clipboard
fun create(scheme: SignatureScheme = SignatureScheme.ED25519): Account

Creates a new account using the specified signature scheme.

Link copied to clipboard
fun import(privateKey: PrivateKey): Account

Imports an account using the provided private key.

fun import(privateKey: ByteArray, scheme: SignatureScheme = SignatureScheme.ED25519): Account

Imports an account using the provided private key and signature scheme.

fun import(str: String, scheme: SignatureScheme = SignatureScheme.ED25519): Account

Imports an account using the provided mnemonic phrase and signature scheme.

fun import(phrases: List<String>, scheme: SignatureScheme = SignatureScheme.ED25519): Account

Imports an account using the provided list of mnemonic phrases and signature scheme.