This is a snippet of the current workflow.
let list_response = kmd.list_wallets()?;
let wallet_id = match list_response
.wallets
.into_iter()
.find(|wallet| wallet.name == "unencrypted-default-wallet")
{
Some(wallet) => wallet.id,
None => return Err("Wallet not found".into()),
};
let init_response = kmd.init_wallet_handle(&wallet_id, "")?;
let wallet_handle_token = init_response.wallet_handle_token;
println!("Wallet Handle: {}", wallet_handle_token);
This is a snippet of the current workflow.