Join Nostr
2026-04-03 11:53:16 UTC

examples/frost_mailbox_post.rs on Nostr: #[cfg(feature = "nostr")] fn main() -> Result<(), Box<dyn std::error::Error>> { ...

#[cfg(feature = "nostr")]
fn main() -> Result<(), Box<dyn std::error::Error>> {
get_file_hash_core::frost_mailbox_logic::simulate_frost_mailbox_post_signer()
}
#[cfg(not(feature = "nostr"))]
fn main() {
println!("This example requires the 'nostr' feature. Please run with: cargo run --example frost_mailbox_post --features nostr");
}