create

fun create(scheme: SignatureScheme = SignatureScheme.ED25519): Account

Creates a new account using the specified signature scheme.

Return

The new account.

Parameters

scheme

The signature scheme to use. Defaults to ED25519.

Throws

If the specified signature scheme is not supported.