casper_rust_wasm_sdk::helpersFunction secret_key_generate
source pub fn secret_key_generate() -> Result<SecretKey, Box<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.