pub async fn gift_wrap_single_layer_with_kind<T>(
_signer: &T,
recipient: &PublicKey,
plaintext: &str,
gift_wrap_kind: u16,
) -> Result<Event>where
T: NostrSigner,Expand description
Create a single-layer NIP-44 gift wrap using the provided outer event kind.
Only ContextVM’s supported persistent (1059) and ephemeral (21059) gift-wrap
kinds are accepted here.