uniffi_lipalightninglib

Function generate_secret

source
pub fn generate_secret(passphrase: String) -> Result<Secret, SimpleError>
Expand description

Generate a new mnemonic with an optional passphrase. Provide an empty string to use no passphrase.