import
Imports an account using the provided private key and signature scheme.
Return
The imported account.
Parameters
The private key of the account.
The signature scheme to use. Defaults to ED25519.
Throws
If the specified signature scheme is not supported.
Imports an account using the provided mnemonic phrase and signature scheme.
Return
The imported account.
Parameters
The mnemonic phrase of the account or the private key. And in which case, the private key is expected to be in the format of a Bech32 encoded string.
The signature scheme to use. Defaults to ED25519.
Throws
If the specified signature scheme is not supported.
Imports an account using the provided list of mnemonic phrases and signature scheme.
Return
The imported account.
Parameters
The list of mnemonic phrases of the account.
The signature scheme to use. Defaults to ED25519.
Throws
If the specified signature scheme is not supported.
Imports an account using the provided private key.
Return
The imported account.
Parameters
The private key of the account.
Throws
If the specified signature scheme is not supported.