Function ergo::ergo_lib_wallet_from_mnemonic
source ยท #[no_mangle]
pub unsafe extern "C" fn ergo_lib_wallet_from_mnemonic(
mnemonic_phrase: *const c_char,
mnemonic_pass: *const c_char,
wallet_out: *mut WalletPtr,
) -> ErrorPtr
Expand description
Create Wallet
instance loading secret key from mnemonic
Returns Err if a DlogSecretKey cannot be parsed from the provided phrase