Function casper_rust_wasm_sdk::helpers::secret_key_generate

source ·
pub fn secret_key_generate() -> Result<SecretKey, SdkError>
Expand description

Generates a secret key using the Ed25519 algorithm.

§Returns

A Result containing the generated secret key or an error if the generation fails.

§Errors

Returns an SdkError if the secret key generation fails.