Skip to main content
Generates a new Ed25519 keypair. Supply a hex-encoded seed for deterministic generation (useful for testing or key recovery) or omit it for a random keypair.
The private key is returned in plaintext over the gRPC connection. Use TLS in production. Never log or store the private key in an insecure location.

Request

Hex-encoded string (optional)
Optional. 32-byte hex-encoded seed for deterministic keypair generation. If omitted, a cryptographically random keypair is generated.

Response

KeyPair (object)
The generated keypair. See KeyPair for field definitions.

Code Examples