mostro 0.17.5

Lightning Network peer-to-peer nostr platform
1
2
3
4
5
6
7
8
9
10
11
use mostro_core::error::MostroError;

pub fn hold_invoice_description(
    order_id: &str,
    fiat_code: &str,
    fiat_amount: &str,
) -> Result<String, MostroError> {
    Ok(format!(
        "Escrow amount Order #{order_id}: SELL BTC for {fiat_code} {fiat_amount} - It WILL FREEZE IN WALLET. It will release once you release. It will return if buyer does not confirm the payment"
    ))
}