Create a new keypair instance. Generate random keypair if no Ed25519Keypair is provided.
ed25519 keypair
The public key for this keypair
The raw secret key for this keypair
Create a keypair from a raw secret key byte array.
This method should only be used to recreate a keypair from a previously generated secret key. Generating keypairs from a random seed should be done with the Keypair.fromSeed method.
secret key byte array
Generate a keypair from a 32 byte seed.
seed byte array
Generate a new random keypair
Generated using TypeDoc
An account keypair used for signing transactions.