Abstract
Static
Generates a local key pair without creating an account or saving credentials.
Key algorithm: ed25519, secp256k1, or ml-dsa-65 (case-insensitive).
ed25519
secp256k1
ml-dsa-65
Random KeyPair based on the curve
Creates a key pair from an encoded key string.
Curve-prefixed Base58 secret key, such as ed25519:....
ed25519:...
The key pair created from the encoded key string.
If the prefix, encoding, or key material is invalid.
Generates a local key pair without creating an account or saving credentials.