Interface CreateEd25519AccountFromPrivateKeyArgs

Arguments for creating an Ed25519Account from an Ed25519PrivateKey. To use the SingleKey authentication scheme, set legacy to false.

The private key used to create the account.

Optional address for the account.

Indicates whether to use legacy authentication (default is true).

interface CreateEd25519AccountFromPrivateKeyArgs {
    address?: AccountAddressInput;
    legacy?: true;
    privateKey: Ed25519PrivateKey;
}

Properties

legacy
privateKey: Ed25519PrivateKey