- generateKeyPair(raw): {
publicKey: Buffer;
secretKey: Buffer;
}
-
Returns {
publicKey: Buffer;
secretKey: Buffer;
}
Key pair
-
publicKey: Buffer
-
secretKey: Buffer
- generateKeyPair(raw?): {
publicKey: AccountAddress;
secretKey: string;
}
-
Returns {
publicKey: AccountAddress;
secretKey: string;
}
Generate a random ED25519 keypair