Generates an Ed25519 keypair to be used as an account signer.
createSigner();
function createEd25519Keypair(): Promise<Ed25519Keypair>;
let returnType: { privateKey: Hex; publicKey: Hex };
A promise resolving to the generated keypair.