Create Supra Accounts
How to create new and import existing accounts.
How to create new and import existing accounts.
Create a new supra account or create one from the provided private key.
If no privateKeyBytes
parameter is provided, a new account will be generated.
Parameters
privateKeyBytes
Uint8Array
address
MaybeHexString
Returns
Create a new SupraAccount from mnemonic.
Parameters
path
string
mnemonics
string
Returns
The SupraAccount class allows you to generate new accounts, import private key, or derive from mnemonics.