Create a new Ed25519 keypair instance. Generate random keypair if no Ed25519Keypair is provided.
Optional
keypair: Ed25519KeypairDataEd25519 keypair
Get the key scheme of the keypair ED25519
The public key for this Ed25519 keypair
Signs provided transaction by calling signWithIntent()
with a TransactionData
provided as intent scope
Sign messages with a specific intent. By combining the message bytes with the intent before hashing and signing, it ensures that a signed message is tied to a specific purpose and domain separator is provided
Static
deriveDerive Ed25519 keypair from mnemonics and path. The mnemonics must be normalized and validated against the english wordlist.
If path is none, it will default to m/44'/784'/0'/0'/0', otherwise the path must be compliant to SLIP-0010 in form m/44'/784'/{account_index}'/{change_index}'/{address_index}'.
Optional
path: stringStatic
deriveDerive Ed25519 keypair from mnemonicSeed and path.
If path is none, it will default to m/44'/784'/0'/0'/0', otherwise the path must be compliant to SLIP-0010 in form m/44'/784'/{account_index}'/{change_index}'/{address_index}'.
Optional
path: stringStatic
fromCreate a Ed25519 keypair from a raw secret key byte array, also known as seed. This is NOT the private scalar which is result of hashing and bit clamping of the raw secret key.
secret key byte array
Optional
options: { Optional
skiperror if the provided secret key is invalid and validation is not skipped.
Static
generateGenerate a new random Ed25519 keypair
An Ed25519 Keypair used for signing transactions.